Adding a payload type for RTX.
BUG=736 TEST=Modified RTP unittests. Review URL: https://webrtc-codereview.appspot.com/1278004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3843 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -133,6 +133,14 @@ class WEBRTC_DLLEXPORT ViERTP_RTCP {
|
||||
virtual int GetRemoteCSRCs(const int video_channel,
|
||||
unsigned int CSRCs[kRtpCsrcSize]) const = 0;
|
||||
|
||||
// This sets a specific payload type for the RTX stream. Note that this
|
||||
// doesn't enable RTX, SetLocalSSRC must still be called to enable RTX.
|
||||
virtual int SetRtxSendPayloadType(const int video_channel,
|
||||
const uint8_t payload_type) = 0;
|
||||
|
||||
virtual int SetRtxReceivePayloadType(const int video_channel,
|
||||
const uint8_t payload_type) = 0;
|
||||
|
||||
// This function enables manual initialization of the sequence number. The
|
||||
// start sequence number is normally a random number.
|
||||
virtual int SetStartSequenceNumber(const int video_channel,
|
||||
|
||||
Reference in New Issue
Block a user