Data structure for RTP Receiver
Data structure for RTP Receiver
RtpReceiver(int localMinPort, int localMaxPort, RtpPayloadType apiFormat = rtpPayloadPCMU, RtpPayloadType networkFormat = rtpPayloadPCMU, int jitterNew = 0)
RtpReceiver(UdpStack* udp, RtpPayloadType apiFormat = rtpPayloadPCMU, RtpPayloadType networkFormat = rtpPayloadPCMU, int jitterNew = 0)
void constructRtpReceiver(RtpPayloadType apiFormat, RtpPayloadType networkFormat, int jitterNew)
~RtpReceiver()
RtpPacket* receive()
RtpPacket* getPacket()
int isValid(RtpPacket* packet)
int updateSource(RtpPacket* packet)
void initSource(RtpPacket* packet)
int addSource(RtpPacket* packet)
void removeSource(RtpSrc src, int flag = 0)
NtpTime rtp2ntp(RtpTime time)
void emptyNetwork()
void setRTCPrecv(RtcpReceiver* rtcpRecv)
void setApiFormat(RtpPayloadType type, int no_samples, RtpPacket* p = NULL, bool print = true)
int getApiPktSampleSize()
void setApiPktSize(int size)
void setNetworkFormat(RtpPayloadType type, int no_samples, RtpPacket* p = NULL, bool print = true)
int getNetworkPktSampleSize()
void setNetworkPktSize(int size)
int getPacketReceived()
int getPayloadReceived()
int getJitter()
int getPort()
int getSocketFD()
RtpReceiverError receiverError
UdpStack* getUdpStack()
static const int IN_BUFFER_SIZE
static const int RECV_BUF
static const int MISORDER
static const int PROB_MAX
bool sourceSet
RtpSrc ssrc
bool probationSet
RtpSrc srcProbation
int probation
RtpSeqNumber seedSeq
NtpTime seedNtpTime
RtpTime seedRtpTime
RtpTime sampleRate
int baseSampleRate
RtpPacket* prevPacket
NtpTime gotime
int packetReceived
int payloadReceived
RtpTime prevRtpTime
NtpTime prevNtpTime
RtpSeqNumber prevSeqRecv
RtpSeqNumber prevSeqPlay
int recvCycles
int playCycles
int transit
int jitter
int jitterTime
RtcpReceiver* rtcpRecv
friend class RtcpTransmitter
friend class RtcpReceiver
RtpPayloadType apiFormat
int api_pktSampleSize
int apiFormat_perSampleSize
int apiFormat_bitRate
int jitterSeed
UdpStack* myStack
generated by doc++