tee

Function

Native GStreamer plugin. This plugin distributes a single input data record multiple times.

Constraints

None

Plugin Base Class (Factory)

tee

Input/Output

Input: buffer and metadata.

Output: buffer and metadata.

Property

For details, see Table 1.

  • The tee plugin is often used together with the queue plugin. That is, each output port of the tee plugin connects to the queue plugin.
  • The tee plugin distributes the same buffer to multiple channels through shallow copy. Ensure that the buffer can be output through the same appsink port after being processed by multiple branches to prevent core dump.
Table 1 tee plugin properties

Property Name

Description

Mandatory or Not

Modifiable or Not

allow-not-linked

Whether the output port can be unconnected. The default value is false.

No

No

has-chain

Whether to use the push mode. The default value is true.

No

No

last-message

Information about the status. The default value is null.

No

No

num-src-pads

Number of srcpads.

No

No

pull-mode

Behavior in pull mode. The default value is 0.

No

No

silent

Whether to generate the last-message event. The default value is true.

No

No