- 17 Nov, 2017 21 commits
-
-
- MediaSourceTestRunner aims to encapsulate some of the logic currently used in DynamicConcatenatingMediaSourceTest, so it can be re-used for testing other MediaSource implementations. - The change also fixes DynamicConcatenatingMediaSourceTest to execute calls on the correct threads, and to release handler threads at the end of each test. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176117535
olly committed -
This test seems to obtain a timeline from a prepared FakeMediaSource, but that's identical to the timeline passed into that source to start with :). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176117133
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176102179
eguven committed -
This is helpful for tests which don't care about detailled timeline set-ups besides the number of windows. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176097369
tonihei committed -
Add Builder pattern to ExtractorMediaSource and mark existing constructors as deprecated. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=176088810
hoangtc committed -
This change makes sure progress is being made before reporting a discontinuity. Else in cases like having no network and playing a live stream, we allow the discontinuity to be read each time an internal retry occurs, meaning it gets read repeatedly. This does no harm, but is noisy and unnecessary. We should also not allow skipping whilst there is a pending reset or discontinuity notification, just like we don't allow reads. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175953064
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175940553
andrewlewis committed -
Also switch from using MIME types to C.ENCODING_* encodings in DefaultAudioSink. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175936872
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175852052
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175837754
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175833398
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175805139
olly committed -
Add Builder pattern to HlsMediaSource and mark existing constructors as deprecated. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175803853
hoangtc committed -
The purpose of this change isn't to fix anything. It's just to simplify things a little bit. There will be following CLs that make some changes to get things onto correct threads. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175800354
olly committed -
This allows to remove the LazyMediaSource used within DynamicConcatenatingMediaSourceTest and also allows to write test which simulates dynamic timeline or manifest updates. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175680371
tonihei committed -
Now we have a ChunkSampleStream.discardBuffer, we need to call it from SsMediaPeriod as well as for the DASH case. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175675427
olly committed -
Also replaced the duplicated EMPTY track group array with the one already defined in TrackGroupArray. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175670266
tonihei committed -
We deliberately compare the track group returned by the track selection with the track group in the parameter to check if the track selection is referring to this particular track group. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175660909
tonihei committed -
Add Builder pattern to SsMediaSource and mark existing constructors as deprecated. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175659618
hoangtc committed -
Also added tests which verify the intended behaviour. GitHub:#3452 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175656478
tonihei committed -
Also add encrypted HLS internal sample streams. Issue:#1661 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175577648
aquilescanta committed
-
- 13 Nov, 2017 19 commits
-
-
This is a step toward retaining a back-buffer in a way that works for all MediaSource implementations. It's not possible to adjust the discardBuffer calls in ExoPlayerImplInternal to discard up to (position - backBufferDurationUs). Next steps are to: 1. Find an appropriate place to specify the back buffer value, to be passed to the discardBuffer calls. I guess the LoadControl is the appropriate place to define such values. 2. Enhance discardBuffer to support a toKeyframe argument to pass through to discardTo. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175565363
olly committed -
Add onEnable() and onDisable() call-backs to TrackSelection. This allows TrackSelection to perform interesting operations (like subscribe to NetworkStatus) and clean up after itself. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175558485
hoangtc committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175554723
arnaudberry committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175546817
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175543465
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175542973
olly committed -
Oliver Woodman committed
-
Add an easy way to set the shutter view background color
ojw28 committed -
Skip using MediaCodec.setOutputSurface on Bravia
ojw28 committed -
Start with DASH MediaSource. The number of injected arguments is getting out-of-control. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175529031
hoangtc committed -
Someone must have forgotten to do this when rewriting this class. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175296249
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175180089
hoangtc committed -
This will be needed when retaining a back-buffer. Being able to query the first index allows us to work out when we've discarded all samples that were obtained from a particular chunk, which we'll use to determine when to remove chunks from ChunkSampleStream.mediaChunks. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175172085
olly committed -
In the case converting cache files from an earlier version of SimpleCache, there is no previous version of the index file. If the app doesn't call any SimpleCache methods which would make the index file stored before it exists whole data gets lost. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175153650
eguven committed -
These callbacks are executed on the app thread after the corresponding timeline update was triggered. This ensures that seek operations see the updated timelines and are therefore valid, even if the seek is performed into a window which didn't exist before. GitHub:#3407 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175136187
tonihei committed -
When the renderer media clock source read its stream to end but is not ready, this means one of two things. Either the next period is not prepared yet and we need to stop the renderers and buffer until it's prepared, or we are waiting for another track in the current period with a uneven (longer) duration. The second case was already covered by this if condition and uses the standalone clock instead to continue. The first case now also uses the standalone clock, but it doesn't make a difference, because both clocks are stopped and still synchronized. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175134975
tonihei committed -
MPD file may include multiple EventStreams in its Periods, which contains Events that the application may need to handle/respond to. This change adds support for parsing the EventStream/Event nodes from MPD file, and exposing these EventStreams as a metadata sample stream that application can respond in a similar way to other metadata events. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175017697
hoangtc committed -
Issue: #3441 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175011804
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=175010595
olly committed
-