media/libraries
tonihei 00c7a9bcbb Keep playback thread blocked until next action with playUntilPosition
We currently pause playback to prevent further progress while the
app thread runs assertion and triggers additional actions. This is
not ideal because we do not actually want to pause playback in
almost all cases where this method used.

This can be improved by keeping the playback thread blocked and only
unblock it the next time the app thread waits for the player (either
via RobolectricUtil methods or by blocking the thread itself). To
add this automatic handling, this change introduces a new util class
for the tests that can keep the list of waiting threads statically
(because the access to this logic is spread across multiple independent
classes).

PiperOrigin-RevId: 589784204
2023-12-11 04:45:31 -08:00
..
cast Return empty timeline when media info is null 2023-11-20 09:55:36 -08:00
common Split Cue.toBundle into serializable and binder-based variants 2023-12-06 07:35:34 -08:00
container Add support for flattening SEF files with H.265 2023-10-17 09:26:14 -07:00
database Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource Split openAssetFileDescriptor from RawResourceDataSource.open 2023-10-31 04:38:57 -07:00
datasource_cronet Do not trim audio samples by changing their timestamp 2023-06-29 22:50:04 +00:00
datasource_httpengine Implement HttpEngineDataSource, a HttpDataSource using the [HttpEngine](https://developer.android.com/reference/android/net/http/HttpEngine) API. 2023-10-18 14:17:56 -07:00
datasource_okhttp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
datasource_rtmp Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
decoder Satisfy nullness checker correctness by using local variable 2023-10-31 12:56:32 +00:00
decoder_av1 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-04 10:37:25 -07:00
decoder_ffmpeg Merge pull request #707 from equeim:ffmpeg-6.0 2023-11-23 08:06:04 -08:00
decoder_flac Add more data to e2etest dumps 2023-07-13 15:33:33 +01:00
decoder_midi MidiExtractor: mark only the first sample as key-frame 2023-11-21 07:39:46 -08:00
decoder_opus Map VORBIS channel layout to Android layout 2023-12-05 03:01:32 -08:00
decoder_vp9 Add Decoder.setOutputStartTimeUs and use it in extension decoders 2023-10-04 10:37:25 -07:00
effect fix: make BitmapOverlay constructor public 2023-11-30 04:54:06 -08:00
exoplayer Keep playback thread blocked until next action with playUntilPosition 2023-12-11 04:45:31 -08:00
exoplayer_dash Promote method to control subtitle parsing to MediaSource.Factory 2023-11-29 09:12:04 -08:00
exoplayer_hls Promote method to control subtitle parsing to MediaSource.Factory 2023-11-29 09:12:04 -08:00
exoplayer_ima Set MIME type from IMA SDK on ads MediaItem 2023-11-14 09:12:07 -08:00
exoplayer_rtsp Merge pull request #491 from v-novaltd:dsparano-exo128 2023-10-17 06:35:19 -07:00
exoplayer_smoothstreaming Promote method to control subtitle parsing to MediaSource.Factory 2023-11-29 09:12:04 -08:00
exoplayer_workmanager Remove exoplayer2-only javadoc machinery from media3 2023-06-05 09:47:58 +00:00
extractor Split Cue.toBundle into serializable and binder-based variants 2023-12-06 07:35:34 -08:00
muxer Follow practices/guidance in Muxer tests around: 2023-11-30 09:29:18 -08:00
session Fix nullability issue in MediaControllerImplLegacy 2023-12-05 05:24:57 -08:00
test_data Transformer: Add support for transmuxing audio in trim optimization 2023-12-07 02:18:21 -08:00
test_exoplayer_playback Add android.namespace to all build.gradle files 2023-05-19 17:19:15 +01:00
test_session_common Add session extras to the state of the controller 2023-11-21 14:32:33 -08:00
test_session_current Add session extras to the state of the controller 2023-11-21 14:32:33 -08:00
test_utils Keep playback thread blocked until next action with playUntilPosition 2023-12-11 04:45:31 -08:00
test_utils_robolectric Keep playback thread blocked until next action with playUntilPosition 2023-12-11 04:45:31 -08:00
transformer TransformerEndToEndTest: replace /*testId=*/ with variable 2023-12-11 03:14:34 -08:00
ui Workaround layout problems with Material Design 2023-11-15 02:57:03 -08:00
ui_leanback Prevent forwarding of zero video size to Leanback 2023-08-30 12:20:51 -07:00
lint.xml Update recommended way to suppress @UnstableApi errors in lint.xml 2023-11-15 02:34:40 -08:00