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:
@ -228,7 +228,8 @@ class RtpRtcp : public Module {
|
||||
|
||||
// Sets the payload type to use when sending RTX packets. Note that this
|
||||
// doesn't enable RTX, only the payload type is set.
|
||||
virtual void SetRtxSendPayloadType(int payload_type) = 0;
|
||||
virtual void SetRtxSendPayloadType(int payload_type,
|
||||
int associated_payload_type) = 0;
|
||||
|
||||
/*
|
||||
* Get status of sending RTX (RFC 4588) on a specific SSRC.
|
||||
|
||||
Reference in New Issue
Block a user