- 16 Jan, 2020 6 commits
- 13 Jan, 2020 7 commits
-
-
We currently have a currentMediaPeriodId and an activeSessionId that are more or less tracking the same thing unless the current media period isn't "active" yet. Simplify this logic by using a single currentSessionId field and the respective isActive flag of this session. Also move all session creation and activation code in the same method to make it easier to reason about the code. This change also fixes a subtle bug where events after a seek to a new window are not ignored as they should. PiperOrigin-RevId: 289432181
tonihei committed -
Issue: #6798 PiperOrigin-RevId: 289424582
olly committed -
PiperOrigin-RevId: 289424321
tonihei committed -
As discovered whilst investigating #6798, there are cases where these methods are not correctly. They were added as convenience methods that could be overridden by concrete DownloadService implementations, but since they don't work properly it's preferable to require application code to listen to their DownloadManager directly instead. Notes: - The original proposal to fix #6798 stored the state change events in memory until they could be delivered. This approach is not ideal because the events still end up being delivered later than they should be. We also want to fix the root cause in a different way that does not require doing this. - This change does not fix #6798. It's a preparatory step. Issue: #6798 PiperOrigin-RevId: 289418555
olly committed -
This change makes it clear the SampleQueue doesn't outlive the wrapping PlayerTrackEmsgHandler, and releases it from PlayerTrackEmsgHandler.release(). This change is a no-op because calling release() is the same as reset() in this case (the behavior only differs if a non-dummy DrmSessionManager is being used). PiperOrigin-RevId: 289416622
olly committed -
As a result, onMediaChunkLoadStarted gets invoked on the loading thread, and init on the playback thread, matching the thread access comments. Issue:#6321 PiperOrigin-RevId: 289167981
aquilescanta committed -
Dash live streams require that the client has an accurate wall clock time and in absence of a UTCTiming element, this is assumed to be the NTP time. This change adds NTP time offset resolution for DASH live streams without such timing elements. PiperOrigin-RevId: 289098796
tonihei committed
-
- 10 Jan, 2020 16 commits
-
-
PiperOrigin-RevId: 289092332
Oliver Woodman committed -
I'll use this in TtmlDecoderTest PiperOrigin-RevId: 289091526
ibaker committed -
PiperOrigin-RevId: 289091494
olly committed -
Suggested during the review of <unknown commit> PiperOrigin-RevId: 289088296
ibaker committed -
PiperOrigin-RevId: 289054937
olly committed -
Unfortunately devices such as the MI 8 do not provide an alternative working decoder. Some Vivo devices do provide one though. PiperOrigin-RevId: 288911897
olly committed -
PiperOrigin-RevId: 288886739
andrewlewis committed -
Some members are nullable but were not marked as such. PiperOrigin-RevId: 288873481
krocard committed -
PiperOrigin-RevId: 288868298
christosts committed -
Also fix annotation style of the surrounding functions. PiperOrigin-RevId: 288865420
krocard committed -
PiperOrigin-RevId: 288862795
ibaker committed -
I'm going to use these in TtmlDecoderTest PiperOrigin-RevId: 288862274
ibaker committed -
Ultimately we only care if the style is both bold & italic, if some of those are specified multiple times there's no problem. PiperOrigin-RevId: 288862235
ibaker committed -
PiperOrigin-RevId: 288860159
olly committed -
PiperOrigin-RevId: 288855515
andrewlewis committed -
ybai001 committed
-
- 09 Jan, 2020 3 commits
-
-
Update cleardatasize[0] in extractor rather than sampleDataQueue.
ybai001 committed -
ybai001 committed
-
https://github.com/google/ExoPlayerybai001 committed
-
- 08 Jan, 2020 8 commits
-
-
PiperOrigin-RevId: 288772277
Oliver Woodman committed -
This improves readability by making clearer that reading no bytes from the input in readFrames() is an expected case if the buffer is full. PiperOrigin-RevId: 288711841
kimvde committed -
This doesn't work because the Chronometer text layout can only count in realtime. Issue:#6816 PiperOrigin-RevId: 288711702
tonihei committed -
PiperOrigin-RevId: 288710939
ibaker committed -
Currently, seeks are only tracked if both the start and the end of the seek is within the same window. This means no seeking state is reported if the playback switches to a new window during the seek. This problem is fixed by tracking seek start and end events in all cases, but only report seeking state once the window becomes the foreground window. PiperOrigin-RevId: 288706674
tonihei committed -
The current code relies on Android's evaluation order of spans, which doesn't seem to be defined anywhere. PiperOrigin-RevId: 288700011
ibaker committed -
Without the CSS tweak the additional test assertion fails. PiperOrigin-RevId: 288698323
ibaker committed -
Issue: #6845 PiperOrigin-RevId: 288688716
andrewlewis committed
-