Skip to content

RTSP over SSL [RTSPS] Support on Android VLC

Hi

How can I enable RTSPS support on Android libvlc. Whenever I try to play a RTSPS stream, I get the following error.

06-01 15:53:24.044 26763-6978/com.hero.iot D/VLC: [c6b1b830/1b42] libvlc input: rtsps://root:root@192.168.1.74:443/live/testt' gives access rtsps' demux any' path root:root@192.168.1.74:443/live/testt' [c6ee4150/1b42] libvlc input source: creating demux: access='rtsps' demux='any' location='root:root@192.168.1.74:443/live/testt' file='(null)' [c6ee4290/1b42] libvlc demux: looking for access_demux module matching "rtsps": 6 candidates

06-01 15:53:24.045 26763-6978/com.hero.iot D/VLC: [c6ee4290/1b42] libvlc demux: no access_demux modules matched [c60f6470/1b42] libvlc stream: creating access: rtsps://root:root@192.168.1.74:443/live/testt [c60f6470/1b42] libvlc stream: looking for access module matching "rtsps": 20 candidates [c60f6470/1b42] libvlc stream: no access modules matched

06-01 15:53:24.045 26763-6978/com.hero.iot E/VLC: [c6b1b830/1b42] libvlc input: Your input can't be opened [c6b1b830/1b42] libvlc input: VLC is unable to open the MRL 'rtsps://root:root@192.168.1.74:443/live/testt'. Check the log for details.

Will compiling the avcodec, avformat libs with openssl fix it for me? Or are there any changes required in the framework as well?

Thanks Nitesh

Edited by Nitesh Arora