Skip to content

webrtcsink: implement mechanism to forward metas over control channel

It may be desirable for the frontend to receive ancillary information over the control channel.

Such information includes but is not limited to time code metas, support for other metas (eg custom meta) might be implemented in the future, as well as downstream events.

This patch implements a new info message, probes buffers that arrive at nicesink to look up timecode metas and potentially forwards them to the consumer when the forward-metas property is set appropriately.

Internally, a "dye" meta is used to trace the media identifier the packet we are about to send over relates to, as rtpfunnel bundles all packets together.

The example frontend code also gets a minor update and now logs info messages to the console.

Merge request reports

Loading