selectSrtpProfile
fn
SrtpProfile selectSrtpProfile(const(SrtpProfile[]) offered,
const(SrtpProfile[]) supported) @safe pure nothrow @nogcSelects the best matching SRTP profile from offered profiles.
Parameters
offered | Profiles offered by the client. |
supported | Profiles supported by the server. |
Returns
The first matching profile, or SrtpProfile.init if none match.