- 18 Jun, 2018 22 commits
-
-
Issue: #3906 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200526335
olly committed -
This replaces the workaround calculation which was needed before the referenced bug was fixed. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200217241
tonihei committed -
Issue:#2025 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200212344
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200211755
tonihei committed -
Issue: #4360 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200186465
andrewlewis committed -
The helper method only reported DATA_TYPE_UNKNOWN even if the actual type is known. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200067296
tonihei committed -
Currently only the buffered position in the current media period can be queried. To achieve this, we save the buffered positions of all MediaPeriods to the PlaybackInfo together with a list of MediaPeriodIds. ExoPlayerImpl can then determine the correct buffered position for multi-period windows and windows with midroll ads. In addition, this change adds two new convenience methods to the Player interface to query the total buffered duration across all windows and to get the buffered duration of the content while playing an ad. Issue:#4023 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=200041791
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199856613
olly committed -
This allows the AnalyticsCollector to register itself as a VideoListener to get these updates automatically instead of relying on the user to provide updates. The ViewportSizeReporter was amended to do the pixel to dp conversion itself. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199796532
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199792156
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199791722
eguven committed -
It doesn't really serve a purpose and is not automatically triggered. Apps need to trigger it manually through AnalyticsCollector.notifyNetworkTypeChanged which is easy to forget. Moreover, the current network type can be obtained by Util.getNetworkType at any time when it's needed without the need for a listener. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199790033
tonihei committed -
Also add a few missing MP4 object types. Issue: #4264 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199778373
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199767518
eguven committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199758072
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199683216
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199650794
andrewlewis committed -
Allows DrmInitData to carry a license server URL when the media declares one. Issue:#3393 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199643743
aquilescanta committed -
This reports video and audio format selections. See [] for spec details. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199627176
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199607604
aquilescanta committed -
This allows to detect changes in the surface size. SimpleExoPlayer already has the necessary listeners to report size changes for all surfaces whose lifecycle are managed by SimpleExoPlayer. In a subsequent change, AnalyticsCollector can be registered as a VideoListener to automatically notify of surface size changes. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199605434
tonihei committed -
Using new Handler(this) in a constructor potentially leaks an uninitialized object. This is mostly not a problem because we don't use the Handler within the constructor. Added a Util method to keep the warning suppression local. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199605377
tonihei committed
-
- 06 Jun, 2018 6 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199487948
tonihei committed -
Issue: #4292 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199478946
andrewlewis committed -
When switching from Stack to ArrayDeque, calls to add() need to be replaced by calls to push() because ArrayDeque treats the first element in the list as the top of the stack. String.split() has counterintuitive default behavior; see https://github.com/google/error-prone/blob/master/docs/bugpattern/StringSplitter.md. I've switched usages to pass limit = -1 argument, which means empty elements are no longer removed from the end of the returned array. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199472592
andrewlewis committed -
Currently, we are using 2 copy steps for PixelCopySurfaceCapturerV24: - Copy from the source surface to a similarly sized bitmap (using PixelCopy API). - Copy from the bitmap to a scaled bitmap, based on the given output size, using scaledBitmap API. This CL merges the 2 steps and uses PixelCopy API to perform copy directly from the source surface to the bitmap of the given output size. However, since our test uses scaledBitmap API to create reference bitmap from original image, due to various Bitmap copy optimizations (filtering, antialiasing etc...) that are different between PixelCopy API and scaledBitmap API implementations, the result images cannot be the same. We can perform the our tests by asserting that their PSNR value is very high, which means they are very similar. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199472005
hoangtc committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199453125
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199448766
aquilescanta committed
-
- 05 Jun, 2018 12 commits
-
-
Oliver Woodman committed
-
Blacklist Moto C from setOutputSurface
ojw28 committed -
close initDataSource after reading
ojw28 committed -
This enabled the player to specify the bandwidth meter after the track selector and the track selection factory have been created. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199286400
tonihei committed -
The implementation keeps track of QoE sessions and forwards events to the field reporters of the relevant sessions. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199269574
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199266768
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199265539
aquilescanta committed -
If a MediaPeriod uses a Loadable, then there are typically reference chains of the form: LoadingThread[GCroot]->Loadable->MediaPeriod->Player Where the player is the MediaPeriod callback. When the player is released, this reference chain prevents the player from being GC'd until Loadable cancellation completes, which may not always be fast. This in turn will typically prevent the application's activity from being GC'd, since it'll normally be registered as a listener on the player (directly or indirectly via something like a view). This change mitigates the issue by removing references that the MediaPeriod holds back to the player. The MediaPeriod will still not be eligible for GC, but the player and application activity will be, which in most cases will be most of the leak (in terms of size). Issue: #4249 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199143646
olly committed -
This happens when the device screen is locked. This fixes a previous attempt to fix the problem. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199130325
eguven committed -
This will allow the player to obtain the transfer listener used by the bandwidth meter in order to pass it automatically to the relevant data sources. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199124880
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199120421
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=199110920
falhassen committed
-