maddox / wallop

📺 A transcoding server for your HDHomeRun Prime
167 stars 41 forks source link

Viewing Timeout? #43

Closed mhohman closed 8 years ago

mhohman commented 9 years ago

Is is possible to have a viewing timeout? I've noticed over the course of a few weeks we have 1 or 2 sessions that just keep going. I'm not sure if this is due to a roku just getting left playing or if the roku didn't close the session properly.

If it's not something that can easily be implementing I guess we could just restart the wallop server via cron but I'd love a more elegant solution.

Thanks!

maddox commented 9 years ago

There is definitely a time out implemented. I think it's about 60 seconds.

Every time an HLS client makes a request, it resets the session. So if a player stops playing, after 60 seconds the tempeh process should be killed.

That being said, there's always a possibility that there's a bug, heh.

On Jun 6, 2015, at 12:41 PM, mhohman notifications@github.com wrote:

Is is possible to have a viewing timeout? I've noticed over the course of a few weeks we have 1 or 2 sessions that just keep going. I'm not sure if this is due to a roku just getting left playing or if the roku didn't close the session properly.

If it's not something that can easily be implementing I guess we could just restart the wallop server via cron but I'd love a more elegant solution.

Thanks!

— Reply to this email directly or view it on GitHub.

maddox commented 8 years ago

Closing this due to age.