Implement RTCRtpTransceiver.setCodecPreferences

SetCodecPreferences allows clients to filter and reorder codecs in their
SDP offer and answer.

Bug: webrtc:9777
Change-Id: I716bed9b06496629b45210883b286f599c875239
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/129727
Reviewed-by: Steve Anton <steveanton@webrtc.org>
Reviewed-by: Seth Hampson <shampson@webrtc.org>
Commit-Queue: Florent Castelli <orphis@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27817}
This commit is contained in:
Florent Castelli
2019-04-23 19:25:51 +02:00
committed by Commit Bot
parent 2ad2fabdcf
commit 2d9d82ecef
12 changed files with 892 additions and 121 deletions

View File

@ -25,9 +25,15 @@ RtpTransceiverInterface::fired_direction() const {
return absl::nullopt;
}
void RtpTransceiverInterface::SetCodecPreferences(
RTCError RtpTransceiverInterface::SetCodecPreferences(
rtc::ArrayView<RtpCodecCapability>) {
RTC_NOTREACHED() << "Not implemented";
return {};
}
std::vector<RtpCodecCapability> RtpTransceiverInterface::codec_preferences()
const {
return {};
}
} // namespace webrtc