media/library/core/src/main
tonihei 874dc202f8 Prevent timeline access in AnalyticsCollector for future windows and periods.
Some of the events are emitted by the media periods itself and their index may
not be available in the publicly accessible timeline yet.

To prevent this, we currently check for timeline.isEmpty() only. But this may
also happen for dynamic changes, e.g. when new sources are added in fast
succession and a manifest for one of the new sources starts loading before the
updated timeline is reported.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=194057401
2018-05-07 06:07:29 +01:00
..
java/com/google/android/exoplayer2 Prevent timeline access in AnalyticsCollector for future windows and periods. 2018-05-07 06:07:29 +01:00
javadoc/com/google/android/exoplayer2/doc-files Update Timeline Javadoc to include brief mention of ad groups 2017-07-21 11:14:38 +01:00
AndroidManifest.xml Modularize ExoPlayer steps 1 + 2. 2017-03-22 18:49:30 +00:00