is there any helpful reference or tutorial on how to set up an RTSP Stream that will work for the android version of Xibo?
The way i understand it, you can set up an stream on your local network using VLC (unicast, transcoding for android) and then use the “Local Video” module to display it using the rtsp:// link - unfortunately, this doesn’t work the way it should for now. I’m not sure if the problem is in the stream we have set up or in the Xibo region…
The tutorials and blogs i found online were not specific enough, or the hardware setup was completely different.
Is there some place you can point us to? Some Do’s and Don’ts maybe?
It needs to be a unicast RTSP stream with a codec that Android can display - ie webm or H264. Multicast streams are not supported as Android has no support for it.
Beyond that it’s just a case of entering the stream URL in the Local Video module as detailed here:
I think probably the next step if that doesn’t work is to detail what you have done (ie how you have your stream setup and what the Android device does).
6.Add IP to of my machine to the code (DHCP)
7. Link is now: rtsp://192.168.xxx.xx:8554/
8. In Xibo, i added a “Local Video” and used the rtsp link above
Could a firewall or something else be causing problems or is my general approach wrong somewhere?
I’m aware that this might not be a Xibo issue - so i’m grateful for any help in setting this up… thanks!
Certainly if your Windows PC is running with the firewall on that could be preventing the player connecting to VLC’s stream. Have you tried turning the firewall on your Windows PC off to test?
You could also try using an existing stream URL:
rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov
What device is this? That stream is correctly formatted for Android with H264 encoding so should work. The error logged is the Android OS telling us that it isn’t able to decode the video stream which suggests your device is missing that capability.
Error in Register: null just means that the last time the Player tried to connect to the CMS there was a connection error (perahaps a wifi dropout etc). It will retry on the next collection, so unless it stays like that over an extended period then that’s nothing to worry about.
In this example, i’m using an Amazon FireTV - H264 is exactly the kind of encoding the FireTV can use… i played back mp4 h264 files before, so it shouldn’t be a problem. I have no other device to test this right now, but i could try if it persists.
Is there anything else or any other way i could stream to the Xibo Client app?
It really depends how the firmware on the device interacts. You say the FireTV can definitely play these files, but if the Amazon video player on the device uses its own codecs rather than ones built in to Android then the statement you make isn’t true at all.
I don’t have availability at the moment to test this, but I did write the guide with RTSP streaming from an H264 CCTV camera and that works fine, as can be evidenced from the screenshots in the guide.
When I get a chance I’ll try with a VLC stream and let you know the settings I use.
I’m well aware that the Fire TV is not exactly the supported kind of android device - but i was assuming that if the playback of a file on the device works fine, the streaming of the exact same file should work as well. My bad…
I will try to find out which codecs can or can’t be use and how to possibly circumvent this problem - i will report back as this might be helpful for other users.
Thanks a lot @alex and @dan for the information - if anything turns up, i’d be happy if you let me know!
No problem - it is an obvious thing to assume and we wish it were the case!! We hope to spend some time soon writing a new video player component which tries to provide more consistent support across devices (or at the very least some more reasonable error messages!). Unfortunately it is often the case that the actual decoding has to be done by the hardware and therefore support has to be in the firmware (including extraction from the container, be that file or stream, etc).
Hi @solane - thanks a lot for the heads up… Unfortunately, the live streaming capability is currently not fully available in Germany, due to license restrictions.
I will have this in mind as a possible solution though… thank you!