- 17 Aug, 2020 21 commits
-
-
PiperOrigin-RevId: 326025335
olly committed -
Also do some minor cleanup in DefaultAudioSink. PiperOrigin-RevId: 326012441
andrewlewis committed -
PiperOrigin-RevId: 326012248
olly committed -
Make it clear that setUri sets PlaybackProperties.uri Also capitalise all references to DRM, ID, URI and UUID PiperOrigin-RevId: 326002853
ibaker committed -
Also use it to replace the same logic in CapturingAudioSink PiperOrigin-RevId: 325969455
ibaker committed -
Issue: Issue: #7735 PiperOrigin-RevId: 325900705
olly committed -
PiperOrigin-RevId: 325857202
tonihei committed -
The code was mutating boolean across threads. PiperOrigin-RevId: 325826214
krocard committed -
For consistency with onShuffleModeEnabledChanged. PiperOrigin-RevId: 325820951
krocard committed -
PiperOrigin-RevId: 325795609
samrobinson committed -
PiperOrigin-RevId: 325795485
samrobinson committed -
PiperOrigin-RevId: 325790799
samrobinson committed -
Let the app know when offload scheduling is enabled or disabled. PiperOrigin-RevId: 325790017
krocard committed -
PiperOrigin-RevId: 325786522
samrobinson committed -
PiperOrigin-RevId: 325786473
samrobinson committed -
PiperOrigin-RevId: 325784936
samrobinson committed -
PiperOrigin-RevId: 325784822
samrobinson committed -
formatSupport is a 2-dimensional int array but it's documented as being indexed by 3 things. This seems to be a copy-paste mistake in https://github.com/google/ExoPlayer/commit/e97b8347eb190f12191c5b97d1c086326387f9bb selectAllTracks() takes a 3-dimensional array with the same 3-indexed documentation, which makes sense there. Also rename formatSupports -> formatSupport for consistency. PiperOrigin-RevId: 325779435
ibaker committed -
PiperOrigin-RevId: 325767964
ibaker committed -
Use a dedicated boolean to track if we've notified the current surface, rather than re-using rendereredFirstFrameAfterReset. PiperOrigin-RevId: 325757948
ibaker committed -
Issue: #7689 PiperOrigin-RevId: 325752377
andrewlewis committed
-
- 07 Aug, 2020 19 commits
-
-
This is the workaround for b/159147455. The issue will be fixed in media2-session 1.1.0-stable, but we'd better to have workaround until it's ready. PiperOrigin-RevId: 325434543
jaewan committed -
Issue: Issue: #7722 PiperOrigin-RevId: 325431839
olly committed -
PiperOrigin-RevId: 325429029
krocard committed -
PiperOrigin-RevId: 325419476
olly committed -
This will simplify the addition of nullness annotations. PiperOrigin-RevId: 325414700
kimvde committed -
PiperOrigin-RevId: 325413035
christosts committed -
PiperOrigin-RevId: 325409392
christosts committed -
Find sbgp and sgpd boxes with grouping_type == seig in the case they don't come first. Previoulsy we would only find them if they came first. Issue: Issue: #7716 PiperOrigin-RevId: 325407819
olly committed -
PiperOrigin-RevId: 325327466
olly committed -
This change caused no problems and can be enabled by default. PiperOrigin-RevId: 325264859
tonihei committed -
https://github.com/google/ExoPlayer/commit/1ed5d8b5633f935d3c7f2cc52c1493616b7e0d32
*** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/bf5e6c7862ae418895b2b6b26fae9c28aa662ee8 *** Original commit *** Pass startPositionUs into Renderer.replaceStream Plumb this down into BaseRenderer.onStreamChanged and use it when deciding whether to render the first frame of a new period. *** *** PiperOrigin-RevId: 325251261
ibaker committed -
PiperOrigin-RevId: 325226353
olly committed -
This will simplify the addition of nullness annotations. PiperOrigin-RevId: 325221749
kimvde committed -
https://github.com/google/ExoPlayer/commit/1ed5d8b5633f935d3c7f2cc52c1493616b7e0d32
*** Original commit *** Rollback of https://github.com/google/ExoPlayer/commit/bf5e6c7862ae418895b2b6b26fae9c28aa662ee8 *** Original commit *** Pass startPositionUs into Renderer.replaceStream Plumb this down into BaseRenderer.onStreamChanged and use it when deciding whether to render the first frame of a new period. *** *** PiperOrigin-RevId: 325218588
ibaker committed -
- Attach types for placeholder sessions. If a placeholder session will be attached and a downstream renderer doesn't know what to do with it, then this attachment is necessary to correctly determine that the renderer does not support the track. - Attach types to sample formats. Without this, if playback fails due to a CryptoException, the ExoPlaybackException that gets thrown spuriously indicates that the format's DRM type was not supported. PiperOrigin-RevId: 325214745
olly committed -
Having both in the trun box is not allowed (see section section 8.8.8.1 of ISO/IEC 14496-12:2015) but this CL makes the code more robust in case this happens. Before this change, the first sample flag was not read, making subsequent reads incorrect. Issue: #7698 PiperOrigin-RevId: 325212160
kimvde committed -
The sniffer sniffs boxes at the start of the file to try and determine whether the file is fragmented. However, if the file is extremely short then it's possible that sniffing will try and read beyond the end of the file, resulting i EOFException being thrown. In general it's OK for sniffing to throw EOFException if the file is not of the correct type. The problem in this case is that EOFException can be thrown for an actual MP4 file, due to the sniffer continuing up sniff atoms up to bytesToSearch in case the file is fragmented. PiperOrigin-RevId: 325205389
olly committed -
PiperOrigin-RevId: 325202386
olly committed -
Also include 5G-NSA estimates and update code to use immutable structures to prevent external updates by the app. PiperOrigin-RevId: 325196303
tonihei committed
-