- 14 Jul, 2019 6 commits
-
-
PiperOrigin-RevId: 257576791
aquilescanta committed -
PiperOrigin-RevId: 257478434
aquilescanta committed -
This is a temporary workaround until we have migrated all MediaSources uses. This change avoids having to migrate all uses of MediaSources immediately. PiperOrigin-RevId: 257459138
aquilescanta committed -
PiperOrigin-RevId: 257456890
olly committed -
To use in HLS when session keys are provided PiperOrigin-RevId: 257421156
aquilescanta committed -
- Remove manifest argument from callbacks of Player.EventListener and SourceInfoRefreshListener. Instead make it accessible through Player.getCurrentManifest() and Timeline.Window.manifest. - Fix all MediaSource implementation to include the manifest in the Timeline instead of passing it to the SourceInfoRefreshListener. - Refactor ExoPlayerTestRunner, FakeTimeline, FakeMediaSource to reflect these changes and make tests pass. PiperOrigin-RevId: 257359662
bachinger committed
-
- 09 Jul, 2019 6 commits
-
-
PiperOrigin-RevId: 257185017
bachinger committed -
PiperOrigin-RevId: 257184313
aquilescanta committed -
PiperOrigin-RevId: 257161518
olly committed -
Sending MESSAGE_PREPARE_SOURCE should happen last in the constructor. It was previously happening before initialization finished (and in particular before pendingMediaPeriods was instantiated). Issue: #6146 PiperOrigin-RevId: 257158275
olly committed -
We currently use an alpha version which allowed us to access new threading features. The stable version of this has been released now and we can switch back. PiperOrigin-RevId: 257149681
tonihei committed -
PiperOrigin-RevId: 257138448
Oliver Woodman committed
-
- 08 Jul, 2019 2 commits
-
-
We currently handle most the control code logic after handling special characters. This includes filtering out repeated control codes and checking for the correct channel. As the special character sets are control codes as well, these checks should happen before parsing the characters. Issue:#6133 PiperOrigin-RevId: 256993672
tonihei committed -
PiperOrigin-RevId: 256751627
olly committed
-
- 05 Jul, 2019 13 commits
-
-
PiperOrigin-RevId: 256680382
olly committed -
PiperOrigin-RevId: 256676196
tonihei committed -
- Explicitly specify HTTP_METHOD_POST (previously this was implicit as a result of the body data being non-null) - Use null when there's no body data (it's converted to null inside of the DataSpec constructor anyway) PiperOrigin-RevId: 256573384
olly committed -
PiperOrigin-RevId: 256573352
olly committed -
PiperOrigin-RevId: 256545951
andrewlewis committed -
Currently, we sometimes apply new playback parameters directly and sometimes through the list of playbackParameterCheckpoints. Only when using the checkpoints, we also reset the offset and corresponding position for speedup position calculation. However, these offsets need to be changed in all cases to prevent calculation errors during speedup calculation[1]. This change channels all playback parameters changes through the checkpoints to ensure the offsets get updated accordingly. This fixes an issue introduced in https://github.com/google/ExoPlayer/commit/31911ca54a13b0003d6cf902b95c2ed445afa930. [1] - The speed up is calculated using the ratio of input and output bytes in SonicAudioProcessor.scaleDurationForSpeedUp. Whenever we set new playback parameters to the audio processor these two counts are reset. If we don't reset the offsets too, the scaled timestamp can be a large value compared to the input and output bytes causing massive inaccuracies (like the +20 seconds in the linked issue). Issue:#6117 PiperOrigin-RevId: 256533780
tonihei committed -
PiperOrigin-RevId: 256526365
olly committed -
This gives a caller greater confidence that the methods have no side effects, and remove any nullness issues with these methods accessing @Nullable member variables. PiperOrigin-RevId: 256525739
olly committed -
- Inline some unnecessarily split out helper methods - Clear ExtractorInput from FlacDecoderJni data after usage - Clean up exception handling for StreamInfo decode failures PiperOrigin-RevId: 256524955
olly committed -
The masking logic for unprepared MediaSources is currently part of ConcatanatingMediaSource. Moving it to its own class nicely separates the code responsibilities and allows reuse. PiperOrigin-RevId: 256360904
tonihei committed -
PiperOrigin-RevId: 256320563
tonihei committed -
PiperOrigin-RevId: 256213895
olly committed -
PiperOrigin-RevId: 256202135
olly committed
-
- 02 Jul, 2019 13 commits
-
-
PiperOrigin-RevId: 256161522
aquilescanta committed -
PiperOrigin-RevId: 256147805
Oliver Woodman committed -
1. Only output video starting from a keyframe 2. When calculating the timestamp offset to adjust live streams to start at t=0, use the timestamp of the first tag from which a sample is actually output, rather than just the first audio/video tag. The test streams in the referenced GitHub issue start with a video tag whose packet type is AVC_PACKET_TYPE_SEQUENCE_HEADER (i.e. does not contain a sample) and whose timestamp is set to 0 (i.e. isn't set). The timestamp is set correctly on tags that from which a sample is actually output. Issue: #6111 PiperOrigin-RevId: 256147747
olly committed -
PiperOrigin-RevId: 256147742
Oliver Woodman committed -
Issue: #6047 PiperOrigin-RevId: 255992898
bachinger committed -
PiperOrigin-RevId: 255964199
olly committed -
The total window and period count, as well as the period offset for each holder are not actually needed and can be removed. Also added a TODO to remove two other variables if possible. PiperOrigin-RevId: 255945584
tonihei committed -
Issue:#6109 PiperOrigin-RevId: 255933121
tonihei committed -
PiperOrigin-RevId: 255584000
andrewlewis committed -
ISSUE: #6093 PiperOrigin-RevId: 255471282
bachinger committed -
PiperOrigin-RevId: 255442455
andrewlewis committed -
PiperOrigin-RevId: 255412493
tonihei committed -
PiperOrigin-RevId: 255410268
tonihei committed
-