Roll forward to cl/340537221

Signed-off-by: hai007 <hais@google.com>
This commit is contained in:
hai007
2020-11-03 15:29:35 -08:00
parent 59a4f83de2
commit 75a951665f
7 changed files with 26 additions and 19 deletions
+4
View File
@@ -32,6 +32,10 @@ void WebRtcSignalingMessenger::StopReceivingMessages() {
env.UnregisterWebRtcSignalingMessenger(self_id_);
}
const std::string WebRtcMedium::GetDefaultCountryCode() {
return "US";
}
void WebRtcMedium::CreatePeerConnection(
webrtc::PeerConnectionObserver* observer, PeerConnectionCallback callback) {
auto& env = MediumEnvironment::Instance();
+2
View File
@@ -38,6 +38,8 @@ class WebRtcMedium : public api::WebRtcMedium {
WebRtcMedium() = default;
~WebRtcMedium() override = default;
const std::string GetDefaultCountryCode() override;
// Creates and returns a new webrtc::PeerConnectionInterface object via
// |callback|.
void CreatePeerConnection(webrtc::PeerConnectionObserver* observer,