Class GoogleDaiTypedSource
-
- All Implemented Interfaces:
public final class GoogleDaiTypedSource extends TypedSource
A Google DAI source.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classGoogleDaiTypedSource.BuilderThe builder for a Google DAI source.
-
Field Summary
Fields Modifier and Type Field Description private final transient SourceTypetypeprivate final transient GoogleDaiConfigurationssaiprivate final Stringsrcprivate final DRMConfigurationdrmprivate final Map<String, String>headersprivate final DoubleliveOffsetprivate final BooleanhlsDateRangeprivate final StringtimeServerprivate final BooleanlowLatencyprivate final LatencyConfigurationlatencyConfigurationprivate final HlsPlaybackConfigurationhlsprivate final DashPlaybackConfigurationdashprivate final HespPlaybackConfigurationhespprivate final CMCDTransmissionModecmcdTransmissionMode
-
Constructor Summary
Constructors Constructor Description GoogleDaiTypedSource(String src, DRMConfiguration drm, SourceType type, Map<String, String> headers, Double liveOffset, GoogleDaiConfiguration ssai, Boolean hlsDateRange, String timeServer, Boolean lowLatency, LatencyConfiguration latencyConfiguration, HlsPlaybackConfiguration hls, DashPlaybackConfiguration dash, CMCDTransmissionMode cmcdTransmissionMode)
-
Method Summary
Modifier and Type Method Description SourceTypegetType()The MIME type of the source. GoogleDaiConfigurationgetSsai()The configuration of the selected server-side ad insertion integrations. TypedSourcecopy(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)Creates a new TypedSource with the same properties as this source, optionally replacing specific properties with the given values. -
Methods inherited from class com.theoplayer.android.api.source.TypedSource
equals, getCmcdTransmissionMode, getDash, getDrm, getHeaders, getHesp, getHls, getLatencyConfiguration, getLiveOffset, getSrc, getTimeServer, hashCode, isHlsDateRange, isLowLatency -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
GoogleDaiTypedSource
GoogleDaiTypedSource(String src, DRMConfiguration drm, SourceType type, Map<String, String> headers, Double liveOffset, GoogleDaiConfiguration ssai, Boolean hlsDateRange, String timeServer, Boolean lowLatency, LatencyConfiguration latencyConfiguration, HlsPlaybackConfiguration hls, DashPlaybackConfiguration dash, CMCDTransmissionMode cmcdTransmissionMode)
-
-
Method Detail
-
getType
SourceType getType()
The MIME type of the source. (Nullable)
For all possibilities, see SourceType.
Example:
'application/dash+xml' for MPEG-DASH sources.
'video/mp4' for single MP4 files.
-
getSsai
GoogleDaiConfiguration getSsai()
The configuration of the selected server-side ad insertion integrations. (Nullable)
-
copy
TypedSource 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)
Creates a new TypedSource with the same properties as this source, optionally replacing specific properties with the given values.
-
-
-
-