- 21 Jun, 2021 22 commits
-
-
https://github.com/google/ExoPlayer/commit/5e3022c48fbc345af751223271c7852beb48c5c4
*** Original commit *** Target demo apps to API level 30 *** PiperOrigin-RevId: 380542402
olly committed -
#minor-release PiperOrigin-RevId: 380531272
ibaker committed -
The test prepare_withSupportedTrack_playsTrackUntilEnded - sets up the supported AAC track with the RTSP server; - uses RtpPacketTransmitter to send RTP packets from the server to the client; - runs the player until the playback has ended, and - asserts on the data RTSP has received and queued to the SampleQueue. In the test, it was necessary to create a FakeUdpDataSourceRtpDataChannel. The reason we cannot reuse TransferRtpDataChannel is, we rely on BlockingQueue.poll timeout to identify the end of an RTSP stream, but the time out mechanism is unstable in Robolectric. For example, when the timeout is set to 8,000 ms, the actual timeout occasionally happens after 2,000,000 ms (in FakeClock). PiperOrigin-RevId: 380528710
claincly committed -
Also change to explicitly track the provisioning session, which makes the code easier to reason about than always using the zero'th element of the list. PiperOrigin-RevId: 380181453
ibaker committed -
Allows for compatibility with METADATA_KEY_COMPILATION. PiperOrigin-RevId: 380179505
samrobinson committed -
PiperOrigin-RevId: 380176846
claincly committed -
PiperOrigin-RevId: 380174672
aquilescanta committed -
Also avoid mentioning that those fields cannot be null, since they are primitives. PiperOrigin-RevId: 380169988
aquilescanta committed -
This is the package that CacheDataSource and CacheDataSourceTest(2) are in. PiperOrigin-RevId: 380156879
ibaker committed -
If google3 is the source-of-truth for this third_party code (or if this is legacy code that is no longer synced with an external source), just LGTM this CL and Rosie will submit it. If not, you should patch the upstream source of these files, since we will be disabling support for /-as-division in google3 before support is formally removed from the language. See go/lsc-slash-as-division-deprecation. Tested: TAP found no affected targets. No targets were built or tested. http://test/OCL:380056637:BASE:380052721:1623976139468:f2fd2cbd PiperOrigin-RevId: 380140762olly committed -
In prepare_withSupportedTrack_sendsPlayRequest(), the DESCRIBE includes two tracks, one AAC and one MP4A-LATM. The test is run until a PLAY is sent, and asserts on only one SETUP is sent (for AAC). In prepare_noSupportedTrack_throwsPreparationError(), the DESCRIBE includes one track: one MP4A-LATM. This format is not supported at the moment, so the player will throw out an error, on which we assert. PiperOrigin-RevId: 380131458
claincly committed -
PiperOrigin-RevId: 380009757
samrobinson committed -
PiperOrigin-RevId: 380000589
samrobinson committed -
PiperOrigin-RevId: 379962022
samrobinson committed -
In preparation for the onPlayerError callback to take a PlaybackException. PiperOrigin-RevId: 379939108
aquilescanta committed -
PiperOrigin-RevId: 379935363
christosts committed -
Issue: #8960 #minor-release PiperOrigin-RevId: 379922704
christosts committed -
#minor-release PiperOrigin-RevId: 379913814
ibaker committed -
This enables actions that are not advertised by the MediaSession to be dispatched either way. PiperOrigin-RevId: 379765015
olly committed -
PiperOrigin-RevId: 379732136
kimvde committed -
More information: go/checker-3130-lsc Tested: TAP for global presubmit queue passed after automated deflaking of failures: http://mondo/deflaker/run/ff80a4f9-d5d7-47ac-9560-63372e1ff624 http://mondo/deflaker/run/ca3ce61f-2af8-4fa7-b6e4-c98b5c4d950c http://test/OCL:379405669:BASE:379421861:1623763190392:bd2d256a PiperOrigin-RevId: 379623080olly committed -
More information: go/checker-3130-lsc Tested: Some test failures are present, but the CL author has decided to mail the change anyway PiperOrigin-RevId: 379622938olly committed
-
- 15 Jun, 2021 16 commits
-
-
Issue: #9004 #minor-release PiperOrigin-RevId: 379516815
olly committed -
PiperOrigin-RevId: 379506322
olly committed -
Note that this removes a workaround for malformed content, in which the track_ID is set incorrectly. It's unclear there was sufficient reason to implement that workaround, and so it's preferable to remove it, rather than implementing the concept of unrecognized tracks, which would be needed to keep it and to also fix this issue. Issue: #9056 #minor-release PiperOrigin-RevId: 379506261
olly committed -
The Widevine H264 samples in the demo app now log this from the EventLogger: ``` [X] Track:0, id=1, mimeType=video/avc, bitrate=772315, codecs=avc1.42c01e, drm=[widevine,cenc], res=320x142, fps=24.0, supported=YES ``` And the VP9 ones log: ``` [X] Track:0, id=1, mimeType=video/x-vnd.on2.vp9, bitrate=588256, codecs=vp9, drm=[widevine], res=320x142, fps=23.809525, supported=YES ``` #minor-release PiperOrigin-RevId: 379498332
ibaker committed -
PiperOrigin-RevId: 379497408
kimvde committed -
PiperOrigin-RevId: 379469182
samrobinson committed -
PiperOrigin-RevId: 379440699
Oliver Woodman committed -
LSC: go/checker-lsc Tested: TAP train for global presubmit queue http://test/OCL:379220771:BASE:379219228:1623675799153:ea986c7c PiperOrigin-RevId: 379284240olly committed -
PiperOrigin-RevId: 379282201
claincly committed -
Add MediaItem.EMPTY. PiperOrigin-RevId: 379273172
jinpark committed -
PiperOrigin-RevId: 379264658
gyumin committed -
PiperOrigin-RevId: 378899373
aquilescanta committed -
PiperOrigin-RevId: 378895355
Oliver Woodman committed -
PiperOrigin-RevId: 378889901
samrobinson committed -
PiperOrigin-RevId: 378886637
kimvde committed -
Otherwise, Player clients would not be able to benefit from PlaybackException subclasses, like ExoPlaybackException. PiperOrigin-RevId: 378873767
aquilescanta committed
-
- 14 Jun, 2021 2 commits