Support associated payload type when registering Rtx payload type.
Major changes include, - Add associated payload type for SetRtxSendPayloadType & SetRtxReceivePayloadType. - Receiver: Restore RTP packets by the new RTX-APT map. - Sender: Send RTP packets by checking RTX-APT map. - Add RTX payload type for RED in the default codec list. BUG=4024 R=pbos@webrtc.org, stefan@webrtc.org TBR=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/26259004 Patch from Changbin Shao <changbin.shao@intel.com>. git-svn-id: http://webrtc.googlecode.com/svn/trunk@8028 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -101,8 +101,7 @@ class MockRtpRtcp : public RtpRtcp {
|
||||
void(int* modes, uint32_t* ssrc, int* payload_type));
|
||||
MOCK_METHOD1(SetRtxSsrc,
|
||||
void(uint32_t));
|
||||
MOCK_METHOD1(SetRtxSendPayloadType,
|
||||
void(int));
|
||||
MOCK_METHOD2(SetRtxSendPayloadType, void(int, int));
|
||||
MOCK_METHOD1(SetSendingStatus,
|
||||
int32_t(const bool sending));
|
||||
MOCK_CONST_METHOD0(Sending,
|
||||
|
||||
Reference in New Issue
Block a user