Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Unified Diff: remoting/protocol/ice_connection_to_client.cc

Issue 2437453004: Removing the dependency on //third_party/webrtc:webrtc and replacing with rtc_base. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/protocol/ice_connection_to_client.cc
diff --git a/remoting/protocol/ice_connection_to_client.cc b/remoting/protocol/ice_connection_to_client.cc
index c4a42f16cd9cd2b9fbdd789eba31c38af444b4ff..df29f70494444fe3db3f85f51b65c7a03ebc57f9 100644
--- a/remoting/protocol/ice_connection_to_client.cc
+++ b/remoting/protocol/ice_connection_to_client.cc
@@ -32,11 +32,14 @@ namespace {
std::unique_ptr<AudioEncoder> CreateAudioEncoder(
const protocol::SessionConfig& config) {
+#if defined(OS_IOS)
Sergey Ulanov 2016/10/19 22:04:45 Maybe add a note here that AudioEncoderOpus is not
+ return nullptr;
+#else
const protocol::ChannelConfig& audio_config = config.audio_config();
-
if (audio_config.codec == protocol::ChannelConfig::CODEC_OPUS) {
return base::WrapUnique(new AudioEncoderOpus());
}
+#endif
NOTREACHED();
return nullptr;

Powered by Google App Engine
This is Rietveld 408576698