- 27 Mar, 2018 24 commits
-
-
Also convert left side from milliseconds to microseconds for comparison ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189784833
cblay committed -
Add logic to poll AudioTimestamp at different rates depending on when playback starts and how the audio timestamp advances. This fixes a pause about 500 ms after starting playback that occurs on some devices and also makes our polling interval match the recommendations of the AudioTrack documentation. Issue: #3830 Issue: #3841 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189765200
andrewlewis committed -
When creating DeferredMediaPeriods, we don't know the actual timeline yet and thus the default position is also unknown. We can still forward the correct default position by forwarding it the deferred media period as soon as it becomes known. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189763460
tonihei committed -
Issue: #4001 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189722812
bachinger committed -
As part of pausing DefaultAudioSink, its position-related fields are reset. If the audio timestamp API was in use, this results in falling back to the getPlaybackHeadPosition API, which (on some devices) can lead to a jump in the reported position. Sample the position before pausing instead of after, to avoid this jump. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189713376
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189582319
andrewlewis committed -
This is achieved by automatically registering a listener for child sources in compositions. The composite media source has the chance to correct the reported window index and media period id in the MediaLoadData of the events. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189575414
tonihei committed -
Currently, whenever the clipping is updated, we move the time frame of the clipped period to start at 0. This causes problems when we are already playing this period and the renderer position does no longer match the stream positions. This change keeps the time frame of the clipped media period as it is and instead specifies the offset of the window in the period. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189570277
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189562865
eguven committed -
DefaultAudioSink had a lot of code related to tracking the position of the underlying AudioTrack, and working around issues with the position APIs. Move this code to a separate class responsible for position tracking. This is in preparation for improving the audio timestamp polling behavior. This change is intended not to cause any behavior changes. Issue: #3841 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189344743
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189323050
aquilescanta committed -
This allows to test sending events when using fake media sources. The FakeMediaSource now simulates a manifest load when being prepared. And the FakeMediaPeriod simulates a media load when being prepared. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189205285
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189188071
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189186679
eguven committed -
*** Reason for rollback *** This is breaking gradle sync with an error "Error:Cannot create variant 'android-lint' after configuration ':exo-library-core:debugRuntimeElements' has been resolved". *** Original change description *** Upgrade bintray-release and gradle versions *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189171139
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189169899
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189166039
eguven committed -
Currently, we are treating all codecs starting with "mp4a" as AAC. However, some codec strings starting with "mp4a" are not AAC format, as should be treated differently. GitHub: #3779 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189163517
hoangtc committed -
This is a step towards factoring out position tracking functionality. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189155624
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189153913
olly committed -
This is a first step towards factoring out position tracking functionality. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189027731
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=189000217
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188902403
pallavipowale committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188889091
eguven committed
-
- 13 Mar, 2018 4 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188871914
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188853170
andrewlewis committed -
This allows to distinguish between media source events of multi-window and multi-period media sources. In this change, only media sources currently reporting events are changed. Proper support in composite sources will be added in a later change. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188847366
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188742379
eguven committed
-
- 12 Mar, 2018 12 commits
-
-
This change also simplifies reporting the right media source events in a future change. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188718504
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188716201
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188514063
olly committed -
We had these specified directly in AndroidManifest.xml due to our internal build setup. This change makes our internal build re-write AndroidManifest.xml to dynamically insert the required values, meaning they no longer need specifying in each manifest. Bonus 1: Internally built demo apps now include the CL number at which they're built in the version name :). Bonus 2: Removes lint warning that complains min/target SDK values in the manifest are redundant. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188489115
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188481259
eguven committed -
Issue: #3966 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188465096
andrewlewis committed -
This is achieved by moving the listener registration and the creation of the event dispatcher into BaseMediaSource. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188461932
tonihei committed -
As it turns out there isn't much gain by subclassing AbstractContentMetadata. Moved abstract onChange method to a listener interface. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188353673
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=188352116
bachinger committed -
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
-