I'm trying to stream videos on demand to my android with telnet interface, but I have a problem.
If I setup the output as #rtp{sdp=rtsp://my_ip:5554/test.sdp} it works as broadcast, and if I not set this option, it doesn't work on android.
Launch on server:
Code: Select all
vlc -vvv --color -I telnet --telnet-password videolan --rtsp-tcp --rtsp-host 10.166.105.128:5554
Code: Select all
telnet localhost 4212
Trying ::1...
Connected to localhost.
Escape character is '^]'.
VLC media player 1.1.2 The Luggage
Password:
Welcome, Master
> new test vod
new
> setup test input /home/pepe/belive/vod/test.mp4
setup
> setup test output #rtp{sdp=rtsp://10.166.105.128:5554/test.sdp}
setup
> setup test enabled
Code: Select all
rtsp://10.166.105.128:5554/test.sdp