FAQ  •  Register  •  Login

Resuming Live Streams

<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Fri Mar 30, 2012 1:11 am

Resuming Live Streams

There seems to be an issue in 0.6.2 (and maybe 0.6.1 for that matter) where by if you stop a live stream and then go back to resume it, it starts from the beginning (ie. the point at which it started the first time it was played). This doesn't always seem to happen, but does happen quite often. I would expect that the intended behaviour for live streams would be to start "live" always. Anyone else experience this?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Mar 30, 2012 12:25 pm

Re: Resuming Live Streams

That should be the case, unless your TV caches the stream while being paused. Serviio actually disables any ffwd/rew operations on live streams, so pause should be disabled too in my opinion. The fact your device enables this tells me it's not properly dealing with what Serviio tells it to do.
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Sat Mar 31, 2012 5:49 pm

Re: Resuming Live Streams

I think I was a little vague about what I meant. I wasn't referring to resume from pause. I'm referring to if I turn off my device a and then come back quite a while later to watch the same stream it often picks up where I stopped watching but I would expect it to go live
<<

jhb50

DLNA master

Posts: 2843

Joined: Thu Jun 30, 2011 9:32 pm

Post Sat Mar 31, 2012 6:04 pm

Re: Resuming Live Streams

I sense with rtmp that the server knows about each connection and so perhaps its possible it can make the decision on what to serve up when you connect or reconnect. I say this because I see lots of references to servers getting overloaded which would not happen if they were simply dumping their streams to the cloud for anyone to grab. Does this make any sense?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Apr 01, 2012 6:01 pm

Re: Resuming Live Streams

seems weird, especially for live streams, to keep any kind of player reference
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Sun Apr 01, 2012 9:28 pm

Re: Resuming Live Streams

Yeah. I'm able to ffplay the stream on my PC at different times and it always picks up live. I sense this has something to do with Serviio. If I look at /tmp/Serviio I see what appears to be the "cached" stream which is what gets resumed.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Tue Apr 10, 2012 11:46 am

Re: Resuming Live Streams

There should not be any file in the tanscode folder for live streams. Only for local/online VOD content. Liv streams are transcoded to and played from memory cache. Are you using a plugin?
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Sat Apr 14, 2012 11:35 am

Re: Resuming Live Streams

Yes I am using the gamecenter plugin.It initially sets the streams to not live when they are not available (a placeholder is used); they are then changed to live when they become available
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Apr 14, 2012 8:14 pm

Re: Resuming Live Streams

the 'live' attrobute has nothing to do with whether the stream is live or not, it says it's a 'live stream' rather than VOD content. So you should set it to live=true always.
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Sat Apr 14, 2012 10:36 pm

Re: Resuming Live Streams

Thats what I do when the streams are actually live, but there is a time before the streams are available that I return a dummy stream so that the item shows in the renderer. The dummy stream is not live so I set live to false
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Apr 15, 2012 12:04 am

Re: Resuming Live Streams

Yeah, but the live attribute doesn't mean the stream is currently 'live', but it tells Serviio not to store transcoded file on the drive 9as it'd be never ending file) but to use memory instead. I'm not sure now whether changing live attribute later makes any difference, you should set it to true from the beginning.
<<

CraigD

Serviio lover

Posts: 61

Joined: Tue Nov 08, 2011 2:05 pm

Post Mon Apr 16, 2012 7:13 pm

Re: Resuming Live Streams

I'll give that a shot then.

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 33 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.