Index: talk/app/webrtc/peerconnection.cc |
diff --git a/talk/app/webrtc/peerconnection.cc b/talk/app/webrtc/peerconnection.cc |
index 83e29191c8a2ac1b5003e5f684d7755250f11dec..70b56150e3e11295ce20207839f0c986f29b7dfa 100644 |
--- a/talk/app/webrtc/peerconnection.cc |
+++ b/talk/app/webrtc/peerconnection.cc |
@@ -1472,6 +1472,8 @@ bool PeerConnection::GetOptionsForOffer( |
if (session_->data_channel_type() == cricket::DCT_SCTP && HasDataChannels()) { |
session_options->data_channel_type = cricket::DCT_SCTP; |
} |
+ session_options->enable_gcm_crypto_suites = |
+ factory_->options().enable_gcm_crypto_suites; |
return true; |
} |
@@ -1496,6 +1498,8 @@ bool PeerConnection::GetOptionsForAnswer( |
if (session_->data_channel_type() == cricket::DCT_SCTP) { |
session_options->data_channel_type = cricket::DCT_SCTP; |
} |
+ session_options->enable_gcm_crypto_suites = |
+ factory_->options().enable_gcm_crypto_suites; |
return true; |
} |