Files
webrtc/internal/srtp/srtp.h
Sean DuBois c23159338c Implement SRTP
RTP packets are successfully decrypted
2018-06-09 16:10:19 -07:00

19 lines
351 B
C

#ifndef SRTP_H
#define SRTP_H
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include "srtp2/srtp.h"
typedef struct rtp_packet {
void *data;
int len;
} rtp_packet;
srtp_t *srtp_create_session(void *client_write_key, void *server_write_key, char *profile);
rtp_packet *srtp_decrypt_packet(srtp_t * sess, void *data, int len);
#endif