Problem with client side when server side is paused (telnet)
Posted: 07 Jun 2012 12:00
Hi All,
my vlc version is 1.1.12 and OS is the latest Ubuntu. I configure vlc server which stream some videos via RTSP and is controlling with telnet connection. With telnet I control streaming on server side because I need to stream in broadcast mode. One stream in one time is receiving with o group of users and this receiving must to be simultaneous. This works correct.
I have this kind of problem. When I use telnet connection on server and apply this command on pausing stream (CONTROL channel PAUSE), client side wait a few seconds (less than 4 s) and then closed connection. Because when I pause streaming on server side, no data is received on client side. So I need my connection open and waiting on resume streaming. This is important as I am playing a stream that may be paused for some time. Is there any way to fix this ?
I have following configuration:
Server:
conf. file
new channel1 broadcast enabled
setup channel1 input /home/output.m2v loop
setup channel1 output #rtp{sdp=rtsp://192.168.56.101:5554/channel1,port=1234,ttl=127}
control channel1 play
I starting vlc with this command:
vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --vlm-conf /home/conf.file --rtsp-host 192.168.56.101:5554
Client:
vlc rtsp://192.168.56.101:5554/channel1
I found following topics on this forum, but there was no answer. I think I have similar problem.
viewtopic.php?f=32&t=60784
viewtopic.php?f=2&t=71324#p236054
I tried fix this with timeouts (rtp-timeout, rtsp-timeout, ipv4-timeout, netsync-timeout), but nothing happend.
Can anyone help me ?
Thanks in advance for all assistance.
my vlc version is 1.1.12 and OS is the latest Ubuntu. I configure vlc server which stream some videos via RTSP and is controlling with telnet connection. With telnet I control streaming on server side because I need to stream in broadcast mode. One stream in one time is receiving with o group of users and this receiving must to be simultaneous. This works correct.
I have this kind of problem. When I use telnet connection on server and apply this command on pausing stream (CONTROL channel PAUSE), client side wait a few seconds (less than 4 s) and then closed connection. Because when I pause streaming on server side, no data is received on client side. So I need my connection open and waiting on resume streaming. This is important as I am playing a stream that may be paused for some time. Is there any way to fix this ?
I have following configuration:
Server:
conf. file
new channel1 broadcast enabled
setup channel1 input /home/output.m2v loop
setup channel1 output #rtp{sdp=rtsp://192.168.56.101:5554/channel1,port=1234,ttl=127}
control channel1 play
I starting vlc with this command:
vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --vlm-conf /home/conf.file --rtsp-host 192.168.56.101:5554
Client:
vlc rtsp://192.168.56.101:5554/channel1
I found following topics on this forum, but there was no answer. I think I have similar problem.
viewtopic.php?f=32&t=60784
viewtopic.php?f=2&t=71324#p236054
I tried fix this with timeouts (rtp-timeout, rtsp-timeout, ipv4-timeout, netsync-timeout), but nothing happend.
Can anyone help me ?
Thanks in advance for all assistance.