home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
Pressing record while watching live tv forces to use a second tuner
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 1213300" data-attributes="member: 82144"><p>Hello again</p><p></p><p>I think a few things need to be clarified. Most importantly...</p><p></p><p>1. The two virtual DVB-IP tuners that you've configured in TV Server Configuration aren't associated with the Octopus Net's physical tuners. Actually TV Server has no idea that any physical tuners exist. When TV Server tunes a channel for live TV using virtual tuner 2, the ON automatically chooses which physical tuner to use based on it's own internal logic. It may choose the first physical tuner... or it may choose the second one. Again I emphasize: TV Server is completely unaware of these details. From TV Server's perspective it's just receiving streams.</p><p></p><p>2. The virtual tuners in TV Server are meant to represent the number of streams you can receive simultaneously. Viewing live TV is one stream; recording a channel is a second stream... <em>even if that channel is already being viewed live. </em>This is a unique and important difference for TV Server's DVB-IP tuner handling when compared to handling for other tuner types.</p><p></p><p></p><p>Just to point out...</p><p>There are two possible outcomes from the perspective of the ON and physical tuner usage:</p><ol> <li data-xf-list-type="ol">If the development laptop and Kodi setup request channels that are broadcast on the same frequency, the ON should use only one physical tuner. It could be the first tuner or the second tuner; that decision is up to the ON.<br /> </li> <li data-xf-list-type="ol">On the other hand, if the development laptop and Kodi setup request channels that are broadcast on different frequencies, the ON must use both physical tuners.</li> </ol><p></p><p></p><p>The best way to understand what happens here is to think in terms of streams.</p><p></p><p>You've configured two virtual tuners, so the total stream capacity is two streams.</p><p>At the time you press record, TV Server is using one stream (virtual tuner 2) for live TV (NPO 1 HD). That means one stream is used, and one stream (virtual tuner 3) available.</p><p>As explained above, starting a recording requires a new stream. TV Server thinks that should be fine because there's one stream available.</p><p>So, TV Server tries to start the stream (using virtual tuner 3). This fails because the ON returns an error:</p><p></p><p></p><p>According to the <a href="http://www.satip.info/resources" target="_blank">SAT>IP specifications</a>, error code 404 means:</p><p></p><p></p><p>This is weird because TV Server didn't send a request with a streamID. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /></p><p></p><p></p><p>Anyway, based on your <a href="https://www.team-mediaportal.com/wiki/display/MediaPortal1/User+-+Priorities" target="_blank">user priority config</a>, TV Server thinks recording is more important than live TV. Therefore it stops your live TV stream in order to try to make it possible to perform the recording. This is successful. That's why you saw your live TV stream stop and the recording start successfully.</p><p></p><p></p><p>This comes from the ON error mentioned above.</p><p></p><p></p><p>Again I emphasize: TV Server is completely unaware of the existence of the physical tuners. This means that it isn't possible for TV Server to intentionally "try to start the second tuner" or use "the same tuner" for two streams. TV Server just says "please tune channel X". If the request succeeds, all is good; if it fails... well, it's not TV Server's fault.</p><p></p><p></p><p>The ON can decide to use the same physical tuner to provide streams for KODI and TV Server.</p><p></p><p></p><p>Based on the error in the log files, I think the limitation comes from the Octopus Net.</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1213300, member: 82144"] Hello again I think a few things need to be clarified. Most importantly... 1. The two virtual DVB-IP tuners that you've configured in TV Server Configuration aren't associated with the Octopus Net's physical tuners. Actually TV Server has no idea that any physical tuners exist. When TV Server tunes a channel for live TV using virtual tuner 2, the ON automatically chooses which physical tuner to use based on it's own internal logic. It may choose the first physical tuner... or it may choose the second one. Again I emphasize: TV Server is completely unaware of these details. From TV Server's perspective it's just receiving streams. 2. The virtual tuners in TV Server are meant to represent the number of streams you can receive simultaneously. Viewing live TV is one stream; recording a channel is a second stream... [I]even if that channel is already being viewed live. [/I]This is a unique and important difference for TV Server's DVB-IP tuner handling when compared to handling for other tuner types. Just to point out... There are two possible outcomes from the perspective of the ON and physical tuner usage: [LIST=1] [*]If the development laptop and Kodi setup request channels that are broadcast on the same frequency, the ON should use only one physical tuner. It could be the first tuner or the second tuner; that decision is up to the ON. [*]On the other hand, if the development laptop and Kodi setup request channels that are broadcast on different frequencies, the ON must use both physical tuners. [/LIST] The best way to understand what happens here is to think in terms of streams. You've configured two virtual tuners, so the total stream capacity is two streams. At the time you press record, TV Server is using one stream (virtual tuner 2) for live TV (NPO 1 HD). That means one stream is used, and one stream (virtual tuner 3) available. As explained above, starting a recording requires a new stream. TV Server thinks that should be fine because there's one stream available. So, TV Server tries to start the stream (using virtual tuner 3). This fails because the ON returns an error: According to the [URL='http://www.satip.info/resources']SAT>IP specifications[/URL], error code 404 means: This is weird because TV Server didn't send a request with a streamID. :S Anyway, based on your [URL='https://www.team-mediaportal.com/wiki/display/MediaPortal1/User+-+Priorities']user priority config[/URL], TV Server thinks recording is more important than live TV. Therefore it stops your live TV stream in order to try to make it possible to perform the recording. This is successful. That's why you saw your live TV stream stop and the recording start successfully. This comes from the ON error mentioned above. Again I emphasize: TV Server is completely unaware of the existence of the physical tuners. This means that it isn't possible for TV Server to intentionally "try to start the second tuner" or use "the same tuner" for two streams. TV Server just says "please tune channel X". If the request succeeds, all is good; if it fails... well, it's not TV Server's fault. The ON can decide to use the same physical tuner to provide streams for KODI and TV Server. Based on the error in the log files, I think the limitation comes from the Octopus Net. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Watch / Listen Media
Television (MyTV frontend and TV-Server)
Pressing record while watching live tv forces to use a second tuner
Contact us
RSS
Top
Bottom