public final class SpliceInsertCommand extends SpliceCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
SpliceInsertCommand.ComponentSplice
Holds splicing information for specific splice insert command components.
|
| Modifier and Type | Field and Description |
|---|---|
boolean |
autoReturn
If
breakDurationUs is not C.TIME_UNSET, defines whether
breakDurationUs should be used to know when to return to the network feed. |
int |
availNum
Holds the value of
avail_num as defined in SCTE35, Section 9.3.3. |
int |
availsExpected
Holds the value of
avails_expected as defined in SCTE35, Section 9.3.3. |
long |
breakDurationUs
The duration of the splice in microseconds, or
C.TIME_UNSET if no duration is present. |
java.util.List<SpliceInsertCommand.ComponentSplice> |
componentSpliceList
If
programSpliceFlag is false, a non-empty list containing the
SpliceInsertCommand.ComponentSplices. |
static android.os.Parcelable.Creator<SpliceInsertCommand> |
CREATOR |
boolean |
outOfNetworkIndicator
If true, the splice event is an opportunity to exit from the network feed.
|
boolean |
programSpliceFlag
Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced.
|
long |
programSplicePlaybackPositionUs
Equivalent to
programSplicePts but in the playback timebase. |
long |
programSplicePts
If
programSpliceFlag is true, the PTS at which the program splice should occur. |
boolean |
spliceEventCancelIndicator
True if the event with id
spliceEventId has been canceled. |
long |
spliceEventId
The splice event id.
|
boolean |
spliceImmediateFlag
Whether splicing should be done at the nearest opportunity.
|
int |
uniqueProgramId
The unique program id as defined in SCTE35, Section 9.3.3.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
describeContentspublic final long spliceEventId
public final boolean spliceEventCancelIndicator
spliceEventId has been canceled.public final boolean outOfNetworkIndicator
public final boolean programSpliceFlag
public final boolean spliceImmediateFlag
programSplicePlaybackPositionUs or
SpliceInsertCommand.ComponentSplice.componentSplicePlaybackPositionUs, depending on
programSpliceFlag.public final long programSplicePts
programSpliceFlag is true, the PTS at which the program splice should occur.
C.TIME_UNSET otherwise.public final long programSplicePlaybackPositionUs
programSplicePts but in the playback timebase.public final java.util.List<SpliceInsertCommand.ComponentSplice> componentSpliceList
programSpliceFlag is false, a non-empty list containing the
SpliceInsertCommand.ComponentSplices. Otherwise, an empty list.public final boolean autoReturn
breakDurationUs is not C.TIME_UNSET, defines whether
breakDurationUs should be used to know when to return to the network feed. If
breakDurationUs is C.TIME_UNSET, the value is undefined.public final long breakDurationUs
C.TIME_UNSET if no duration is present.public final int uniqueProgramId
public final int availNum
avail_num as defined in SCTE35, Section 9.3.3.public final int availsExpected
avails_expected as defined in SCTE35, Section 9.3.3.public static final android.os.Parcelable.Creator<SpliceInsertCommand> CREATOR