restreamer
restreamer copied to clipboard
Connect to upstream only on demand, when clients connect
I need an extension in Source to edit and add option on demand url remote I do not want it to work directly works on request
example resources "type": "stream", "serve": "/s110.ts", "remote": "http://******************", "ondomond": 1, (/ 1 = yes or 0 = no */)
"ondomond": 1, / 1 = yes downlaod http url after connect user
/ondomand = 0 , downlaod url
So, basically, you want the source to connect only when the first client connects, and disconnect when the last client disconnects. Correct?
yes
Let's see what this will involve:
- Adding the boolean flag to the config easy
- Disabling stream liveness checks when on-demand is active easy
- Adding logic to ignore "connected" state when the flag is true easy
- Adding a communication channels to signal new downstream connections to the upstream client medium
- Adding a channel to singal upstream connection errors to the downstream streamer medium
- Adding connection startup, hold-off and error handling and shutdown to the streamer hard
Seems like a pretty involved feature. I'll have a look but I can't guarantee anything. Pull requests are welcome.
thank you so much
hi bro
Is there anything new .....
No, sorry. Haven't had time to look at this yet.
We are waiting for you my bro
Sorry, I won't be able to work on this feature at the moment. If you want to submit a pull request, please go ahead, though.
I do not think that my request is difficult ?
Hi brother is there anything new?