"JayZee73" wrote:
Any status on Onvif?
At the end of August I come back from vacation and I'll try to finish the ONVIF implementation.
I have the rtsp working in my test code (on the computer), but I didn't have time yet to port the code to roku's script. Same with ONVIF. I have to make a note: the rtp code that works is jpeg over rtp and ONVIF compliant cameras must provide JPEG over rtp. What does this mean? It means that if you have a ONVIF compliant camera, it will be easier to add it to the roku application, but the speed of the stream would be probably the same as mjpeg and there will be no sound.
At this point there is no way to make the h.264 stream provided by most IP cameras work directly with roku. Even if I tried to port some code from ffmpeg or other applications it would not work (at least I don't think it will). The scripting language available on roku is way too slow to do something like that. For live streaming roku supports HLS (HTTP Live Streaming) which is not supported by any IP cameras I know of.
I have a way in mind to make everything work, but it will require another piece of hardware, DIY, that the user is responsible for buying and configuring: a Raspberry Pi with some packages made by me.
You'll connect the Pi with my software to your local network and the roku app is going to request from the Pi HLS stream for any camera you may have. The Pi is going to convert on the fly from h.264 rtp stream to HLS so the roku can play it.
I already made part of that work for another project, so I'm confident that it would work well. Of course, this won't be for everyone, as I said this, if implemented, it will be a DIY project. Here is the other project I did to test streaming on the Pi:
https://github.com/e1ioan/RaspberryPi-A ... eStreaming
https://github.com/e1ioan/
http://rokucam.com