- 12 Mar, 2018 5 commits
-
-
This allows to keep the same window sequence number if playback fails and is then retried without resetting the position. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188339509
tonihei committed -
The value is increased to 50 seconds. With that the player can better handle short network problems. This does NOT increase the maximum memory used as we still apply the seperate DEFAULT_TARGET_BUFFER_BYTES. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188335603
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188327736
eguven committed -
When creating a new AC-3 passthrough AudioTrack the position may advance from an old AudioTrack's position. The workaround checked for the playback head position returning to zero, but a subsequent change meant that we'd always start writing data to the new track immediately (rather than waiting for its position to 'stabilize' at zero). Fix the issue by using the AudioTrack position directly. (Nb. this doesn't handle the case of the stale position before unwrapping being zero, but it is very unlikely to occur.) ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188319795
andrewlewis committed -
Also simplified shouldContinueLoading condition code and added a builder for DefaultLoadControl. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188306213
eguven committed
-
- 07 Mar, 2018 19 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188173078
andrewlewis committed -
This allows to know the duration immediately and fixes the temporary unknown duration in the UI when repreparing the same extractor media source. The isSeekable property is still reset to false as we can't actually seek until the seek map has been reloaded. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188145860
tonihei committed -
Also remove logic for tracking the next output buffer in LibvpxVideoRenderer, as this allowed many consecutive frames to be rendered that were actually late after dropping to keyframe. It looks better to show frames at a consistent 100 ms rate. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188144739
andrewlewis committed -
DefaultDrmSession ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188079887
zhihuichen committed -
To support Google Assistant media apps need to support the action ACTION_SET_RATING. Before this change developers have to use a QueueEditor for this which does not have any other mandatory actions required for Assistant. With this change developers can implement the rating action with the PlaybackPreparer which they need to implement anyway to support Assistant. https://developer.android.com/guide/topics/media-apps/interacting-with-assistant.html#transport_controls ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188056722
bachinger committed -
Issue: #3915 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188047131
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188041418
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188038757
olly committed -
The playback state in ExoPlayerImpl and ExoPlayerImplInternal is usually kept in sync. Only the timeline was so far not updated in the same way with the internal player using a null timeline while ExoPlayerImpl keeps the previous timeline. This change removes the need to keep a null timeline which allows to update the internal timeline in the same way as the external one. This fixes problems when retrying a failed playback multiple times. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188034988
tonihei committed -
The start position was set to the old start position instead of the current playback position. We need to set the start position to the current playback position to ensure a repreperation with the same media starts from the last playback position. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188025439
tonihei committed -
Issue: #3926 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188020756
olly committed -
Previously, child source ids were reassigned when the media source is reused. Now the creation of the ids moved to outer level to stay in sync with the list of child media sources. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188014739
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187872692
jschlag committed -
This restores functionality that was lost when we added support for general timed message delivery. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187866807
olly committed -
Especially the cast demo app benefits from this feature as it can keep its ConcatenatingMediaSource all the time without having to repopulate it when switching players. Issue:#3498 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187866048
tonihei committed -
This value can now be set in the DefaultBandwidthMeter instead. As a result NO_VALUE can be removed from BandwidthMeter as we now always provide an estimate. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187865341
tonihei committed -
This simplifies clearing a playlist without having to call removeMediaSource repeatedly. It will also update the timeline only once. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187863857
tonihei committed -
There is a large number of repeated arguments in the callback methods of MediaSourceEventListener. Grouping them into load related data and media related data allows to significantly reduce the amount of boiler plate code and also simplifies future extensions of either set of data. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187857252
tonihei committed -
This value is logically part of the bandwidth estimation and will eventually be moved there from the adaptive track selection. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187597038
tonihei committed
-
- 02 Mar, 2018 13 commits
-
-
Before this change, HlsMediaSource timelines had a period starting at the epoch. For VOD streams the window position in the period was the program date time. This change makes period and initial window positions match. For live streams the window position advances as segments are removed, so its position in the period is the difference between the initial program date time and the program date time of the latest playlist. This also makes it possible to insert ads in VOD HLS content with program date time, as the period and window are now aligned. Issue: #3865 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187590948
andrewlewis committed -
1. Allow retaining a decoder without any reconfiguration, in addition to retaining with reconfiguration (and not retaining) 2. Fix retention logic for video decoders to take into account changing ColorInfo 3. Allow retention of audio decoders when possible ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187500285
olly committed -
Added a note about using TextureView only on hardware accelerated window. Issue: #3901 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187498594
eguven committed -
Currently, AspectRatioFrameLayout may need to resize itself if it could not satisfy a target aspect ratio. User may want to know when this happen, or whether this can happen, so they can update their UI accordingly. For example: show/hide a button to toggle different resize mode only when the aspect ratio of the view and the content is very different. GitHub: #3736 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187484241
hoangtc committed -
This is to ensure valid emails don't get a canned response. The canned response is triggered when the subject doens't contain the word "issue". ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187458580
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187313128
tonihei committed -
- Change 'compile' configuration (deprecared) to using 'implementation' and 'api' configurations instead. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187311778
hoangtc committed -
The non-dynamic media source has a strict subset of features of the dynamic one and thus can be replaced. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187299432
tonihei committed -
Without child sources, the timeline can't possibly updated again within the current looper message. Thus, we can send the empty timeline immediately. This fixes a recently introduced flakiness in the test. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187295700
tonihei committed -
ClippingMediaSource provides a timeline where the period and window have the same start/end positions, so when clipping a child timeline with a non-zero offset between the window and period it is necessary to clear the offset then apply the offset to the start/end positions used in the ClippingMediaPeriod. Also add a message to clipping exceptions. Also fix adjustment of seeks to the start of the clipped view. Issue: #3888 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187292506
andrewlewis committed -
This is achieved by adding a BaseMediaSource which keeps a reference count of the number of times the source has been prepared and forwards to the actual implementations only once, such that only minimal changes are needed for each media source. Issue:#3498 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187186691
tonihei committed -
Up to now we use a boolean "preventListenerNotification" to suppress updates while other operations are still in progress. This ensures, for example, that only one initial timeline is issued even for multiple child sources. As soon as we allow to reuse the same instance, it becomes increasingly difficult to manage this manual listener notification suppression. Therefore, this change schedules an update as a new message on the playback thread immediately after the current message. This way, we also ensure that all simultaneous updates within one looper message iteration are reported together. Issue:#3498 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187180342
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=187165173
olly committed
-
- 27 Feb, 2018 3 commits
-
-
Oliver Woodman committed
-
add h263 format support in fourcc codecID
ojw28 committed -
Use the pattern "string literal".equals(something) to prevent NPE …
ojw28 committed
-