On Jan 7, 2014, at 10:58 AM, Emílio Yaakov wrote: > I want to provide streaming audio from my rails application, but the > files are not in my server, they are in others servers and I don't have > folders access, just http request. > My biggest concern is in places that limit download files up to 10mb, > for example. > I tried using Icecast and Red5, but they need the files are on my > server. > Any suggestions? > > Thanks in advance.
If you're allowed to access the files, and don't mind storing them locally (or in S3), I would try cacheing them on your server. You can do this very easily with the Dragonfly or CarrierWave asset toolkits -- they both have a method built-in that will allow you to grab a file by URL and save it as an attachment to your regular model. There's a Railscast about Carrierwave. Walter > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/b7afe6b6f4e0242cd3d99d0c480926fb%40ruby-forum.com. > For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/DD61A177-B0EC-4C4D-9BCF-79AF5A222A13%40wdstudio.com. For more options, visit https://groups.google.com/groups/opt_out.