pub unsafe extern "C" fn ocrypto_srtp_setup_ctx(
srtp_ctx: *mut ocrypto_srtp_ctx,
srtcp_ctx: *mut ocrypto_srtp_ctx,
key: *const u8,
key_size: u32,
salt: *const u8,
tag_size: u32,
ssrc: u32,
)Expand description
Setup SRTP contexts.
srtp_ctx- SRTP context to be setup.srtcp_ctx- SRTCP context to be setup.key- Master key.key_size- Size of the master key (16, 24, or 32 bytes).salt- Master salt ( *ocrypto_srtp_SALT_SIZE- bytes).tag_size- Size of the authentication tag.ssrc- Synchronization source.