pub unsafe extern "C" fn ocrypto_srtp_decrypt(
    srtp_ctx: *const ocrypto_srtp_ctx,
    data: *mut u8,
    packet_bytes: *const u8,
    num_packet_bytes: usize,
    index: u32
)
Expand description

Decrypt SRTP packet.

  • srtp_ctx - SRTP context.
  • data - Decrypted data.
  • packet_bytes - Packet bytes.
  • num_packet_bytes - Number of packet bytes.
  • index - Packet index.