From 83dc6b6f5380d7c03f5ebfe2553bf4a3147e2d1c Mon Sep 17 00:00:00 2001 From: zstein Date: Mon, 17 Jul 2017 15:09:30 -0700 Subject: [PATCH] Remove default implementation of PeerConnectionInterface::SetBitrate. This was included to avoid breaking chromium, which now includes its own implementation (https://chromium.googlesource.com/chromium/src/+/725cb26dab3bae1cbb3339ed13186848f608cfad). BUG=webrtc:7395 Review-Url: https://codereview.webrtc.org/2924243003 Cr-Commit-Position: refs/heads/master@{#19063} --- webrtc/api/peerconnectioninterface.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h index 6649f2ab99..65c1278320 100644 --- a/webrtc/api/peerconnectioninterface.h +++ b/webrtc/api/peerconnectioninterface.h @@ -762,9 +762,7 @@ class PeerConnectionInterface : public rtc::RefCountInterface { // // Setting |current_bitrate_bps| will reset the current bitrate estimate // to the provided value. - virtual RTCError SetBitrate(const BitrateParameters& bitrate) { - return RTCError::OK(); - } + virtual RTCError SetBitrate(const BitrateParameters& bitrate) = 0; // Returns the current SignalingState. virtual SignalingState signaling_state() = 0;