media/libraries
tonihei 45f1473dcd Use SingleThreadExecutor to release AudioTracks
We currently start a simple Thread to release AudioTracks
asynchronously. If many AudioTracks are released at the same
time, this may lead to OOM situations because we attempt to
create multiple new threads.

This can be improved by using a shared SingleThreadExecutor.
In the simple case of one simmultaneous release, it's exactly
the same behavior as before: create a thread and release it
as soon as it's done. For multiple simultanous releases we
get the advantage of sharing a single thread to avoid creating
more than one at the same time.

Issue: google/ExoPlayer#10057
PiperOrigin-RevId: 460698942
(cherry picked from commit 9a616c0cee)
2022-07-13 13:24:04 +00:00
..
cast Add timestamp to CueGroup 2022-06-22 17:19:55 +01:00
common HDR: Check whether EXT_YUV_target extension is supported. 2022-07-12 11:04:05 +00:00
database Mark all non-public IntDefs as only TYPE_USE 2022-02-21 16:56:36 +00:00
datasource Remove InvalidResponseCodeException#headerFields from the stable API 2022-05-26 11:51:27 +00:00
datasource_cronet Add @deprecated javadoc to all @Deprecated @Override methods 2022-05-31 13:51:49 +00:00
datasource_okhttp Workaround for OkHttp Interrupt issues. 2022-05-09 10:59:41 +01:00
datasource_rtmp Remove references to deprecated DefaultDataSourceFactory from dev guide 2022-03-24 15:13:09 +00:00
decoder Expect PresentationTime Discontinuity During Stream Transitions 2022-04-26 14:21:36 +01:00
decoder_av1 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_ffmpeg Remove FfmpegVideoRenderer from 2.18.0 release 2022-05-30 17:58:14 +00:00
decoder_flac Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
decoder_opus Ignore decoding test cases when library not available 2022-05-31 15:33:33 +00:00
decoder_vp9 Make sure native library loads use correct class loader 2022-02-22 11:25:44 +00:00
exoplayer Use SingleThreadExecutor to release AudioTracks 2022-07-13 13:24:04 +00:00
exoplayer_dash Make MetadataRenderer configurable to output metadata early. 2022-06-29 14:47:12 +00:00
exoplayer_hls Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 15:27:55 +00:00
exoplayer_ima Simplify DefaultMediaSourceFactory instantiation in a test 2022-05-30 16:32:59 +00:00
exoplayer_rtsp Fix two typos in RtpVp8Reader and test 2022-07-13 09:27:06 +00:00
exoplayer_smoothstreaming Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 15:27:55 +00:00
exoplayer_workmanager Reformat some javadoc 2022-02-18 14:54:02 +00:00
extractor Ignore reserved bit in parsing NAL unit type 2022-07-12 16:53:03 +00:00
session Add timestamp to CueGroup 2022-06-22 17:19:55 +01:00
test_data Fix MIDI command timestamp calculations and synthesization duration. 2022-07-01 10:18:50 +00:00
test_exoplayer_playback Move TrackGroupArray back to ExoPlayer 2022-03-17 13:08:56 +00:00
test_session_common Remove setMediaUri/onSetMediaUri 2022-06-15 17:00:27 +00:00
test_session_current Add timestamp to CueGroup 2022-06-22 17:19:55 +01:00
test_utils Add method to check if tunneling is enabled. 2022-07-12 16:31:38 +00:00
test_utils_robolectric Add timestamp to Metadata 2022-06-27 11:31:10 +00:00
transformer Fix assertion error when using high quality targeting API. 2022-07-13 12:48:02 +00:00
ui Ensure TalkBack announces the selected playback speed in the UI menu 2022-06-29 16:10:11 +00:00
ui_leanback Listen to playWhenReady changes in LeanbackPlayerAdapter 2022-07-11 15:49:33 +00:00