Class MillicastSource
-
- All Implemented Interfaces:
public final class MillicastSource extends TypedSource
A source representing a Dolby Millicast stream.
-
-
Field Summary
Fields Modifier and Type Field Description private final Credential
credential
private final Option
option
private final String
streamAccountId
private final String
apiUrl
private final String
subscriberToken
private final Option
connectOptions
private final CMCDTransmissionMode
cmcdTransmissionMode
private final DashPlaybackConfiguration
dash
private final DRMConfiguration
drm
private final Map<String, String>
headers
private final HlsPlaybackConfiguration
hls
private final Boolean
hlsDateRange
private final Boolean
isHlsDateRange
private final Boolean
isLowLatency
private final LatencyConfiguration
latencyConfiguration
private final Double
liveOffset
private final Boolean
lowLatency
private final PlaybackPipeline
playbackPipeline
private final String
src
private final SsaiDescription
ssai
private final String
timeServer
private final SourceType
type
-
Constructor Summary
Constructors Constructor Description MillicastSource(Credential credential, Option option)
A source representing a Dolby Millicast stream. MillicastSource(String src, String streamAccountId, String apiUrl, String subscriberToken, Option connectOptions)
-
Method Summary
Modifier and Type Method Description final Credential
getCredential()
The credentials required to connect and subscribe to the stream. final Option
getOption()
final String
getStreamAccountId()
The account identifier. final String
getApiUrl()
The URL of the API endpoint that the SDK communicates with for authentication. final String
getSubscriberToken()
The subscribing token. final Option
getConnectOptions()
The optional configuration for adjusting stream settings. Boolean
equals(Object other)
Integer
hashCode()
final MillicastSource
copy(String src, String streamAccountId, String apiUrl, String subscriberToken, Option connectOptions)
Creates a new MillicastSource with the same properties as this source, optionally replacing specific properties with the given values. MillicastSource
copy(String src, DRMConfiguration drm, SourceType type, Map<String, String> headers, Double liveOffset, SsaiDescription ssai, Boolean hlsDateRange, String timeServer, Boolean lowLatency, LatencyConfiguration latencyConfiguration, HlsPlaybackConfiguration hls, DashPlaybackConfiguration dash, CMCDTransmissionMode cmcdTransmissionMode, PlaybackPipeline playbackPipeline)
-
Methods inherited from class com.theoplayer.android.api.source.TypedSource
getCmcdTransmissionMode, getDash, getDrm, getHeaders, getHls, getIsHlsDateRange, getIsLowLatency, getLatencyConfiguration, getLiveOffset, getPlaybackPipeline, getSrc, getSsai, getTimeServer, getType, isHlsDateRange, isLowLatency
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCredential
final Credential getCredential()
The credentials required to connect and subscribe to the stream.
-
getOption
final Option getOption()
-
getStreamAccountId
final String getStreamAccountId()
The account identifier.
-
getApiUrl
final String getApiUrl()
The URL of the API endpoint that the SDK communicates with for authentication.
-
getSubscriberToken
final String getSubscriberToken()
The subscribing token.
-
getConnectOptions
final Option getConnectOptions()
The optional configuration for adjusting stream settings.
-
copy
final MillicastSource copy(String src, String streamAccountId, String apiUrl, String subscriberToken, Option connectOptions)
Creates a new MillicastSource with the same properties as this source, optionally replacing specific properties with the given values.
-
copy
MillicastSource copy(String src, DRMConfiguration drm, SourceType type, Map<String, String> headers, Double liveOffset, SsaiDescription ssai, Boolean hlsDateRange, String timeServer, Boolean lowLatency, LatencyConfiguration latencyConfiguration, HlsPlaybackConfiguration hls, DashPlaybackConfiguration dash, CMCDTransmissionMode cmcdTransmissionMode, PlaybackPipeline playbackPipeline)
-
-
-
-