Negotiate use of RTCP loss notification feedback (LNTF)
When the LossNotifications field trial is in effect, LNTF should be offered/accepted in the SDP message, not assumed to be configured on both sides equally. Bug: webrtc:10662 Change-Id: Ibd827779bd301821cbb4196857f6baebfc9e7dc2 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/138079 Commit-Queue: Elad Alon <eladalon@webrtc.org> Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Ilya Nikolaevskiy <ilnik@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28056}
This commit is contained in:
@ -31,6 +31,7 @@ TEST(CallConfigUtils, MarshalUnmarshalProcessSameObject) {
|
||||
recv_config.rtp.rtcp_mode = RtcpMode::kCompound;
|
||||
recv_config.rtp.remb = false;
|
||||
recv_config.rtp.transport_cc = false;
|
||||
recv_config.rtp.lntf.enabled = false;
|
||||
recv_config.rtp.nack.rtp_history_ms = 150;
|
||||
recv_config.rtp.red_payload_type = 50;
|
||||
recv_config.rtp.rtx_ssrc = 1000;
|
||||
@ -54,6 +55,7 @@ TEST(CallConfigUtils, MarshalUnmarshalProcessSameObject) {
|
||||
EXPECT_EQ(recv_config.rtp.rtcp_mode, unmarshaled_config.rtp.rtcp_mode);
|
||||
EXPECT_EQ(recv_config.rtp.remb, unmarshaled_config.rtp.remb);
|
||||
EXPECT_EQ(recv_config.rtp.transport_cc, unmarshaled_config.rtp.transport_cc);
|
||||
EXPECT_EQ(recv_config.rtp.lntf.enabled, unmarshaled_config.rtp.lntf.enabled);
|
||||
EXPECT_EQ(recv_config.rtp.nack.rtp_history_ms,
|
||||
unmarshaled_config.rtp.nack.rtp_history_ms);
|
||||
EXPECT_EQ(recv_config.rtp.red_payload_type,
|
||||
|
||||
Reference in New Issue
Block a user