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
f91cfb12
authored
May 15, 2020
by
olly
Committed by
Oliver Woodman
May 15, 2020
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Attach ExoMediaCryptoType for progressive streams
PiperOrigin-RevId: 311628160
parent
932a8fcf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
library/core/src/main/java/com/google/android/exoplayer2/source/ProgressiveMediaPeriod.java
library/core/src/main/java/com/google/android/exoplayer2/source/ProgressiveMediaPeriod.java
View file @
f91cfb12
...
@@ -781,6 +781,11 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
...
@@ -781,6 +781,11 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
trackFormat
=
trackFormat
.
buildUpon
().
setAverageBitrate
(
icyHeaders
.
bitrate
).
build
();
trackFormat
=
trackFormat
.
buildUpon
().
setAverageBitrate
(
icyHeaders
.
bitrate
).
build
();
}
}
}
}
if
(
trackFormat
.
drmInitData
!=
null
)
{
trackFormat
=
trackFormat
.
copyWithExoMediaCryptoType
(
drmSessionManager
.
getExoMediaCryptoType
(
trackFormat
.
drmInitData
));
}
trackArray
[
i
]
=
new
TrackGroup
(
trackFormat
);
trackArray
[
i
]
=
new
TrackGroup
(
trackFormat
);
}
}
trackState
=
new
TrackState
(
new
TrackGroupArray
(
trackArray
),
trackIsAudioVideoFlags
);
trackState
=
new
TrackState
(
new
TrackGroupArray
(
trackArray
),
trackIsAudioVideoFlags
);
...
...
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