Stream current channel of specific adapter?
Added by Yannick Gardt almost 7 years ago
Hi,
is it possible to do eg something like this? http://tvheadend:9981/stream/dvb/adapter0/
so the channel currently active on this adapter gets streamed to browser? and whenever i switch the channel the stream changes too?
or is it possible (per api) to get the current channel stream url?
Thank you :)
Replies (3)
RE: Stream current channel of specific adapter?
-
Added by Mark Clarkstone almost 7 years ago
Yannick Gardt wrote:
Hi,
is it possible to do eg something like this? http://tvheadend:9981/stream/dvb/adapter0/
so the channel currently active on this adapter gets streamed to browser? and whenever i switch the channel the stream changes too?
or is it possible (per api) to get the current channel stream url?Thank you :)
(depending on tuner) the tuner may be streaming more than one service from a mux so what you want isn't possible. There is nothing stopping you streaming a complete mux though.
RE: Stream current channel of specific adapter?
-
Added by Yannick Gardt almost 7 years ago
So is it possible per ApI Request to get a list of currently running Muxes on one device (which in my case would be only one)?
RE: Stream current channel of specific adapter?
-
Added by Hyperion Moderkart almost 7 years ago
Check the service call of the API:
https://github.com/tvheadend/tvheadend/blob/master/src/api/api_service.c