Support handling multiple RTX but only generate SDP with RTX associated with VP8.
This implementation registers RTX-APT map inside RTP sender and receiver. While it only generates SDP with RTX associated with VP8 to make it compatible with previous Chrome versions. Should add following changes after reaches stable, * Use RTX-APT map for building and restoring RTP packets. * Add RTX support for RED or VP9 in Video engine. * Set RTX payload type for RED inside FecConfig in EndToEndTest. BUG=4024 R=mflodman@webrtc.org, pbos@webrtc.org, pthatcher@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/36889004 Cr-Commit-Position: refs/heads/master@{#9040}
This commit is contained in:
@ -206,11 +206,12 @@ void ModuleRtpRtcpImpl::SetRtxSsrc(uint32_t ssrc) {
|
||||
rtp_sender_.SetRtxSsrc(ssrc);
|
||||
}
|
||||
|
||||
void ModuleRtpRtcpImpl::SetRtxSendPayloadType(int payload_type) {
|
||||
rtp_sender_.SetRtxPayloadType(payload_type);
|
||||
void ModuleRtpRtcpImpl::SetRtxSendPayloadType(int payload_type,
|
||||
int associated_payload_type) {
|
||||
rtp_sender_.SetRtxPayloadType(payload_type, associated_payload_type);
|
||||
}
|
||||
|
||||
int ModuleRtpRtcpImpl::RtxSendPayloadType() const {
|
||||
std::pair<int, int> ModuleRtpRtcpImpl::RtxSendPayloadType() const {
|
||||
return rtp_sender_.RtxPayloadType();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user