"zmq" Sink
caution
This sink is deprecated and may be removed in the future.
The Channel Metadata WebSocket is the preferred way to consume analytics metadata from Nimble.
Publish pipeline metadata (with optional jpeg) to a ZMQ socket.
This sink will make an outgoing ZMQ PUB
socket connection and actively push metadata through it.
Depending on the configuration of the connected pipeline (if it includes an image-encoder
element),
the ZMQ message may include an encoded JPEG image;
otherwise it will include a presentation timestamp (PTS) for synchronizing with the associated MP4 Stream.
tip
For a detailed example, please refer to Subscriber Example.
Examples
REST API
{
"type": "zmq",
"address": "tcp://*:22952",
"filter": []
}
Configuration File
Publish all channels:
sinks:
- type: zmq
address: tcp://*:22952
filter: []
Publish specific channels:
sinks:
- type: zmq
address: tcp://*:22952
filter: [1,2]