mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
Document that DrmSessionManagerProvider doesn't call DSM#prepare()
#minor-release PiperOrigin-RevId: 355159635
This commit is contained in:
parent
b1920f3a78
commit
0b34cabca0
1 changed files with 7 additions and 1 deletions
|
|
@ -23,6 +23,12 @@ import com.google.android.exoplayer2.MediaItem;
|
|||
*/
|
||||
public interface DrmSessionManagerProvider {
|
||||
|
||||
/** Returns a {@link DrmSessionManager} for the given media item. */
|
||||
/**
|
||||
* Returns a {@link DrmSessionManager} for the given media item.
|
||||
*
|
||||
* <p>The caller is responsible for {@link DrmSessionManager#prepare() preparing} the {@link
|
||||
* DrmSessionManager} before use, and subsequently {@link DrmSessionManager#release() releasing}
|
||||
* it.
|
||||
*/
|
||||
DrmSessionManager get(MediaItem mediaItem);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue