- 24 Jul, 2020 11 commits
-
-
In order to use DeviceInfo class in media2, this CL moves the class to common module. It didn't move the other file in the same package, DeviceListener, as it's for DeviceComponent but media2 SessionPlayer doesn't have components as it is already flattened. PlayerCallback will have equivalent methods of DeviceListener. PiperOrigin-RevId: 321154997
gyumin committed -
PiperOrigin-RevId: 321153963
ibaker committed -
The constructor that takes a Uri is deprecated PiperOrigin-RevId: 321148326
ibaker committed -
PiperOrigin-RevId: 321147910
ibaker committed -
All the public Cue constructors are deprecated PiperOrigin-RevId: 321122512
ibaker committed -
PiperOrigin-RevId: 321121988
ibaker committed -
PiperOrigin-RevId: 321121735
ibaker committed -
createMediaSource(Uri) is deprecated. PiperOrigin-RevId: 321121383
ibaker committed -
PiperOrigin-RevId: 321109232
kimvde committed -
ISSUE: #7565 PiperOrigin-RevId: 321108417
kimvde committed -
PiperOrigin-RevId: 320970814
ibaker committed
-
- 13 Jul, 2020 18 commits
-
-
PiperOrigin-RevId: 320960833
olly committed -
The method currently advances the read position and returns the number of skipped samples. This prevents checking how many samples are skipped before the operation is executed. Instead, we have a new method that returns the number of to be skipped samples and a skip method that executes the skipping. PiperOrigin-RevId: 320953439
tonihei committed -
Remove occurrences in comments and private fields. ISSUE: #7565 PiperOrigin-RevId: 320948364
kimvde committed -
- DefaultAudioSink always supports floating point input. Make it advertise this fact. - Remove the ability to enable/disable floating point output in FfmpegAudioRenderer, since this ability is now also provided on DefaultAudioSink. - Let FfmpegAudioRenderer query the sink to determine whether it will output floating point PCM directly or resample it to 16-bit PCM. PiperOrigin-RevId: 320945360
olly committed -
PiperOrigin-RevId: 320921457
olly committed -
CSS background-color isn't inherited to inner HTML elements by default: https://developer.mozilla.org/en-US/docs/Web/CSS/background-color But Android Span styling assumes an outer BackgroundColorSpan will affect inner spans. This usually doesn't make a difference, because HTML elements are transparent by default, so there's an implicit inheritance by just being able to see through to the 'outer' element underneath. However this doesn't work if the inner element sits outside the bounding box of the outer element, e.g. <rt> (ruby text, sits above/below) or a <span> with font-size > 100%. END_PUBLIC Demo of <rt> and font-size problems: http://go/cpl/ruby-backgrounds/1 Demo of CSS inheritance: http://go/cpl/css-inheritance/1 PiperOrigin-RevId: 320915999
ibaker committed -
PiperOrigin-RevId: 320909448
andrewlewis committed -
Previously, the automatically selected subtitle track has not been marked (with check mark) in subtitle track list, just like audio track. But, in subtitle track option UI, there is no 'auto' option, which is different from audio track selection menu. This CL marks the auto selected subtitle track name in the cc list. PiperOrigin-RevId: 320802575
insun committed -
Remove occurrences in comments and private fields. ISSUE: #7565 PiperOrigin-RevId: 320606558
kimvde committed -
PiperOrigin-RevId: 320601157
olly committed -
The counter was increased by one for each batch instead of each frame. Additionally fix a null check. PiperOrigin-RevId: 320592873
krocard committed -
Sharing the Handler has led to it being accidentally used for purposes beyond the original intention. Instead for EPII -> EPI communication: Call methods directly on ExoPlayerImpl that then post from the playback thread to the application thread. And for the MediaSourceList and Queue initialization, create a dedicated Handler based on the same applicationLooper. PiperOrigin-RevId: 320590527
ibaker committed -
PiperOrigin-RevId: 320581002
olly committed -
PiperOrigin-RevId: 320574671
kimvde committed -
Also flip DefaultDrmSessionManager#prepare()/release() into guard clauses. Suggestions from review comments on: https://github.com/google/ExoPlayer/commit/316f8a88cdaeff2b1b5d219097b2739ef607b2c4 PiperOrigin-RevId: 320572462
ibaker committed -
AdDisplayContainer now takes the video ad player at construction time, and obstructions are registered/unregistered via a new method. Also 'content complete' is now notified via ad callbacks rather than the AdsLoader. PiperOrigin-RevId: 320567666
andrewlewis committed -
PiperOrigin-RevId: 320565543
andrewlewis committed -
The new reader is named H263Reader as it handles H.263 streams, but MPEG-4 Part 2 streams are also intended to be handled. The reader's output format MIME type is video/mp4v as the H.263 streams can be decoded by decoders supporting this MIME type. The implementation is based on the framework implementation for extracting MPEG-4 video in MPEG-TS (https://cs.android.com/android/platform/superproject/+/master:frameworks/av/media/libstagefright/mpeg2ts/ESQueue.cpp;l=1825;drc=86e363c1fac27302ca4ae33e73296f7797672995) and is similar to the existing H262Reader. Issue: #1603 Issue: #5107 PiperOrigin-RevId: 320565337
andrewlewis committed
-
- 10 Jul, 2020 6 commits
-
-
This brings in a fix for the IMA SDK ignoring the media load timeout. Issue: #7170 PiperOrigin-RevId: 320557386
andrewlewis committed -
Issue: #7592 PiperOrigin-RevId: 320556981
kimvde committed -
DecoderCounters are reset in onEnabled, but the way the local counters in MediaCodecVideoRenderers were reset assumed the DecoderCounters were reset in onStarted. PiperOrigin-RevId: 320440991
olly committed -
Building on the Format that was provided on the input side of the decoder creates a format that's a mixture of the formats on the input and output sides of the decoder. This change instead builds a PCM format from scratch. PiperOrigin-RevId: 320405656
olly committed -
The counter was increased by one for each batch instead of each frame. PiperOrigin-RevId: 320396903
krocard committed -
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
olly committed
-
- 09 Jul, 2020 3 commits
-
-
PiperOrigin-RevId: 320351394
jaewan committed -
PiperOrigin-RevId: 320323388
insun committed -
The receiving code was updated in: https://github.com/google/ExoPlayer/commit/7b82a3c8892a2b90fa1121dc6bfad7817ae03944 but this sending site was missed. PiperOrigin-RevId: 320173033
ibaker committed
-
- 08 Jul, 2020 2 commits
-
-
PiperOrigin-RevId: 320172040
ibaker committed -
This is useful for subclasses to easily query the point up to which they should only decode (but not render) content, rather than each subclass having to have its own startPositionUs and update it in onPositionReset. PiperOrigin-RevId: 320163677
olly committed
-