Kodi Community Forum

Full Version: Multiple Streams from Same MUX
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Forum....

I'm finding that I cannot stream multiple OTA channels from the same mux (e.g.,195.028MHz). Although I have 4 tuners configured with TVHeadend; If I start a stream from channel-4 on one client it will play just fine. But if I begin a stream from channel-5 on the same mux, from a separate client, the stream will only play audio and TVHeadend stream status does not detect a second tuner being used. I cannot replicate this issue when connecting to my HDHR backend, streams play just fine so I'm hoping it's a simple setting modification I've missed.


Is anyone else having this problem? I captured some log info during the time I launched the channel streams. Note the log entry when the second client tries to access a channel from the same mux. The second client is trying to use the same tuner to connect instead of one of the other three.

Code:
2017-06-24 07:28:03.443 http: 192.168.1.247: using ticket 93BDEA41520205BA784A7AFB01882B286117BEF1 for /stream/channel/5ccf84d6695240996b12044358343d43

2017-06-24 07:28:03.443 mpegts: 195.028MHz in ATSC-T Network - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.23)

2017-06-24 07:28:03.443 tvhdhomerun: tuning to auto:195028615

2017-06-24 07:28:03.566 subscription: 0031: "HTTP" subscribing on channel "WSMV Escape", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.23)", network: "ATSC-T Network", mux: "195.028MHz", service: "WSMV Escape", profile="pass", hostname="192.168.1.247", client="MPC-HC"

2017-06-24 07:28:04.744 TS: ATSC-T Network/195.028MHz/WSMV Escape: H264 @ #65 Continuity counter error (total 1)

2017-06-24 07:28:04.996 http: 192.168.1.247: using ticket 93BDEA41520205BA784A7AFB01882B286117BEF1 for /stream/channel/5ccf84d6695240996b12044358343d43

2017-06-24 07:28:04.996 subscription: 0032: "HTTP" subscribing on channel "WSMV Escape", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.23)", network: "ATSC-T Network", mux: "195.028MHz", service: "WSMV Escape", profile="pass", hostname="192.168.1.247", client="MPC-HC"

2017-06-24 07:28:05.034 subscription: 0031: "HTTP" unsubscribing from "WSMV Escape", hostname="192.168.1.247", client="MPC-HC"

2017-06-24 07:28:05.037 subscription: 0032: "HTTP" unsubscribing from "WSMV Escape", hostname="192.168.1.247", client="MPC-HC"

2017-06-24 07:28:05.149 http: 192.168.1.247: using ticket 93BDEA41520205BA784A7AFB01882B286117BEF1 for /stream/channel/5ccf84d6695240996b12044358343d43

2017-06-24 07:28:05.149 mpegts: 195.028MHz in ATSC-T Network - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.23)

2017-06-24 07:28:05.149 tvhdhomerun: tuning to auto:195028615

2017-06-24 07:28:05.506 subscription: 0033: "HTTP" subscribing on channel "WSMV Escape", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.23)", network: "ATSC-T Network", mux: "195.028MHz", service: "WSMV Escape", profile="pass", hostname="192.168.1.247", client="Lavf/57.59.100"

2017-06-24 07:28:54.278 subscription: 0034: "192.168.1.85 [  | Kodi Media Center ]" subscribing on channel "WSMV Cozi", weight: 150, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.23)", network: "ATSC-T Network", mux: "195.028MHz", service: "WSMV Cozi", profile="htsp", hostname="192.168.1.85", username="192.168.1.85", client="Kodi Media Center"

2017-06-24 07:29:41.234 subscription: 0034: "192.168.1.85 [  | Kodi Media Center ]" unsubscribing from "WSMV Cozi", hostname="192.168.1.85", username="192.168.1.85", client="Kodi Media Center"
Well it should use the same tuner. But why you are only getting audio I don't know.
(2017-06-24, 23:30)nickr Wrote: [ -> ]Well it should use the same tuner. But why you are only getting audio I don't know.

Not quite sure I understand your response. How can two separate clients use the same tuner to stream two different channels? Note my screenshot of the four tuners configured on my backend; see the 1st client is streaming a channel using Tuner#1, shouldn't the 2nd client use one of the remaining three if streaming a different channel? However from the 2nd client; if I select a different channel from the same mux (551.028MHz) I will only receive audio and will not connect to one of the remaining three tuners. Per the log I sent, the 2nd client will try and use the same tuner to stream a different channel from the same mux.

Image
If the two channels are on the same mux you only need one tuner to watch them.
(2017-06-25, 03:09)nickr Wrote: [ -> ]If the two channels are on the same mux you only need one tuner to watch them.

Well... I learn something new everyday, I'll look into something different as the cause. When connecting clients to my HDHR backend, two separate tuners are used to stream different channels from the same mux. I figured TVHeadend worked the same way.

Thanks for the info, it seems I'm alone with this problem so far.
I suppose I should have said, that is how it is SUPPOSED to work LOL.
(2017-06-25, 03:34)CpTHOOK Wrote: [ -> ]
(2017-06-25, 03:09)nickr Wrote: [ -> ]If the two channels are on the same mux you only need one tuner to watch them.

Well... I learn something new everyday, I'll look into something different as the cause. When connecting clients to my HDHR backend, two separate tuners are used to stream different channels from the same mux. I figured TVHeadend worked the same way.

Thanks for the info, it seems I'm alone with this problem so far.

You must be using a sub channel from the main channel, in order for that situation happen.. Example, one client is watching the HD channel, say 2.1, anther client is watch a sub channel of the master, ex. 2.3, they will only use ONE tuner. It is not possible for only one tuner to be used if each client is using a different channel, example, client 1 watching channel 4.3 and client 2 watching channel 7.4. One of my channels has the HD master and 5 sub channels, I can have 6 different clients watching each of those 6 channels and only use ONE tuner........

That is an awesome function.
(2017-06-25, 21:15)clarkss12 Wrote: [ -> ]One of my channels has the HD master and 5 sub channels, I can have 6 different clients watching each of those 6 channels and only use ONE tuner........

That is an awesome function.

yup.
You can even watch the same channel on three different clients at the same time, pause & resume either of them without harming the other two.
And in parallel do a recording on the same mux (different or same channel in that mux) without using another tuner.

I'm pretty sure, that there is some limit to this, but I didn't see it yet.