Skip to content

sdp: gstmikey: gst_mikey_message_to_caps: extract ROC from first crypto session

We need the ROC to decrypt a SRTP stream as the ROC is part of the AES IV. So look for first crypto session, from which we can get the ROC and find corresponding crypto policy. We should also extract the salt if present, and append to the srtp-key.

Edited by Bart Van Severen

Merge request reports