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 Credentialcredentialprivate final Optionoptionprivate final StringstreamAccountIdprivate final StringapiUrlprivate final StringsubscriberTokenprivate final OptionconnectOptionsprivate final CMCDTransmissionModecmcdTransmissionModeprivate final DashPlaybackConfigurationdashprivate final DRMConfigurationdrmprivate final Map<String, String>headersprivate final HlsPlaybackConfigurationhlsprivate final BooleanhlsDateRangeprivate final BooleanisHlsDateRangeprivate final BooleanisLowLatencyprivate final LatencyConfigurationlatencyConfigurationprivate final DoubleliveOffsetprivate final BooleanlowLatencyprivate final PlaybackPipelineplaybackPipelineprivate final Stringsrcprivate final SsaiDescriptionssaiprivate final StringtimeServerprivate final SourceTypetype
-
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 CredentialgetCredential()The credentials required to connect and subscribe to the stream. final OptiongetOption()final StringgetStreamAccountId()The account identifier. final StringgetApiUrl()The URL of the API endpoint that the SDK communicates with for authentication. final StringgetSubscriberToken()The subscribing token. final OptiongetConnectOptions()The optional configuration for adjusting stream settings. Booleanequals(Object other)IntegerhashCode()final MillicastSourcecopy(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. MillicastSourcecopy(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)
-
-
-
-