]> git.sesse.net Git - ffmpeg/commit
avformat/dashenc: addition of segment index correction logic
authorVishwanath Dixit <vdixit@akamai.com>
Wed, 11 Apr 2018 07:02:25 +0000 (12:32 +0530)
committerKarthick Jeyapal <kjeyapal@akamai.com>
Tue, 17 Apr 2018 09:05:40 +0000 (14:35 +0530)
commitd10cefbfe50e0cee80f96d6c1007b33f3292a698
tree7a8c35422355e9f10c8e91c50ad91f056695ac62
parent2c51e33bc1e26aa8071434dd619981e1c725263f
avformat/dashenc: addition of segment index correction logic

The logic is applicable only when use_template is enabled and use_timeline
is disabled. The logic monitors the flow of segment indexes. If a streams's
segment index value is not at the expected real time position, then
the logic corrects that index value.

Typically this logic is needed in live streaming use cases. The network
bandwidth fluctuations are common during long run streaming. Each
fluctuation can cause the segment indexes fall behind the expected real
time position. Without this logic, players will not be able to consume
the content, even after encoder's network condition comes back to
normal state.
doc/muxers.texi
libavformat/dashenc.c