MIKEYMessage.newFromCaps

gstsdp.mikeymessage.MIKEYMessage newFromCaps(gst.caps.Caps caps) static nothrow

Makes mikey message including:

  • Security Policy Payload
  • Key Data Transport Payload
  • Key Data Sub-Payload

    Parameters

    capsa #GstCaps, including SRTP parameters (srtp/srtcp cipher, authorization, key data)

    Returns

    a #GstMIKEYMessage, or null if there is no srtp information in the caps.