• Home
  • Raw
  • Download

Lines Matching refs:dtls

192   for (auto& dtls : GetDtlsTransports()) {  in SetIceConfig()  local
193 dtls->ice_transport()->SetIceConfig(ice_config_); in SetIceConfig()
246 for (auto& dtls : GetDtlsTransports()) { in SetLocalCertificate() local
247 bool set_cert_success = dtls->SetLocalCertificate(certificate_); in SetLocalCertificate()
283 auto dtls = jsep_transport->rtp_dtls_transport(); in GetRemoteSSLCertChain() local
284 if (!dtls) { in GetRemoteSSLCertChain()
288 return dtls->GetRemoteSSLCertChain(); in GetRemoteSSLCertChain()
298 for (auto& dtls : GetDtlsTransports()) { in MaybeStartGathering() local
299 dtls->ice_transport()->MaybeStartGathering(); in MaybeStartGathering()
361 cricket::DtlsTransportInternal* dtls = in RemoveRemoteCandidates() local
365 if (dtls) { in RemoveRemoteCandidates()
366 dtls->ice_transport()->RemoveRemoteCandidate(candidate); in RemoveRemoteCandidates()
440 std::unique_ptr<cricket::DtlsTransportInternal> dtls; in CreateDtlsTransport() local
443 dtls = config_.dtls_transport_factory->CreateDtlsTransport( in CreateDtlsTransport()
446 dtls = std::make_unique<cricket::DtlsTransport>(ice, config_.crypto_options, in CreateDtlsTransport()
450 RTC_DCHECK(dtls); in CreateDtlsTransport()
451 dtls->SetSslMaxProtocolVersion(config_.ssl_max_version); in CreateDtlsTransport()
452 dtls->ice_transport()->SetIceRole(ice_role_); in CreateDtlsTransport()
453 dtls->ice_transport()->SetIceTiebreaker(ice_tiebreaker_); in CreateDtlsTransport()
454 dtls->ice_transport()->SetIceConfig(ice_config_); in CreateDtlsTransport()
456 bool set_cert_success = dtls->SetLocalCertificate(certificate_); in CreateDtlsTransport()
461 dtls->SignalWritableState.connect( in CreateDtlsTransport()
463 dtls->SignalReceivingState.connect( in CreateDtlsTransport()
465 dtls->SignalDtlsHandshakeError.connect( in CreateDtlsTransport()
467 dtls->ice_transport()->SignalGatheringState.connect( in CreateDtlsTransport()
469 dtls->ice_transport()->SignalCandidateGathered.connect( in CreateDtlsTransport()
471 dtls->ice_transport()->SignalCandidateError.connect( in CreateDtlsTransport()
473 dtls->ice_transport()->SignalCandidatesRemoved.connect( in CreateDtlsTransport()
475 dtls->ice_transport()->SignalRoleConflict.connect( in CreateDtlsTransport()
477 dtls->ice_transport()->SignalStateChanged.connect( in CreateDtlsTransport()
479 dtls->ice_transport()->SignalIceTransportStateChanged.connect( in CreateDtlsTransport()
481 dtls->ice_transport()->SignalCandidatePairChanged.connect( in CreateDtlsTransport()
483 return dtls; in CreateDtlsTransport()
1070 for (auto& dtls : GetDtlsTransports()) { in SetIceRole_n() local
1071 dtls->ice_transport()->SetIceRole(ice_role_); in SetIceRole_n()
1229 for (const auto& dtls : dtls_transports) { in UpdateAggregateStates_n() local
1230 any_failed = any_failed || dtls->ice_transport()->GetState() == in UpdateAggregateStates_n()
1232 all_connected = all_connected && dtls->writable(); in UpdateAggregateStates_n()
1234 all_completed && dtls->writable() && in UpdateAggregateStates_n()
1235 dtls->ice_transport()->GetState() == in UpdateAggregateStates_n()
1237 dtls->ice_transport()->GetIceRole() == cricket::ICEROLE_CONTROLLING && in UpdateAggregateStates_n()
1238 dtls->ice_transport()->gathering_state() == in UpdateAggregateStates_n()
1240 any_gathering = any_gathering || dtls->ice_transport()->gathering_state() != in UpdateAggregateStates_n()
1243 all_done_gathering && dtls->ice_transport()->gathering_state() == in UpdateAggregateStates_n()
1246 dtls_state_counts[dtls->dtls_state()]++; in UpdateAggregateStates_n()
1247 ice_state_counts[dtls->ice_transport()->GetIceTransportState()]++; in UpdateAggregateStates_n()