OSDN Git Service

stagefright: httplive: Propagate target duration to LiveSession
authorLeena Winterrowd <lenhardw@codeaurora.org>
Tue, 18 Nov 2014 02:33:12 +0000 (18:33 -0800)
committerLajos Molnar <lajos@google.com>
Thu, 29 Jan 2015 05:52:09 +0000 (21:52 -0800)
commit9dee2e592e89e90097cbb3b5065cffa768917b56
tree46744297dee9a899ffd408753342f2eb54c7072d
parent2a66207f1136d60857759bccbaa5b7612f7070cf
stagefright: httplive: Propagate target duration to LiveSession

LiveSession's switch-down monitor requires the 'targetDuration'
key to evaluate the switching threshold. Ensure that this key is
set in the access unit metadata.

Bug: 18821145
Change-Id: Ib30f3b4bd8185a77a06abd755822f96644968a21
media/libstagefright/httplive/PlaylistFetcher.cpp