#ifndef __RTP_AUDIO_SENDER_H__ #define __RTP_AUDIO_SENDER_H__ #include #include #include #include #include //#include "srtp.h" #include "SrtpStream.h" class RtpAudioSender { private: int socketFd; uint32_t sequenceNumber; struct sockaddr *sockAddr; int sockAddrLen; SrtpStream srtpStream; public: RtpAudioSender(int socketFd, struct sockaddr *sockAddr, int sockAddrLen, SrtpStreamParameters *parameters); // ~RtpAudioSender(); int init(); int send(int timestamp, char *encodedData, int encodedDataLen); }; #endif