- 05 Jun, 2018 15 commits
-
-
This helps to use the AnalyticsCollector without SimpleExoPlayer. Currently, that may be problematic, if the contructor needs the player, but in order to create the player, one already needs the AnalyticsCollector as a listener for the renderers. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199105012
tonihei committed -
This happens when the device screen is locked. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198875192
eguven committed -
This simplifies Loadable implementations, and also removes the possibility of an incorrect Loadable implementation causing the wrong Loader.Callback method being called (perviously, for the correct method to be called, we relied on isLoadCanceled being implemented correctly). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198871133
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198860680
eguven committed -
There is the small (but unlikely) chance that the uids clash because the Objects have the same hash code. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198855724
tonihei committed -
The bug here was that we'd create a VideoFrameReleaseTimeHelper using whatever context DefaultRenderersFactory has, and it would then hold a reference to that context via DisplayManager. A leak could then occur if the player outlived the life of the context used to create it (which would be strange/unusual, but not impossible). Issue: #4249 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198747599
olly committed -
As highlighted by the ref'd issue, we can end up with memory leaks if Loadable.load implementations take a long time to return upon cancelation. This change cuts off one of the two problematic reference chains. This doesn't do much about the ref'd issue, since there's a second reference chain that's much harder to deal with: Thread->LoadTask->loadable. But since it's easy just to cut this one off, I figure it makes sense to do so. Issue: #4249 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198735386
olly committed -
This makes the requirement that all calls are made on one thread more explicit and also mentions this in the Getting Started guide. Issue:#4278 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198694579
tonihei committed -
Issue: #4297 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198536888
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198536438
andrewlewis committed -
Manifestless streams. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198445216
sammon committed -
I think it was just wrong that it was package private before, since it resulted in our public API referencing something that's not part of the public API: https://google.github.io/ExoPlayer/doc/reference/com/google/android/exoplayer2/source/chunk/BaseMediaChunk.html#init-com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput- ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198396555
olly committed -
Set content length and redirect uri in a single transaction. New: Fixed the code where DataSpec.uri is set to null in [] Automated g4 rollback of changelist 196765970. *** Reason for rollback *** Fixed the code where DataSpec.uri is set to null in [] *** Original change description *** Automated g4 rollback of changelist 194932235. *** Reason for rollback *** This CL breaks the playability of Mango's offlined progressive videos. *** Original change description *** Set content length and redirect uri in a single transaction NORELNOTES=true NO_BUG *** *** ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198370211
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198062017
sammon committed -
When the player state is changed from an event listener callback, we may get recursive listener notifications. These recursions can produce a wrong order, skip or duplicate updates, and send different notifications to different listeners. This change serializes listener notifications by clustering all update data in a helper data class and adding the updates to a queue which can be handled in a loop on the outer layer of the recursion. As playWhenReady updates also reference the current playbackInfo, we need to redirect the listener notifcations for setPlayWhenReady to the same queue. Issue:#4276 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=198031431
tonihei committed
-
- 22 May, 2018 11 commits
-
-
r2.8.1
Andrew Lewis committed -
Andrew Lewis committed
-
Andrew Lewis committed
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197535443
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197531839
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197531723
andrewlewis committed -
Saving current subtitle cues on SimpleExoPlayer
Andrew Lewis committed -
[extension-ffmpeg] repeatable build instructions
Andrew Lewis committed -
Currently, the sample queues are lazily enabled when they are first read from. This causes problems when the player tries to discard buffer and the HlsSampleStreamWrapper assumes the sample queue is disabled even though it's actually enabled but hasn't been read from. This change moves setting the sample queue index of the sample stream back into HlsSampleStreamWrapper. It enables the sample queues at track selection if the queues are already built, or immediately after they have been built for chunkless preparation. Issue:#4241 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197415741
tonihei committed -
The ACCESS_NETWORK_STATE permission is only included indirectly which doesn't work in all build systems. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197399274
tonihei committed -
InstrumentationTestCase has been deprecated, and it does not offer some useful features, such as targeting SDK version level for tests, or skipping tests if necessary. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197141082
hoangtc committed
-
- 18 May, 2018 14 commits
-
-
A new playback nonce is created for each playback of the same item. Thus we need to inject the nonce dynamically into the data source factory. This CL adds the DataSource which does the actual insertion into the request URLs and a MediaSource which listens to new media periods, to request the nonce and to configure the data source factory for this media period to use this nonce. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197134217
tonihei committed -
Issue: #4262 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197126757
andrewlewis committed -
This CL allows failure if a playlist load fails with a non-blacklistable error. For example, loss of internet connection. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=197006579
aquilescanta committed -
For TTML, if the font size is expressed in %, the font size should be relative to the cellResolution of the document which we did not support before. This CL adds support for handling this correctly. Note that this still does not support font size using c unit. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196985694
hoangtc committed -
SparseIntArray.get(key) defaults to zero for missing keys (the null check was left over from when a Map was used). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196957452
andrewlewis committed -
Also update TrackSelectionView with nullness annotations. Issue: #4263 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196849706
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196838184
eguven committed -
If the caption line has no text (empty line or only line break), we should not display its background. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196823319
hoangtc committed -
Currently, ExoPlayer only supports seeking for FLAC files with a SEEKTABLE. This CL adds support seeking for cases when the FLAC files do not have a SEEKTABLE by searching for individual frames within the file using binary search. Github: #1088. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196816398
hoangtc committed -
Due to a bug, for each TTML node, when applying its style to the encompassed regions, it applies child nodes's styling several time for each region (the number of time is equal to the number of region). This leads to a styling issue if there are multiple regions in a node displayed at the same time in TTML file. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196810046
hoangtc committed -
Issue:#4239 Issue:#4254 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196796569
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196765970
pfxing committed -
The sample size from the stsd box takes precedence over the sample size in the stsz box. Also remove assumption that C.INDEX_UNSET is -1 in ChunkIterator (which is a no-op change). Issue: #4228 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196661751
andrewlewis committed -
This adds a cancel method to PlayerMessage. Issue:#4230 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196638901
tonihei committed
-