Elecard SMPTE 2022-7 Switcher

Elecard SMPTE 2022-7 Switcher is a GStreamer plugin that ensures recovery of one undamaged TS stream from multiple corrupted input streams, assuming that each undamaged sample (an RTP datagram or a T2-MI packet) is contained in at least one of the streams. Both RTP and TS streams containing T2-MI can be used as input streams.

Features

Elecard SMPTE 2022-7 Switcher has the following features:

  • Implements recovery according to the SMPTE ST 2022-7 specification;

  • Supports recovery in TS streams without overhead containing T2-MI packets;

  • The MPEG TS payload type is 33;

  • The timestamp clocking rate is 90000 Hz.

Parameter Description

Below is the table describing Elecard SMPTE 2022-7 Switcher parameters and their values:

Parameter Name

Description

Value Type

Available Values [range]

Default

Flags

data-timeout

Specifies the starting timeout in milliseconds, after which an input stream that has not sent any data is marked as inactive and is then ignored.

Integer

[50 – 2147483647]

150

readable, writable

initial-prebuffering

The size of the initial buffer in milliseconds. Without filling the buffer to the initial fullness, the switcher will not output data. This is required in cases when we are using a source with the highest delay (of all available sources or the only source), and it is unavailable when we build and run the schema. However, it is important that this source could be a candidate for switching (become a master source) when it appears, and our buffer could satisfy the requirement of minimum stream delay being equal to buffer size.

Integer

[0 – 10000]

0

readable, writable

name

Specifies the name of the object.

String

e2022switcher0

readable, writable

parent

Specifies the parent of the object.

Object of type GstObject

readable, writable

stats-json

Shows switcher statistics in JSON format. It is a read-only parameter.

String

“selectedStreamID”: -1, “outputPackets”: 0, “switches”: 0, “loses”: 0, “bufferedPackets”: {}, “bufferedDuration”: {}, “sequenceErrors”: {}, “delays”: {}

readable

switcher-type

Specifies the switcher type.

Enum

0 — SMPTE 2022-7
1 — T2-MI

0

readable, writable

target-bitrate

Shows the target bitrate of the output stream in bits per second. If specified, all input padding will be removed, and PCR timestamps will be recalculated. If set to 0, the bitrate of the current main stream will be preserved (the bitrate may change when switching).

Integer64

[0 – 9223372036854775807]

0

readable, writable