Index: webrtc/api/peerconnectioninterface.h |
diff --git a/webrtc/api/peerconnectioninterface.h b/webrtc/api/peerconnectioninterface.h |
index fdf9cef51ec2a2a8b419227522d085a36b2c4ad2..0cfba8bc865e5d282039fc1a70baef9a6f94f242 100644 |
--- a/webrtc/api/peerconnectioninterface.h |
+++ b/webrtc/api/peerconnectioninterface.h |
@@ -314,18 +314,14 @@ class PeerConnectionInterface : public rtc::RefCountInterface { |
// The default value for constraint offerToReceiveX:true. |
static const int kOfferToReceiveMediaTrue = 1; |
- int offer_to_receive_video; |
- int offer_to_receive_audio; |
- bool voice_activity_detection; |
- bool ice_restart; |
- bool use_rtp_mux; |
- |
- RTCOfferAnswerOptions() |
- : offer_to_receive_video(kUndefined), |
- offer_to_receive_audio(kUndefined), |
- voice_activity_detection(true), |
- ice_restart(false), |
- use_rtp_mux(true) {} |
+ int offer_to_receive_video = kUndefined; |
+ int offer_to_receive_audio = kUndefined; |
+ bool voice_activity_detection = true; |
+ bool ice_restart = false; |
+ bool ice_renomination = false; |
+ bool use_rtp_mux = true; |
+ |
+ RTCOfferAnswerOptions() = default; |
RTCOfferAnswerOptions(int offer_to_receive_video, |
int offer_to_receive_audio, |