Commit 70281f61 authored by Florent Castelli's avatar Florent Castelli Committed by Commit Bot

Remove reference to unused encoding parameters

Those parameters are soon to be removed in WebRTC and shouldn't be
referenced from Chrome anymore.

Bug: webrtc:7580
Change-Id: I68d11d9f77657a39f531027b062a513a3d3fee63
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1940155Reviewed-by: default avatarHenrik Boström <hbos@chromium.org>
Commit-Queue: Florent Castelli <orphis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#719971}
parent a8d43809
......@@ -240,13 +240,9 @@ class RTCRtpSenderImpl::RTCRtpSenderInternal
// one, we copy the members one by one over the old struct, effectively
// patching the changes done by the user.
const auto& encoding = encodings[i];
new_parameters.encodings[i].codec_payload_type =
encoding.codec_payload_type;
new_parameters.encodings[i].dtx = encoding.dtx;
new_parameters.encodings[i].active = encoding.active;
new_parameters.encodings[i].bitrate_priority = encoding.bitrate_priority;
new_parameters.encodings[i].network_priority = encoding.network_priority;
new_parameters.encodings[i].ptime = encoding.ptime;
new_parameters.encodings[i].max_bitrate_bps = encoding.max_bitrate_bps;
new_parameters.encodings[i].max_framerate = encoding.max_framerate;
new_parameters.encodings[i].rid = encoding.rid;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment