I’m developing a site with serves several videos online, using the Catalyst (A perl MVC framework) and the JWplayer, and I need a stable way of stream the videos to the client player with the capability of start the video from a random point.
I searched the web for some ways to do it but I cannot find a simple way of implementing it in Catalyst (RTMP or HTTP Pseudostreaming). The only simple example that i found was a old Catalyst script streaming an MP3 (http://dev.catalyst.perl.org/repos/Catalyst/trunk/examples/Streaming/lib/Streaming.pm) but I didn’t know if that will work as expected if I apply that technique to videos.
What would be a good approach to serve online videos in Catalyst/Perl in a non complicated way? Or what is the recommended way to do it?
Thanks guys!
In the end, I use apache with x_send_file plugin to deliver webm videos (using range byte seek) and Amazon cloud front to deliver mp4 videos and streaming with mp4.
Edit:
Ended using a Wowza Streaming Server with a custom plugin to communicate securely with Catalyst. There is no reliable way of streaming video without a dedicated video server, especially for business.