@Deprecated public final class DrmUtil extends BrightcoveDrmUtil
| Constructor and Description |
|---|
DrmUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static com.google.android.exoplayer.upstream.HttpDataSource |
createHttpDataSource()
Deprecated.
Creates new instance of the
HttpDataSource. |
static com.google.android.exoplayer.upstream.HttpDataSource |
createHttpDataSource(java.util.Map<java.lang.String,java.lang.String> requestProperties)
Deprecated.
Creates new instance of the
HttpDataSource. |
static byte[] |
executePost(java.lang.String url,
byte[] data,
java.util.Map<java.lang.String,java.lang.String> requestProperties)
Deprecated.
|
getLicenseDuration, getLongValue, getRemainingLicenseDuration, getRemainingPlaybackDuration@NonNull
public static com.google.android.exoplayer.upstream.HttpDataSource createHttpDataSource(@Nullable
java.util.Map<java.lang.String,java.lang.String> requestProperties)
HttpDataSource.requestProperties - a map of HTTP header names and values to be added to the request.@NonNull public static com.google.android.exoplayer.upstream.HttpDataSource createHttpDataSource()
HttpDataSource.public static byte[] executePost(java.lang.String url,
@Nullable
byte[] data,
@Nullable
java.util.Map<java.lang.String,java.lang.String> requestProperties)
throws java.io.IOException
java.io.IOException