rbouqueau / gpac

GPAC mirror from the SourceForge Subversion
GNU Lesser General Public License v2.1
0 stars 1 forks source link

[Bug] Dashcast and empty segments [sf#307] #307

Closed rbouqueau closed 10 years ago

rbouqueau commented 10 years ago

Reported by atkinson-tommy on 2014-03-19 10:24 UTC The dash.js player now uses HEAD requests to find the "live edge" for live streaming. It tries to find the most recent segment that doesn't return 404 and start playback from there. Unfortunately dashcast breaks this by initially creating an empty file and then writing to it later. The player downloads this empty file thinking it's the most recent segment and playback fails. This can be fixed by getting dashcast to write to a temporary file and then renaming it into place once the segment is complete.

rbouqueau commented 10 years ago

Updated by jeanlf on 2014-03-29 10:51 UTC

rbouqueau commented 10 years ago

Commented by jeanlf on 2014-03-29 10:51 UTC This is a mode that could be added, but I wouldn't say this is a bug, since a player should not issue a request for not yet available files ... We actually use this progressive writing to file for ultra low-latency experiments. I'll try to add an option to completely disable low-latency from dashcast.