- 05 Jul, 2017 1 commit
-
-
They serve the same purpose. One was defined as single window, multi-period timeline, while the other was a multi-window, single-period-each timeline. The combined FakeTimeline uses TimelineWindowDefinitions which allow multi- window, multi-period fake timelines. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160808844
tonihei committed
-
- 30 Jun, 2017 24 commits
-
-
Oliver Woodman committed
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160663100
olly committed -
It was a bit strange how it returned something via the return value and something else via the "out" variable, and doing it this way wasn't even saving any allocations. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160645640
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160638478
olly committed -
The StubMediaSource was a subset of the FakeMediaSource. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160638245
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160632943
andrewlewis committed -
Fake ExoPlayer componenets used within ExoPlayerTest.java can be useful for other test classes and are therefore made available in testutils. They can also be merged with other existing fake components. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160632908
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160631095
tonihei committed -
Some parts of TimelineTest provided common assertions and helper classes for other tests. As such, they better fit into testutils. In line with other assertion methods, the TimelineVerifier class has been converted to a set of static assertion methods. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160629797
tonihei committed -
Issue: #2957 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160628086
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160543009
hoangtc committed -
(Related to GitHub #1706) When the timeline becomes empty, the playback state transitions to "ended". When the timeline becomes non-empty again, exceptions are thrown because MSG_DO_SOME_WORK is still regularly sent and media periods are getting prepared. This change ensures that no MSG_DO_SOME_WORK messages are sent in "ended" state. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160537147
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160537100
olly committed -
These changes are in part related to handling playback of mixed clear and encrypted content, where we might want to use a secure decoder throughout, but only have drm init data and only care about the state of the DrmSession during playback of encrypted parts. - requiresSecureDecoderComponent became unnecessary when we added ExoMediaCrypto, which provides a layer in which requiresSecureDecoderComponent can be overridden. - Relaxed requirements for obtaining the MediaCrypto. It's helpful to allow retrieval in the error state, since it can be used to instantiate a decoder and play clear samples. - Deferred throwing of errors in renderer implementations. As long as we can get a MediaCrypto, we should init the codec. We can also play clear samples without failing if playClearSamplesWithoutKeys is true, regardless of the errors state. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160536365
olly committed -
This base class will be used to extend HlsDownloaderFactory from. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160523335
eguven committed -
Issue:#2930 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160520480
aquilescanta committed -
Issue: #2873 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160520136
olly committed -
(GitHub issue #1706) The media source allows adding or removing child sources before and after prepare() was called. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160516636
tonihei committed -
This is currently happening after toggling the repeat mode. This is line with the rest of the implementation which requires a seek operation to resume playback. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160516449
tonihei committed -
This also adds support for seeking in periods with midroll ads. Remove Timeline.Period.isAd. Issue: #2617 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160510702
andrewlewis committed -
Two of MediaPeriod's methods are only called after the media period has been prepared. Added this to JavaDoc of these method to simplify implementations. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160510373
tonihei committed -
Modified old testRemoveAction to test removing content after it's fully downloaded. Added a new testRemoveBeforeDownloadComplete which tests removing content before it's fully downloaded. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160507573
eguven committed -
This base class will be used to extend HlsDownloader from. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160505710
eguven committed -
Also remove updateScrubberState as it doesn't do anything useful. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160496133
andrewlewis committed
-
- 28 Jun, 2017 15 commits
-
-
- Restore making the playback controls visible on any key press. - Turn anti-aliasing on for drawing the scrubber circle. It looks really ugly on some devices if you don't do this. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160413777
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160412354
andrewlewis committed -
Add a compatibility AudioAttributes class so that the app can specify audio attributes in the same way before and after API 21. Deprecate SimpleExoPlayer.setStreamType. Add SimpleExoPlayer.setAudioAttributes and MSG_SET_AUDIO_ATTRIBUTES. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160408574
andrewlewis committed -
Both methods make extensive use of MediaPeriodHolder internals. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160386401
tonihei committed -
Also update the time bar to show ad markers using in-period ads and remove support for periods being marked as ads. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160382805
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160294524
andrewlewis committed -
Issue: #2851 Issue: #2974 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160290097
olly committed -
This prevents ExoPlayer from thinking there are many more video tracks than there actually are. And will prevent downloading multiple times the same rendition once offline support for HLS is added. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160285777
aquilescanta committed -
With this change, it becomes possible to depend on ExoPlayer locally in settings.gradle by doing: gradle.ext.exoplayerRoot = 'path/to/exoplayer/root' apply from: new File(gradle.ext.exoplayerRoot, 'core_settings.gradle') You can optionally add a prefix onto ExoPlayer's module names by adding: gradle.ext.exoplayerModulePrefix = 'prefix' Issue: #2851 Issue: #2974 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160277967
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160273929
andrewlewis committed -
It's currently difficult to use ExoPlayer modules in other gradle projects because they rely on constants and dependencies defined in our own top level gradle file. This change moves the constants into a separate file referenced directly from each module. It also removes the need for the top level gradle file to declare a dependency on com.novoda:bintray-release. This is now only needed if "exoplayerPublishEnabled = true" is specified. Issue: #2851 Issue: #2974 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160272072
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160271631
andrewlewis committed -
This will allow MediaSources to provide MediaPeriods that correspond to ad breaks in a timeline period rather than content for a timeline period, in a future change. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160267841
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160257503
andrewlewis committed -
If open() fails because of the file isn't available then fakeData is null. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=160249214
eguven committed
-