aboutsummaryrefslogtreecommitdiff
path: root/pc/peer_connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'pc/peer_connection.h')
-rw-r--r--pc/peer_connection.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/pc/peer_connection.h b/pc/peer_connection.h
index d321fd5667..4476c5d8e1 100644
--- a/pc/peer_connection.h
+++ b/pc/peer_connection.h
@@ -167,7 +167,7 @@ class PeerConnection : public PeerConnectionInternal,
std::vector<rtc::scoped_refptr<RtpTransceiverInterface>> GetTransceivers()
const override;
- rtc::scoped_refptr<DataChannelInterface> CreateDataChannel(
+ RTCErrorOr<rtc::scoped_refptr<DataChannelInterface>> CreateDataChannelOrError(
const std::string& label,
const DataChannelInit* config) override;
// WARNING: LEGACY. See peerconnectioninterface.h
@@ -389,7 +389,10 @@ class PeerConnection : public PeerConnectionInternal,
RTC_DCHECK_RUN_ON(signaling_thread());
return is_unified_plan_;
}
- bool ValidateBundleSettings(const cricket::SessionDescription* desc);
+ bool ValidateBundleSettings(
+ const cricket::SessionDescription* desc,
+ const std::map<std::string, const cricket::ContentGroup*>&
+ bundle_groups_by_mid);
// Returns the MID for the data section associated with the
// SCTP data channel, if it has been set. If no data