media/libraries
hschlueter 56f234ea75 Check targetSdkVersion for frame dropping workaround.
Based on
https://developer.android.com/reference/android/media/MediaCodec#using-an-output-surface,
frame dropping behaviour depends on the target SDK version.
After this change transformer will only use
MediaFormat#KEY_ALLOW_FRAME_DROP if both the target and system SDK
version are at least 29 and default to its pre 29 behaviour where each
decoder output frame must be processed before a new one is rendered
to prevent frame dropping otherwise.

Also remove deprecated Transformer.Builder constructor without a
context and the context setter.

PiperOrigin-RevId: 453971097
(cherry picked from commit a105d033a7)
2022-06-09 18:22:39 +00:00
..
cast Don't set the tag in CastTimeline 2022-07-12 20:41:57 +00:00
common Make GlUtil.GlException checked and remove flag to disable it. 2022-06-09 17:53:39 +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 Make GlUtil.GlException checked and remove flag to disable it. 2022-06-09 17:53:39 +00:00
exoplayer_dash Fix setDataSourceFactory handling in DefaultMediaSourceFactory 2022-07-13 15:27:55 +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 Merge pull request #110 from ittiam-systems:rtp_vp8_test 2022-07-13 17:40:18 +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 Add tests for extracting MP4 with large bitrates 2022-07-07 13:04:29 +00:00
session Fix incorrect link tags 2022-07-06 11:02:12 +00:00
test_data Transformer GL: Split Presentation and Crop. 2022-06-08 12:51:28 +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 Ignore flaky test 2022-06-06 11:35:12 +00:00
test_utils Merge pull request #96 from fengdai:release 2022-07-04 19:56:41 +00:00
test_utils_robolectric Clean up offload state tracking 2022-06-27 09:34:56 +00:00
transformer Check targetSdkVersion for frame dropping workaround. 2022-06-09 18:22:39 +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