Index: webrtc/call/call.h |
diff --git a/webrtc/call/call.h b/webrtc/call/call.h |
index caf0ee2d881951e5c28320086b6cf74c2c48ef92..75a9807af0f0ca414faf0e0dad7fd778863c455e 100644 |
--- a/webrtc/call/call.h |
+++ b/webrtc/call/call.h |
@@ -60,10 +60,16 @@ class Call { |
public: |
struct Config { |
explicit Config(RtcEventLog* event_log) : event_log(event_log) { |
+#ifdef HAVE_MEDIA |
RTC_DCHECK(event_log); |
+#endif |
pthatcher1
2017/05/03 18:05:53
Would it be easier to just not include this file i
Zhi Huang
2017/05/04 01:08:02
This is the base class of internal::Call and this
|
} |
+#ifdef HAVE_MEDIA |
static const int kDefaultStartBitrateBps; |
+#else |
+ static const int kDefaultStartBitrateBps = -1; |
pthatcher1
2017/05/03 18:05:53
It's confusing that we have an ifdef in two places
Zhi Huang
2017/05/04 01:08:02
This is because call.h is an abstract class and it
|
+#endif |
// Bitrate config used until valid bitrate estimates are calculated. Also |
// used to cap total bitrate used. |