commit | 0ad776d2e4c6b4968d9dcd9bf34b962366b312a9 | [log] [tgz] |
---|---|---|
author | Robert Shih <robertshih@google.com> | Fri Aug 29 18:02:56 2014 -0700 |
committer | Robert Shih <robertshih@google.com> | Thu Sep 11 16:20:27 2014 -0700 |
tree | f641c387fc9020e9f652a12b99d5dd164011936d | |
parent | 8962e08c4989368d2c821b64f42632b6f5fb016e [diff] |
LiveSession: added onSwitchDown additionally in this change - AnotherPacketSource: added getEstimatedDurationUs that avoids looping through buffered access units in most cases; this method is called by LiveSession before triggering onSwitchDown. Also fix the original getBufferedDurationUs to accumulate durations across discontinuities. Bug: 13742612 Change-Id: I135932ea0c74671b7019a3c7054844926c18bc14