Reastrem only if client connected?

About encoding, codec settings, muxers and filter usage
Mix112
New Cone
New Cone
Posts: 3
Joined: 19 Jul 2014 17:25

Reastrem only if client connected?

Postby Mix112 » 26 Jul 2014 08:27

Hello, i am restreaming live video from internet using vlc & vlm, it works great!

But its always downloading stream even if no client is connected!
Is it possible to configure vlc so it will start to restream only if client is connected?

My config is as follows:

Code: Select all

new channel2 broadcast enabled setup channel2 input http://someaddresss/stream.m3u8 setup channel2 output #http{mux=ts,dst=192.168.1.165,port=8080,sdp=sap://,name="Channel2"} control channel2 play

How could i achive that if no client connected to 192.168.1.165:8080 then server wont use bandwich to download stream.m3u8



Regards
M

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

Re: Reastrem only if client connected?

Postby Rémi Denis-Courmont » 26 Jul 2014 10:25

That's not supported currently.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests