Permalink
Browse files

Optimise start up time and seek time

Greatly reduce the time it takes to start playback and seek. Change the StreamWorker thread to be almost lock-less so the playback stream doesn't have to wait for the end of a download in progress for a seek order to be acknowledged.
Seek time on a local network as generated by AirVideo or Myth is almost instantaneous.

Starting time is cut by half on low-speed network ; at the most you have to wait for the download of the first two segments only.

Also, now ignore invalid streams that would have otherwise turn on the VOD mode (seen with France 24 channel)
  • Loading branch information...
1 parent 0bb3790 commit 0d69c75f0b4eaa9510f5f699e266c3b4143f7112 @jyavenard jyavenard committed May 21, 2012
Showing with 110 additions and 109 deletions.
  1. +103 −106 mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp
  2. +7 −3 mythtv/libs/libmythtv/HLS/httplivestreambuffer.h
Oops, something went wrong.

0 comments on commit 0d69c75

Please sign in to comment.