Single operation messages carry one operation each. In SCTE-104 they are used for the conversation between the
automation system, the injector and the PAMS (the system that manages injector configuration): connecting, checking that the
other side is alive, confirming that a cue was sent. They normally travel over a TCP connection, not in the video.
The SDK parses single operation messages found in VANC or MXF and can send them, for completeness. To place cues in the video, use
multiple operation messages.
In a response: the result code (100 means success). In a request: 0xFFFF.
result_extension
16
Additional result information; 0xFFFF when not used.
protocol_version
8
Version of the message format, 0.
AS_index
8
Which automation system the message belongs to.
message_number
8
Sequence number; a response repeats the number of its request.
DPI_PID_index
16
Which SCTE-35 stream of the injector the message is about.
data
An element named after the operation, with its fields. Operations without data have an empty element.
Operations
opID
Operation
From → to
What it does
0x0000 (0)
general_response_data
any → any
General response or error report. No data.
0x0001 (1)
init_request_data
automation → injector
Opens the session. No data.
0x0002 (2)
init_response_data
injector → automation
Answers the init request. No data.
0x0003 (3)
alive_request_data
automation → injector
Checks that the injector is alive.
0x0004 (4)
alive_response_data
injector → automation
Answers the alive request.
0x0007 (7)
inject_response_data
injector → automation
The cue request was received.
0x0008 (8)
inject_complete_response_data
injector → automation
All SCTE-35 cues of the request have been sent.
0x0009 (9)
config_request_data
automation → PAMS
The automation system reports its network address.
0x000A (10)
config_response_data
PAMS → automation
Answers the config request.
0x000B (11)
provisioning_request_data
PAMS → automation
Lists the injectors and services set up for cue insertion.
0x000C (12)
provisioning_response_data
automation → PAMS
Answers the provisioning request. No data.
0x000F (15)
fault_request_data
automation → PAMS
Reports a problem with an injector.
0x0010 (16)
fault_response_data
PAMS → automation
Answers the fault report. No data.
0x0011 (17)
AS_alive_request_data
PAMS → automation
Checks that the automation system is alive. No data.
0x0012 (18)
AS_alive_response_data
automation → PAMS
Answers the check. No data.
Fields
alive_request_data, alive_response_data
Field
Bits
Meaning
time / seconds
32
Current time of the sender, seconds.
time / microseconds
32
Microseconds part of the time.
inject_response_data
Field
Bits
Meaning
message_number
8
Number of the cue request that was received.
inject_complete_response_data
Field
Bits
Meaning
message_number
8
Number of the completed cue request.
cue_message_count
8
How many SCTE-35 cues were sent for it.
config_request_data
Field
Bits
Meaning
AS_IP_address
32
IPv4 address of the automation system, as a number.
AS_socket_number
16
Its TCP port.
activeflag
8
1 – this automation system is the active one.
protocol_version
8
Protocol version it uses.
last_AS_index
8
The AS_index it used last time.
last_injectorcount
16
Number of injectors it knew last time.
permanent_connection_requested
8
1 – keep the connection open.
config_response_data
Field
Bits
Meaning
AS_index
8
Index given to the automation system.
permanent_connection_requested
8
1 – keep the connection open.
provisioning_request_data
A list of services. For each of the service_count services:
Field
Bits
Meaning
injector_IP_address, injector_socket_number
32, 16
Address and port of the injector.
service_name
32 characters
Name of the service.
number_of_DPI_PIDs
8
Number of SCTE-35 streams; for each: DPI_PID_index (16), shared_PID (8), cue_stream_type (8).
component_mode
8
1 – the service uses component mode; then injector_component_list follows with video_component_tag, the audio component tags and the data component tags, each list preceded by its count.
fault_request_data
Field
Bits
Meaning
injector_IP_address, injector_socket_number
32, 16
The injector with the problem.
injector_service_name
32 characters
Its service name.
DPI_PID_index
16
The affected SCTE-35 stream.
Sending
Put the XML with the SCTE104 wrapper on a frame, as for multiple operation messages (see
SCTE-104 on SDI: receiving and sending). Give the operation in field form; give result and
result_extension explicitly (0xFFFF in requests).