Skip to content
  • Mathieu Duponchelle's avatar
    webrtcsink: implement mechanism to forward metas over control channel · 6a23ae16
    Mathieu Duponchelle authored and GStreamer Marge Bot's avatar GStreamer Marge Bot committed
    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.
    
    Part-of: <!1749>
    6a23ae16