- 19 Oct, 2017 7 commits
-
-
Issue:#2748 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172726367
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172724250
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172722536
aquilescanta committed -
If connecting a Bluetooth audio device fails, the AudioTrack may be left in a bad state, where it is not actually playing and its position has jumped back to zero. Detect and work around this case by resetting the track. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172600912
andrewlewis committed -
prepare and selectTracks receive the position from which any loading should start, where-as continueLoading receives the actual playback position. These are different in the case that a previous period is still being played out. Also removed "relative to the start of the period" from prepare documentation because it couldn't really be relative to anything else. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172592769
olly committed -
newPlayingPeriodHolder could be set then updated if seeking to a repeated period that was loaded more than once. This led to MediaPeriodHolders leaking. Only set newPlayingPeriodHolder once so that any later holders with the same period identifier get released. Also add a regression test. FakeMediaSource checks that all created MediaPeriods were released when it is released. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172591937
andrewlewis committed -
Issue: #3355 Issue: #3257 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172587141
olly committed
-
- 17 Oct, 2017 7 commits
-
-
Issue: #3358 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172464053
andrewlewis committed -
Issue: #3334 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172447125
olly committed -
MobileHarness allocates random devices for each test and repeats tests up to 5 times to account for spurious test failures. Some of our tests automatically pass for SDK versions below a certain threshold. Thus, even if such a version-guarded test would always fail, the MobileHarness test is likely to succeed as it only needs one random allocation to a device with a lower SDK version. To prevent this behaviour and to make sure all tests are actually run, the mobile_test target is split into multiple targets one for each minimum SDK version. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172447046
tonihei committed -
This is not really useful with the DefaultAudioSink, but could be used in a custom AudioSink when mixing audio from sources that have different sample rates. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172434482
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172339124
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172329677
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172328148
aquilescanta committed
-
- 16 Oct, 2017 2 commits
-
-
Oliver Woodman committed
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172133622
olly committed
-
- 13 Oct, 2017 12 commits
-
-
Oliver Woodman committed
-
Oliver Woodman committed
-
Allow passing of HlsPlaylistParser to HlsMediaSource.
ojw28 committed -
Allow multiple PSSH boxes for same system
ojw28 committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172124807
olly committed -
1. Ignore edit list where the sequence doesn't contain a sync sample, rather than failing. 2. Make Mp4Extractor.readAtomPayload so it doesn't try and read the same payload twice if a failure occurs parsing it. 3. Make processAtomEnded so that it doesn't pop the moov if parsing it fails. Issue: #3351 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172106244
olly committed -
Recently added Java 8 features in the cronet extension and the linked native libs require to enable Java 8 desugaring in gradle. Moreover, junit.assertThrows is not available in our version and its usage has been replaced by the manual check. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172077967
tonihei committed -
The chunk size of real video data varies around the given average bitrate. To account for this fact in the fake adaptive data set, the chunk size varies randomly with a given standard deviation. The standard deviation used for the BandwidthProfileSimulator is based on the chunk size variation measured on the 1 hour playlist of real media. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172068110
tonihei committed -
Using cookie validation from streamer, streamer can enforce that only clients who have the cookie are able to stream the video. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171999924
byungh committed -
This change fixes various issues: - MobileHarness sometimes allocated devices with SDK < 16. As we have no tests running on these SDKs, a new dimension filter for the mobile_test target ensures that only devices with SDK >= 16 are selected. A similar filter for SDK version is also added to the ABR playback tests to ensure no old devices are selected. - DRM specific tests are skipped for Api < 18, but were not able to run because the DashTestRunner class tried to link to the MediaDrm constructor. Moved the constructor to a seperate Builder class to allow execution on Api levels 16 and 17. - DashWidevineOfflineTest also tried to access code for Api >= 18 without checking the current level. - Action implementations which are waiting for events did not ensure that they have a nextAction to wait for. This caused NullPointerExceptions when this next action was scheduled. - DefaultDrmSession always restored the offline keys when a new license was requested, even if the keys were already restored. These repeated slow calls to restoreKeys resulted in high numbers of dropped buffers. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171974859
tonihei committed -
and consume event without moving the focus. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171967057
bachinger committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171819854
olly committed
-
- 11 Oct, 2017 12 commits
-
-
Update the audio track selection logic in DefaultTrackSelector: - When forcing lowest bitrate, use bitrate as tie-breaker when track scores are the same, prefer the lower bitrate. - Otherwise, use one of the following values as tie-breaker in order: - ChannelCount - SampleRate - BitRate If the format being checked is within renderer's capabilities, select it if it has higher tie-break value, else, select it if it has lower tie-break value. If all tie-break values are the same, prefer the already selected track. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171803092
hoangtc committed -
MediaCodecRenderer implementations require DrmSessionManager<FrameworkMediaCrypto>, but it's currently not possible for an app to provide a custom implementation due to FrameworkMediaCrypto having a package private constructor. This change exposes public FrameworkMediaCrypto constructors, hence removing this restriction. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171718853
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171718775
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171533782
andrewlewis committed -
Calling HandlerThread.quit() or .quitSafely() doesn't immediately terminate the thread. It just instructs the Looper not to accept any new messages and to terminate at the next opportunity. Added a HandlerThread.join() everywhere where the intention is to close and release all resources and to stop all threads. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171525241
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171517156
andrewlewis committed -
Issue: #3322 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171508635
andrewlewis committed -
This change also replaces individual DownloadAction versions with a single master version. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171273880
eguven committed -
For initial DRM provisioning and key request, we allow the requests to be retried (with increasing delay for each successive retry) before failing. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171271384
hoangtc committed -
Android Studio refuses to build with the current beta4 version. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171129696
tonihei committed -
Controls are still hidden while playing ads, but if the app pauses the player, controls will be shown. During ads, the player is not seekable. When the player enters the background then returns to the foreground, the content period may not be prepared, so also cache the content window duration. This means that if the app reenters the foreground while an ad is paused the time bar can be populated. Issue: #3303 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171123428
andrewlewis committed -
Now this counter includes input buffers too, which are dropped as part of skipping to keyframes for catch up. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=171119930
andrewlewis committed
-