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
Development
General Development (no feature request here!)
TVServer switch channels without timeshift buffer
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="reneblue" data-source="post: 759330" data-attributes="member: 71120"><p>im working on a plugin but i have a problem when switching to channels</p><p></p><p>the first time i switch the channel using </p><p></p><p>TvControl.RemoteControl.Instance.StartTimeShifting(ref user, Int32.Parse(channelId), out card);</p><p></p><p>the TVServer starts timeshifting my choosen channel and i can use vlc player to show the tv stream</p><p></p><p>but the second time i switch the channel the vlc shows some seconds the old channel and then switching to the new choosen one</p><p></p><p>i mimized the time during channel switching by modifying the TimeShifting config of TVServer</p><p></p><p>i tried to stop the timeshifting using </p><p></p><p>TvControl.RemoteControl.Instance.StopTimeShifting(ref user, TvControl.TvStoppedReason.KickedByAdmin);</p><p>or </p><p>TvControl.VirtualCard card = server.CardByIndex(user, 2);</p><p>card.StopTimeShifting();</p><p></p><p>before start timeshifting but with the same result</p><p></p><p>I'm wondering about that with the mediaportal Client when i switch the channel there is no timshift buffer delay the tv stream starts just when i switch the channel</p><p></p><p>my question is how can i clear the timeshift buffer or is there another way to switch the channel?</p><p></p><p>I also tried to find in the source code of mediaportal client how the client does channel switching but didnt find it :-(</p><p></p><p>thanks for any suggestions</p></blockquote><p></p>
[QUOTE="reneblue, post: 759330, member: 71120"] im working on a plugin but i have a problem when switching to channels the first time i switch the channel using TvControl.RemoteControl.Instance.StartTimeShifting(ref user, Int32.Parse(channelId), out card); the TVServer starts timeshifting my choosen channel and i can use vlc player to show the tv stream but the second time i switch the channel the vlc shows some seconds the old channel and then switching to the new choosen one i mimized the time during channel switching by modifying the TimeShifting config of TVServer i tried to stop the timeshifting using TvControl.RemoteControl.Instance.StopTimeShifting(ref user, TvControl.TvStoppedReason.KickedByAdmin); or TvControl.VirtualCard card = server.CardByIndex(user, 2); card.StopTimeShifting(); before start timeshifting but with the same result I'm wondering about that with the mediaportal Client when i switch the channel there is no timshift buffer delay the tv stream starts just when i switch the channel my question is how can i clear the timeshift buffer or is there another way to switch the channel? I also tried to find in the source code of mediaportal client how the client does channel switching but didnt find it :-( thanks for any suggestions [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
TVServer switch channels without timeshift buffer
Contact us
RSS
Top
Bottom