- 04 May, 2021 3 commits
- 30 Apr, 2021 12 commits
-
-
#minor-release PiperOrigin-RevId: 371348520
krocard committed -
#minor-release PiperOrigin-RevId: 371337762
claincly committed -
#minor-release PiperOrigin-RevId: 371326814
claincly committed -
In RtpDataLoadable.load, the second UDP data source is opened on the port we specify. If the port is already in use, a BindException is thrown. #minor-release PiperOrigin-RevId: 371319522
claincly committed -
PiperOrigin-RevId: 371318570
bachinger committed -
All `add*Listener` and `add*Output` methods are deprecated in favor of `addListener`. As for the class themselves `VideoListener` and `AudioListener` are not used internaly by ExoPlayer, `VideoRendererEventListener` and `AudioRendererEventListener` are use in their place. As a result `VideoListener` and `AudioListener` can be deprecated in favor `Listener`. On the other hand `TextOutput` and `MedataOutput` are used both in the player interface and internally in renderers. This means that those class can't be deprecated. There usage in the public interface are indirectly deprecated as their is no way to use them without using the deprecated `add*Output`. Thus it's not an issue that the class themselves are not deprecated. #minor-release PiperOrigin-RevId: 371318268
krocard committed -
PiperOrigin-RevId: 371307278
olly committed -
Imported from GitHub PR https://github.com/google/ExoPlayer/pull/8858 Fix bug in text alignment inheritance where child does not correctly inherit ancestor's setting @icbaker Merge 70eb4bceb73b3f07e2f8d545b4fa7961189ac52a into 45616f91 COPYBARA_INTEGRATE_REVIEW=https://github.com/google/ExoPlayer/pull/8877 from dlafayet:multirowalign-cue d942b50a40525fea5d11b35a33d3bbc512550960 PiperOrigin-RevId: 371306966
dlafayet committed -
PiperOrigin-RevId: 371306900
bachinger committed -
#minor-release PiperOrigin-RevId: 371306241
ibaker committed -
PiperOrigin-RevId: 371170769
olly committed -
This change adds an API in the ForwardingPlayer to disable commands. This is affecting what Player.isCommandAvailable() returns as well as what is being advertised from the EventListener.onAvailableCommandsChanged() callback. For the callback case, the ForwardingPlayer needs to intercept the callback. It does so by wrapping registered EventListener and Listener instances, which resulted in some boiler-plate code. In addition, there is logic on the wrapped listeners to avoid triggering a queued callback if all listeners have been removed in the meantime. This includes the case where new listeners are added while callbacks scheduled for the removed listeners are still pending. PiperOrigin-RevId: 371139703
christosts committed
-
- 29 Apr, 2021 7 commits
-
-
PiperOrigin-RevId: 371135534
bachinger committed -
PiperOrigin-RevId: 371109726
andrewlewis committed -
PiperOrigin-RevId: 371102614
olly committed -
Before, Looper.myLooper().getThread() could throw an NPE if the current thread didn't have any looper. #minor-release PiperOrigin-RevId: 371097485
kimvde committed -
bachinger committed
-
Move VideoSize in the common module and have the Player return it. `Listener` and `AnalyticsListener` `onVideoSizeChanged` are updated with the old method deprecated. `VideoRendererEventListener.onVideoSizeChanged` was also migrated to `VideoSize` but the old method is removed, not deprecated. This is because: - apps calling/listening to this method is a rare and niche use-case. - it would introduce hard to diagnostic issues where if only the caller or the callee is updated to use the new method, the event will be lost. This doesn't occur with the other 2 listeners as the caller is always in ExoPlayer library and was updated to call both the old and new methods. VideoSize is used everywhere except in `Format` as this would lead to too much refactoring and backward compatibility breakage for little gain. #minor-release PiperOrigin-RevId: 371087419
krocard committed -
PiperOrigin-RevId: 371068549
ibaker committed
-
- 28 Apr, 2021 6 commits
-
-
Rating class should be in the same module as MediaMetadata. Tested: $ ./gradlew --stacktrace :exo-library-common:tDUT $ ./gradlew --stacktrace :media2-session:tDUT $ ./gradlew --stacktrace :media2-session-vct-current:cAT PiperOrigin-RevId: 370902917
jaewan committed -
PiperOrigin-RevId: 370902227
ibaker committed -
PiperOrigin-RevId: 370897451
ibaker committed -
#minor-release PiperOrigin-RevId: 370881618
samrobinson committed -
Session pre-fetching caused this ordering assertion to no longer be always true. It should have been removed in https://github.com/google/ExoPlayer/commit/795ddfee40cba83eba8e9f39da01fba2f1f8775c #minor-release PiperOrigin-RevId: 370880530
ibaker committed -
PiperOrigin-RevId: 370875532
bachinger committed
-
- 27 Apr, 2021 12 commits
-
-
PiperOrigin-RevId: 370740311
bachinger committed -
PiperOrigin-RevId: 370739641
bachinger committed -
Add the onMediaMetadataChanged event to onEvents. PiperOrigin-RevId: 370738521
samrobinson committed -
Fix bug where child does not correctly inherit ancestor's text alignment setting. Make it so that alignment is only applied on a P node. https://www.w3.org/TR/2018/REC-ttml2-20181108/#style-attribute-textAlign
Denise LaFayette committed -
Deferred the addition of error codes to ease the review process. PiperOrigin-RevId: 370687238
aquilescanta committed -
#minor-release PiperOrigin-RevId: 370673852
claincly committed -
1. Clarify intention of getAdGroupIndexForPositionUs and getAdGroupIndexAfterPositionUs. Both methods are used for very specific but different purposes and encode the logic of which ads should be played at which time, so it's helpful to clarify this in the documentation as well. 2. Change one usage getAdGroupIndexForPositionUs to use the already existing nextAdGroupIndex. This is also more in line with the intended usage as clarified in step 1. 3. Update MediaPeriodQueueTest for updateQueuedPeriods to only look for duration changes in future periods, not in the current one, because that's not handled MediaPeriodQueue for ads and the test is just passing by chance now. Also remove wrong advancePlaying() calls that are already implicitly included in the preceding enqueueNext() call. 4. Fix a minor bug where post-roll ads are not checked whether they are played already before using them as the next ad group. Also added a test covering this case. #minor-release PiperOrigin-RevId: 370664131
tonihei committed -
Some RTSP servers do not include the RANGE attribute for live contents. #minor-release PiperOrigin-RevId: 370662587
claincly committed -
Previously loadingFinished will never be set to true because it started in false, and we are and'ing it with `canceled`. #minor-release PiperOrigin-RevId: 370662456
claincly committed -
PiperOrigin-RevId: 370660058
bachinger committed -
Allow ExoPlayer to open URIs starting with rtsp:// PiperOrigin-RevId: 370653248
claincly committed -
The ForwardingPlayer implements the Player interface and forwards all operations to another Player instance. Apps will be able to override methods of ForwardinPlayer in order to modify and/or suppress specific Player funcionalities. This commit introduces the ForwardingPlayer which simply forwards all Player operations to another Player instance. In follow-up changes, the ForwardingPlayer will be extended so that it eventually reaches the feature-set offered by ControlDispatcher. PiperOrigin-RevId: 370653167
christosts committed
-