- 28 Jun, 2018 15 commits
-
-
Currently, we are discarding all TS PES payload readers on seek. This is to fix a bug that makes PES stream readers read packets inconsistently after seeking (first time, the readers ignore all packets before PMT, second seek time after PMT is read, the readers will read all packets before PMT). This works fine if we don't support seeking to arbitrary position within the TS stream. However, this may lead to a problem if we want to support seeking, because some TS streams only have track format at the begining of the stream, and reseting the payload readers after seeking can lead to track format not available anymore. This change reverts the original fix (do not discard TS PES payload readers on seek anymore). Instead, in non-HLS mode, after we have processed all PMTs packets in the strea, we will re-seek to the beginning and perform readin again to make sure the result will be consistent across multiple seeks. This is a prepare step to support seeking in TS streams. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202466233
hoangtc committed -
This url is readily available when creating media source events (from the data source) but so far not published to external listeners. This change adds a new field to LoadEventInfo which corresponds to DataSource.getUri(). Issue:#2054 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202459049
tonihei committed -
Currently we immediately stop searching after we found one video and one audio track. This change adds some leeway to detect additional tracks. Issue:#4406 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202455491
tonihei committed -
Add methods setCustomErrorMessage(@Nullable CharSequence message) and setCustomErrorMessage(@Nullable CharSequence message, int code) to MediaSessionConnector to report errors to the MediaSession which are not player errors. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202352083
borrelli committed -
Original change by nickchavez@nickchavez:andcsvol:3257:citc on 2018/06/19 12:41:18. Add VolumeProvider interface to VideoAdPlayer and VideoStreamPlayer. - Send volume on videoDisplay.start so that it can be sent to OMID. - Add unit tests for AdPlayerCalback and ExoPlayerVideoAdPlayerImpl. - Add functional tests for client side and DAI volume updates. Add onVolumeChanged() to VideoAdPlayerCallback and VideoStreamPlayerCallback. - Implement volume updates for SDK owned video player. - Remove mute/unmute events, which are handled in JS instead (like iOS). - Collect volume changes from client side and DAI video players. External: Publisher players will now have to implement getVolume() and onVolumeChanged() for custom video players. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202324636
nickchavez committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202313695
aquilescanta committed -
Also moved shared code to SegmentDownloadAction between its subclasses. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202294880
eguven committed -
This allows to use it as a snapshot of the representation. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202287466
tonihei committed -
Issue: #4413 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202277924
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202136530
bachinger committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202135484
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202132623
tonihei committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202103550
aquilescanta committed -
Issue: #3879 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202100576
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=202080962
andrewlewis committed
-
- 25 Jun, 2018 4 commits
-
-
Issue:#3370 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201996109
aquilescanta committed -
When getMedatadata from an ExtractorMediaPeriod, due to the MediaPeriod refreshing its Timeline twice, the MetadataRetriever may wrongly reset periodIndex of the current trackGroup to C.TIME_UNSET, which makes it unable to handle subsequent metadata queries. This CL changes the MetadataRetriever to keep track of periodUid of the current trackGroup instead of period index. PeriodUid is not changed on timeline refreshing, so is not prone the existing problem. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201969350
hoangtc committed -
Refactor sniff(), and extract a few methods out from read() to make it look clearer. This CL does not change any functionality. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201933207
hoangtc committed -
The DefaultAnalyticsListener was added for selective overrides. Now that Java 8 support is enabled, these selective listener overrides can be implemented more easily and more flexible using default methods. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201931770
tonihei committed
-
- 22 Jun, 2018 13 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201695876
olly committed -
The DefaultEventListener was added for selective overrides. Now that Java 8 support is enabled, these selective listener overrides can be implemented more easily and more flexible using default methods. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201695490
tonihei committed -
Issue:#3393 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201694813
aquilescanta committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201679215
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201678686
olly committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201678261
olly committed -
Both values are helpful for event reporting, but are only available while the data source is open. Similar to bytesLoaded, they need to be reported through the Chunk. Issue:#2054 Issue:#4361 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201664907
tonihei committed -
This will make it possible for ImaAdsLoader to access the player volume when used with SimpleExoPlayer. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201664189
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201530049
aquilescanta committed -
Issue: #4403 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201525284
andrewlewis committed -
Issue:#4379 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201497585
bachinger committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201484853
andrewlewis committed -
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201376315
andrewlewis committed
-
- 20 Jun, 2018 8 commits
-
-
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201374393
olly committed -
Replace assertThat(a >= b).isTrue() with assertThat(a).isAtLeast(b) because it reads more natural, and in case the assertion fails, it will print out the actual values to help debugging. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201371993
hoangtc committed -
[] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201350930
bachinger committed -
Currently, the looper of the thread the player is created on is used (or the main looper if this thread doesn't have a looper). To allow more control over the threading, this change lets users specificy the looper which must be used to call player methods and which is used for event callbacks. Issue:#4278 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201331564
tonihei committed -
Issue: #4396 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201324467
eguven committed -
Also switch from using a CommentFrame to a new InternalFrame type for ID3 data stored with ID '----', to distinguish internal data from actual ID3 comments. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201315254
andrewlewis committed -
Issue:#4394 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201178909
aquilescanta committed -
Added a capturer that can capture output from video renderer into bitmaps. This class uses SurfaceCapturer to setup a surface, then configures this surface as the output for a video renderer. Once the output is set, it will capture the output frames from the video renderer and return them as bitmaps. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=201148184
hoangtc committed
-