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

Unified Diff: webrtc/pc/peerconnection.cc

Issue 2854123003: Build WebRTC with data channel only. (Closed)
Patch Set: Address the comments. Created 3 years, 8 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: webrtc/pc/peerconnection.cc
diff --git a/webrtc/pc/peerconnection.cc b/webrtc/pc/peerconnection.cc
index a3981039e6cfe89554092b4c14d7f2f7b0f175e4..dc5de8707fb68f77397691a5284375901cc9a8f9 100644
--- a/webrtc/pc/peerconnection.cc
+++ b/webrtc/pc/peerconnection.cc
@@ -398,10 +398,13 @@ PeerConnection::PeerConnection(PeerConnectionFactory* factory)
signaling_state_(kStable),
ice_connection_state_(kIceConnectionNew),
ice_gathering_state_(kIceGatheringNew),
+#ifdef HAVE_MEDIA
event_log_(RtcEventLog::Create()),
the sun 2017/05/04 14:28:58 fyi: there's a RtcEventLog::CreateNull() to use so
Zhi Huang 2017/05/04 21:28:53 The idea here is to remove the dependency on the t
+#endif
rtcp_cname_(GenerateRtcpCname()),
local_streams_(StreamCollection::Create()),
- remote_streams_(StreamCollection::Create()) {}
+ remote_streams_(StreamCollection::Create()) {
+}
PeerConnection::~PeerConnection() {
TRACE_EVENT0("webrtc", "PeerConnection::~PeerConnection");

Powered by Google App Engine
This is Rietveld 408576698