Combine setters for protection payload types (red and ulpfec)

Bug: webrtc:11993
Change-Id: Ibd1402ac1b77d0484c3a97e9a758ed9e588615eb
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/271640
Reviewed-by: Rasmus Brandt <brandtr@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#37787}
This commit is contained in:
Tommi
2022-08-13 10:44:10 +02:00
committed by WebRTC LUCI CQ
parent ab6233708c
commit e1bd833f9d
7 changed files with 23 additions and 48 deletions

View File

@ -303,9 +303,8 @@ class VideoReceiveStreamInterface : public MediaReceiveStreamInterface {
// Must be called on the packet delivery thread.
virtual void SetNackHistory(TimeDelta history) = 0;
virtual void SetUlpfecPayloadType(int ulpfec_payload_type) = 0;
virtual void SetRedPayloadType(int red_payload_type) = 0;
virtual void SetProtectionPayloadTypes(int red_payload_type,
int ulpfec_payload_type) = 0;
virtual void SetRtcpXr(Config::Rtp::RtcpXr rtcp_xr) = 0;