Java Code Examples for com.google.android.exoplayer2.C#DATA_TYPE_DRM

The following examples show how to use com.google.android.exoplayer2.C#DATA_TYPE_DRM . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: HlsChunkSource.java    From MediaSDK with Apache License 2.0 5 votes vote down vote up
public EncryptionKeyChunk(
    DataSource dataSource,
    DataSpec dataSpec,
    Format trackFormat,
    int trackSelectionReason,
    @Nullable Object trackSelectionData,
    byte[] scratchSpace) {
  super(dataSource, dataSpec, C.DATA_TYPE_DRM, trackFormat, trackSelectionReason,
      trackSelectionData, scratchSpace);
}
 
Example 2
Source File: HlsChunkSource.java    From Telegram-FOSS with GNU General Public License v2.0 5 votes vote down vote up
public EncryptionKeyChunk(
    DataSource dataSource,
    DataSpec dataSpec,
    Format trackFormat,
    int trackSelectionReason,
    Object trackSelectionData,
    byte[] scratchSpace) {
  super(dataSource, dataSpec, C.DATA_TYPE_DRM, trackFormat, trackSelectionReason,
      trackSelectionData, scratchSpace);
}
 
Example 3
Source File: HlsChunkSource.java    From Telegram with GNU General Public License v2.0 5 votes vote down vote up
public EncryptionKeyChunk(
    DataSource dataSource,
    DataSpec dataSpec,
    Format trackFormat,
    int trackSelectionReason,
    Object trackSelectionData,
    byte[] scratchSpace) {
  super(dataSource, dataSpec, C.DATA_TYPE_DRM, trackFormat, trackSelectionReason,
      trackSelectionData, scratchSpace);
}
 
Example 4
Source File: HlsChunkSource.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
public EncryptionKeyChunk(DataSource dataSource, DataSpec dataSpec, Format trackFormat,
    int trackSelectionReason, Object trackSelectionData, byte[] scratchSpace, String iv) {
  super(dataSource, dataSpec, C.DATA_TYPE_DRM, trackFormat, trackSelectionReason,
      trackSelectionData, scratchSpace);
  this.iv = iv;
}
 
Example 5
Source File: HlsChunkSource.java    From TelePlus-Android with GNU General Public License v2.0 4 votes vote down vote up
public EncryptionKeyChunk(DataSource dataSource, DataSpec dataSpec, Format trackFormat,
    int trackSelectionReason, Object trackSelectionData, byte[] scratchSpace, String iv) {
  super(dataSource, dataSpec, C.DATA_TYPE_DRM, trackFormat, trackSelectionReason,
      trackSelectionData, scratchSpace);
  this.iv = iv;
}
 
Example 6
Source File: HlsChunkSource.java    From K-Sonic with MIT License 4 votes vote down vote up
public EncryptionKeyChunk(DataSource dataSource, DataSpec dataSpec, Format trackFormat,
    int trackSelectionReason, Object trackSelectionData, byte[] scratchSpace, String iv) {
  super(dataSource, dataSpec, C.DATA_TYPE_DRM, trackFormat, trackSelectionReason,
      trackSelectionData, scratchSpace);
  this.iv = iv;
}