Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
SDK
/
exoplayer
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
5f1c6b65
authored
Feb 17, 2020
by
olly
Committed by
Oliver Woodman
Feb 18, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix SmoothStreaming
Issue: #6981 PiperOrigin-RevId: 295579872
parent
d93b57c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
RELEASENOTES.md
library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/DefaultSsChunkSource.java
RELEASENOTES.md
View file @
5f1c6b65
...
@@ -2,6 +2,8 @@
...
@@ -2,6 +2,8 @@
### 2.11.3 (2020-02-19) ###
### 2.11.3 (2020-02-19) ###
*
SmoothStreaming: Fix regression that broke playback in 2.11.2
(
[
#6981
](
https://github.com/google/ExoPlayer/issues/6981
)
).
*
DRM: Fix issue switching from protected content that uses a 16-byte
*
DRM: Fix issue switching from protected content that uses a 16-byte
initialization vector to one that uses an 8-byte initialization vector
initialization vector to one that uses an 8-byte initialization vector
(
[
#6982
](
https://github.com/google/ExoPlayer/issues/6982
)
).
(
[
#6982
](
https://github.com/google/ExoPlayer/issues/6982
)
).
...
...
library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/DefaultSsChunkSource.java
View file @
5f1c6b65
...
@@ -113,9 +113,12 @@ public class DefaultSsChunkSource implements SsChunkSource {
...
@@ -113,9 +113,12 @@ public class DefaultSsChunkSource implements SsChunkSource {
Track
track
=
new
Track
(
manifestTrackIndex
,
streamElement
.
type
,
streamElement
.
timescale
,
Track
track
=
new
Track
(
manifestTrackIndex
,
streamElement
.
type
,
streamElement
.
timescale
,
C
.
TIME_UNSET
,
manifest
.
durationUs
,
format
,
Track
.
TRANSFORMATION_NONE
,
C
.
TIME_UNSET
,
manifest
.
durationUs
,
format
,
Track
.
TRANSFORMATION_NONE
,
trackEncryptionBoxes
,
nalUnitLengthFieldLength
,
null
,
null
);
trackEncryptionBoxes
,
nalUnitLengthFieldLength
,
null
,
null
);
FragmentedMp4Extractor
extractor
=
new
FragmentedMp4Extractor
(
FragmentedMp4Extractor
extractor
=
FragmentedMp4Extractor
.
FLAG_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME
new
FragmentedMp4Extractor
(
|
FragmentedMp4Extractor
.
FLAG_WORKAROUND_IGNORE_TFDT_BOX
,
null
,
track
,
null
);
FragmentedMp4Extractor
.
FLAG_WORKAROUND_EVERY_VIDEO_FRAME_IS_SYNC_FRAME
|
FragmentedMp4Extractor
.
FLAG_WORKAROUND_IGNORE_TFDT_BOX
,
/* timestampAdjuster= */
null
,
track
);
extractorWrappers
[
i
]
=
new
ChunkExtractorWrapper
(
extractor
,
streamElement
.
type
,
format
);
extractorWrappers
[
i
]
=
new
ChunkExtractorWrapper
(
extractor
,
streamElement
.
type
,
format
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment