Problem with client side when server side is paused (telnet)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
JannoSK
New Cone
New Cone
Posts: 2
Joined: 07 Jun 2012 10:50

Problem with client side when server side is paused (telnet)

Postby JannoSK » 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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15323
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Problem with client side when server side is paused (tel

Postby Rémi Denis-Courmont » 07 Jun 2012 12:12

You can't do that. A server stream should never be paused while it is actively watched.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

JannoSK
New Cone
New Cone
Posts: 2
Joined: 07 Jun 2012 10:50

Re: Problem with client side when server side is paused (tel

Postby JannoSK » 07 Jun 2012 14:25

Hi Remi.

Thanks for your quick response.

I thought. But I found another topic which very interested me.
viewtopic.php?f=2&t=100357

Mainly this part:
modules/demux/live555.cpp
look for "no data received in 10s, eof ?"

Is this different problem or when I change this interval it could help me ?
I need to control only server side with commands like pause, resume, stop, play because the core of my work includes watching the same stream with group of people. They can control this stream. So when one user pause stream, this stream must be paused for everyone who received it. This is not possible on the client side.

I dont know other solution how to do that. Is there another solution from your opinion ?

Thanks and Regards.

Janno


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 84 guests