Void wrote: > We have a secure application on the Internet that you have to log into > to use. We want to be able to display a video from a streaming media > server via this application. The streaming media server is behind a > firewall so I want my Rails app to proxy the stream to the user so > that the stream is not available unless you log in. > > I know I can use send_file to just show the video file, but I prefer > to be able to use the streaming server so that the user does not have > to wait for the file to download before it starts to play.
You could do this by having the action read from a streaming Net::HTTP get, while writing the fragments to Rails' output buffer. Have you also looked into adding a one-time authentication key to URLs passed to the streaming server? -- Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---