can LC play RTSP or other options for livestreaming?
Posted: Sun Feb 14, 2021 6:57 pm
Hello all,
Any ideas how to play Real Time Streaming Protocol (RTSP) in Android's native player? I have a URL "rtsp://xxx.yyy.zzz" for an IP camera. I have tested the RTSP stream over the internet with both a VLC player on windows and a Android App named IP Cam Viewer and another named RTSP Player. I can successfully check that my IP camera is correctly streaming over the Internet for both devices but I fail to display it in LiveCode. It seems RTSP does work in LiveCode for Mac in the native player object from reading other posts. I'm trying this code:
But there is no stream. I even disabled the user/password check to simplify it. As for the standalone properties, I enabled Internet permission and Hardware Acceleration. I'm deploying to a real Android device. Any ideas?
Thanks
Any ideas how to play Real Time Streaming Protocol (RTSP) in Android's native player? I have a URL "rtsp://xxx.yyy.zzz" for an IP camera. I have tested the RTSP stream over the internet with both a VLC player on windows and a Android App named IP Cam Viewer and another named RTSP Player. I can successfully check that my IP camera is correctly streaming over the Internet for both devices but I fail to display it in LiveCode. It seems RTSP does work in LiveCode for Mac in the native player object from reading other posts. I'm trying this code:
Code: Select all
...
mobileControlCreate "player", "myPlayer"
mobileControlSet "myPlayer", "filename", "rtsp://xxx.yyy.zzz"
mobileControlDo "myPlayer", "play"
...
Thanks