Page 1 of 1

Resuming Live Streams

PostPosted: Fri Mar 30, 2012 1:11 am
by CraigD
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?

Re: Resuming Live Streams

PostPosted: Fri Mar 30, 2012 12:25 pm
by zip
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.

Re: Resuming Live Streams

PostPosted: Sat Mar 31, 2012 5:49 pm
by CraigD
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

Re: Resuming Live Streams

PostPosted: Sat Mar 31, 2012 6:04 pm
by jhb50
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?

Re: Resuming Live Streams

PostPosted: Sun Apr 01, 2012 6:01 pm
by zip
seems weird, especially for live streams, to keep any kind of player reference

Re: Resuming Live Streams

PostPosted: Sun Apr 01, 2012 9:28 pm
by CraigD
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.

Re: Resuming Live Streams

PostPosted: Tue Apr 10, 2012 11:46 am
by zip
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?

Re: Resuming Live Streams

PostPosted: Sat Apr 14, 2012 11:35 am
by CraigD
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

Re: Resuming Live Streams

PostPosted: Sat Apr 14, 2012 8:14 pm
by zip
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.

Re: Resuming Live Streams

PostPosted: Sat Apr 14, 2012 10:36 pm
by CraigD
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

Re: Resuming Live Streams

PostPosted: Sun Apr 15, 2012 12:04 am
by zip
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.

Re: Resuming Live Streams

PostPosted: Mon Apr 16, 2012 7:13 pm
by CraigD
I'll give that a shot then.