media/extensions
olly e8596428c0 Pass correct formats to AudioSink
The renderers are currently constructing formats that consist of their
input format with added PCM encoding. Such formats are not self-consistent,
and this only works because DefaultAudioSink ignores the rest of the
format if the format has a PCM encoding. It would not work if the sink
implementation checked the MIME type, for example, which wouldn't be a
strange or incorrect thing for it to do.

The more correct approach is to construct a new format that properly
represents the PCM that will be provided to the sink.

This change also renames supportsOutput to supportsFormat, because
AudioSink itself has both an input and an output side, and this method
is actually evaluating support on the input side of the sink.

PiperOrigin-RevId: 320396089
2020-07-10 09:09:02 +01:00
..
av1 Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
cast Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
cronet Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
ffmpeg Pass correct formats to AudioSink 2020-07-10 09:09:02 +01:00
flac Pass correct formats to AudioSink 2020-07-10 09:09:02 +01:00
gvr Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
ima Tidy ImaAdsLoader method ordering 2020-07-08 13:55:29 +01:00
jobdispatcher Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
leanback Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
media2 Release media2 extension 2020-07-09 08:28:14 +00:00
mediasession Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
okhttp Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
opus Pass correct formats to AudioSink 2020-07-10 09:09:02 +01:00
rtmp Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
vp9 Fix remaining common module nullness issues. 2020-07-03 09:01:20 +01:00
workmanager Move common gradle setup to a setting file. 2020-06-26 11:13:25 +01:00
README.md Tweak and add READMEs + remove refs to V1 2017-08-17 22:59:34 +01:00

ExoPlayer extensions

ExoPlayer extensions are modules that depend on external libraries to provide additional functionality. Browse the individual extensions and their READMEs to learn more.