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
f630ed1a
authored
Nov 22, 2019
by
olly
Committed by
Oliver Woodman
Nov 22, 2019
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Fix incorrect Javadoc
PiperOrigin-RevId: 281976465
parent
abe3c8ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
library/core/src/main/java/com/google/android/exoplayer2/drm/DrmSessionManager.java
library/core/src/main/java/com/google/android/exoplayer2/source/SampleQueue.java
library/core/src/main/java/com/google/android/exoplayer2/drm/DrmSessionManager.java
View file @
f630ed1a
...
...
@@ -86,8 +86,8 @@ public interface DrmSessionManager<T extends ExoMediaCrypto> {
* DrmSession#release()} to decrement the reference count.
*
* <p>Placeholder {@link DrmSession DrmSessions} may be used to configure secure decoders for
* playback of clear
samples, which reduces the costs of transitioning between clear and encrypte
d
* content periods.
* playback of clear
content periods. This can reduce the cost of transitioning between clear an
d
*
encrypted
content periods.
*
* @param playbackLooper The looper associated with the media playback thread.
* @param trackType The type of the track to acquire a placeholder session for. Must be one of the
...
...
library/core/src/main/java/com/google/android/exoplayer2/source/SampleQueue.java
View file @
f630ed1a
...
...
@@ -332,13 +332,13 @@ public class SampleQueue implements TrackOutput {
/**
* Attempts to read from the queue.
*
* <p>{@link Format Formats} read from th
e th
is method may be associated to a {@link DrmSession}
* <p>{@link Format Formats} read from this method may be associated to a {@link DrmSession}
* through {@link FormatHolder#drmSession}, which is populated in two scenarios:
*
* <ul>
* <li>The
sample has a {@link Format} with
a non-null {@link Format#drmInitData}.
* <li>The {@link DrmSessionManager}
is configured to use secure decoders for clear samples. See
*
{@link DrmSessionManager#FLAG_PLAY_CLEAR_SAMPLES_WITHOUT_KEYS
}.
* <li>The
{@link Format} has
a non-null {@link Format#drmInitData}.
* <li>The {@link DrmSessionManager}
provides placeholder sessions for this queue's track type.
*
See {@link DrmSessionManager#acquirePlaceholderSession(Looper, int)
}.
* </ul>
*
* @param formatHolder A {@link FormatHolder} to populate in the case of reading a 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