queue
Function |
Native GStreamer plugin. When this plugin outputs data, another thread is created for subsequent processing to decouple the input data from the output data, create a buffer queue, and store the data that has not been output to the downstream plugin. |
|---|---|
Constraints |
By default, the buffer queue can store fewer than 200 buffers whose size is smaller than 10 MB. The storage duration is 1 second. |
Plugin Base Class (Factory) |
queue |
Input/Output |
Input: buffer and metadata Output: buffer and metadata |
Property |
For details, see Table 1. |
Property Name |
Description |
Mandatory or Not |
Modifiable or Not |
|---|---|---|---|
current-level-buffers |
Number of buffers in the current queue. The default value is 0. |
No |
No |
current-level-bytes |
Total data in the current queue. The default value is 0. |
No |
No |
current-level-time |
Total data in the current queue (in nanoseconds). The default value is 0. |
No |
No |
flush-on-eos |
When receiving an EOS event, the system discards all data or immediately continues to transmit the EOS event. The default value is no. |
No |
No |
leaky |
Leakage location of a queue. The value 0 (default) indicates that the queue is not leaked, 1 indicates new data leakage, and 2 indicates old data leakage. |
No |
Yes |
max-size-buffers |
Maximum number of buffers in the queue. The default value is 200. |
No |
Yes |
max-size-bytes |
Maximum data volume in the queue. The default value is 10485760. |
No |
No |
max-size-time |
Maximum data volume in a queue (in nanoseconds). The default value is 1000000000. |
No |
No |
min-threshold-buffers |
Minimum number of buffers that can be read in the queue. The default value is 0. |
No |
No |
min-threshold-bytes |
Minimum data volume that can be read from the queue. The default value is 0. |
No |
No |
min-threshold-time |
Minimum data volume that can be read from the queue (in nanoseconds). The default value is 0. |
No |
No |
silent |
Whether to release the queue signal. The default value is no. |
No |
No |