Packagecom.adobe.mediacore.utils.scte35
Classpublic final class SpliceInfo
InheritanceSpliceInfo Inheritance Object

SCTE 35 splice information object. The splice information table provides command and control information. It notifies the splicer of splice events in advance of those events. It is designed to accommodate ad insertion in network feeds. In this environment, examples of splice events would include 1) a splice out of a network feed into an ad, or 2) the splice out of an ad to return to the network feed. The splice information table may be sent multiple times and splice events may be cancelled. A splice event indicates the opportunity to splice one or more elementary streams within a program. Each splice event is uniquely identified with a event identifier. Splice events may be communicated in three ways: - they may be scheduled ahead of time, - a pre-roll warning may be given - a command may be given to execute the splice event at specified Splice Points. These three types of messages are sent via the SpliceInfo objects. The SpliceCommand property specifies the message being sent. If the Receiving Device does not support a command it can ignore the entire SpliceInfo command. We don't support encrypted SpliceInfo objects. There are two methods for changing the parameters of a command once it has been issued. One method is to cancel the issued command by sending a SpliceInfo containing a SpliceCommand with eventCancel property set to true and then to send a new SpliceInfo object with the correct/new parameters. The other method is to simply send a subsequent message with the new data (without canceling the old message via a cue message that has the eventCancel set).



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
SpliceInfo(ptsAdjustment:Number, tier:uint, command:SpliceCommand, descriptors:Vector.<SpliceDescriptor>)
Default constructor.
SpliceInfo
Property Detail
commandproperty
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.


Implementation
    public function get command():SpliceCommand
descriptorsproperty 
descriptors:Vector.<SpliceDescriptor>  [read-only]

Associated splice descriptors. This vector can be empty if no descriptors are present.


Implementation
    public function get descriptors():Vector.<SpliceDescriptor>
ptsAdjustmentproperty 
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.


Implementation
    public function get ptsAdjustment():Number
tierproperty 
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


Implementation
    public function get tier():uint
Constructor Detail
SpliceInfo()Constructor
public function SpliceInfo(ptsAdjustment:Number, tier:uint, command:SpliceCommand, descriptors:Vector.<SpliceDescriptor>)

Default constructor.

Parameters
ptsAdjustment:Number
 
tier:uint
 
command:SpliceCommand
 
descriptors:Vector.<SpliceDescriptor>