| Index: webrtc/api/webrtcsessiondescriptionfactory.cc
|
| diff --git a/webrtc/api/webrtcsessiondescriptionfactory.cc b/webrtc/api/webrtcsessiondescriptionfactory.cc
|
| index aa929d3347713fdd1deae1854af9aebbd5d7cfe3..e595690ffdeaa656d2dc7e816796050e31a4b0dd 100644
|
| --- a/webrtc/api/webrtcsessiondescriptionfactory.cc
|
| +++ b/webrtc/api/webrtcsessiondescriptionfactory.cc
|
| @@ -185,13 +185,15 @@ WebRtcSessionDescriptionFactory::WebRtcSessionDescriptionFactory(
|
| identity_request_observer_->SignalCertificateReady.connect(
|
| this, &WebRtcSessionDescriptionFactory::SetCertificate);
|
|
|
| - rtc::KeyType key_type = rtc::KT_DEFAULT;
|
| + rtc::KeyParams key_params = rtc::KeyParams();
|
| LOG(LS_VERBOSE) << "DTLS-SRTP enabled; sending DTLS identity request (key "
|
| - << "type: " << key_type << ").";
|
| + << "type: " << key_params.type() << ").";
|
|
|
| // Request identity. This happens asynchronously, so the caller will have a
|
| // chance to connect to SignalIdentityReady.
|
| - dtls_identity_store_->RequestIdentity(key_type, identity_request_observer_);
|
| + dtls_identity_store_->RequestIdentity(key_params,
|
| + rtc::Optional<uint64_t>(),
|
| + identity_request_observer_);
|
| }
|
|
|
| WebRtcSessionDescriptionFactory::WebRtcSessionDescriptionFactory(
|
|
|