Package | com.adobe.mediacore.utils.scte35 |
Class | public final class SpliceInfo |
Inheritance | SpliceInfo ![]() |
Property | Defined By | ||
---|---|---|---|
command : SpliceCommand [read-only]
Splice command. | SpliceInfo | ||
descriptors : Vector.<SpliceDescriptor> [read-only]
Associated splice descriptors. | SpliceInfo | ||
ptsAdjustment : Number [read-only]
A 33 bit unsigned integer that appears in the clear and that shall be
used by a splicing device as an offset to be added to the time field(s)
throughout this message to obtain the intended splice time(s). | SpliceInfo | ||
tier : uint [read-only]
A 12-bit value used by the SCTE 35 message provider to assign messages
to authorization tiers. | SpliceInfo |
Method | Defined By | ||
---|---|---|---|
SpliceInfo(ptsAdjustment:Number, tier:uint, command:SpliceCommand, descriptors:Vector.<SpliceDescriptor>)
Default constructor. | SpliceInfo |
command | property |
command:SpliceCommand
[read-only] Splice command. The following command types are defined: EmptySpliceCommand, SpliceScheduleCommand, SpliceInsertCommand and TimeSignalCommand. If the receiving device does not support a command it can ignore the entire SpliceInfo object.
public function get command():SpliceCommand
descriptors | property |
descriptors:Vector.<SpliceDescriptor>
[read-only] Associated splice descriptors. This vector can be empty if no descriptors are present.
public function get descriptors():Vector.<SpliceDescriptor>
ptsAdjustment | property |
ptsAdjustment:Number
[read-only] A 33 bit unsigned integer that appears in the clear and that shall be used by a splicing device as an offset to be added to the time field(s) throughout this message to obtain the intended splice time(s). When this field has a zero value, then the time field(s) shall be used without an offset. Normally, the creator of a cueing message will place a zero value into this field. This adjustment value is the means by which an upstream device, which re-stamps pcr/pts/dts, may convey to the splicing device the means by which to convert the time field of the message to a newly imposed time domain. It is intended that the first device that re-stamps pcr/pts/dts and that passes the cueing message will insert a value into the ptsAdjustment field, which is the delta time between this device’s input time domain and its output time domain. All subsequent devices, which also re-stamp pcr/pts/dts, may further alter the ptsAdjustment field by adding their delta time to the field’s existing delta time and placing the result back in the ptsAdjustment field. The ptsAdjustment shall, at all times, be the proper value to use for conversion of the time field to the current time-base. The conversion is done by adding the two fields. In the presence of a wrap or overflow condition the carry shall be ignored.
public function get ptsAdjustment():Number
tier | property |
tier:uint
[read-only] A 12-bit value used by the SCTE 35 message provider to assign messages to authorization tiers. When using tier, the message provider should keep the entire message in a single transport stream packet
public function get tier():uint
SpliceInfo | () | Constructor |
public function SpliceInfo(ptsAdjustment:Number, tier:uint, command:SpliceCommand, descriptors:Vector.<SpliceDescriptor>)
Default constructor.
ParametersptsAdjustment:Number | |
tier:uint | |
command:SpliceCommand | |
descriptors:Vector.<SpliceDescriptor> |