sdp: gstmikey: gst_mikey_message_to_caps: extract salt and append to srtp-key
authorBart Van Severen <bart.vanseveren@barco.com>
Wed, 14 Dec 2022 09:31:14 +0000 (10:31 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 27 Jan 2023 01:58:48 +0000 (01:58 +0000)
commit0b086876332f87f3bfc892b991da8530eb63da44
tree7c26a306afa66cea66a42f5bd5fe44c1178d7a74
parentf04878c216f4397f6cd2ae099f807fb6bd387f87
sdp: gstmikey: gst_mikey_message_to_caps: extract salt and append to srtp-key

A KEMAC can hold both key and salt, so if salt is present, we should extract it
and append it to the srtp-key cap because libsrtp expects the srtp-key to hold
the concantenated srtp master key and salt.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3818>
subprojects/gst-plugins-base/gst-libs/gst/sdp/gstmikey.c