Don't call CreateDtlsTransport_n from non-network thread in WebRtcSession
I'm not sure if it's possible to hit this code any more, but better safe than sorry. BUG=webrtc:7714 TBR=pthatcher@webrtc.org Review-Url: https://codereview.webrtc.org/2978573002 Cr-Commit-Position: refs/heads/master@{#18960}
This commit is contained in:
parent
05314c3252
commit
d8cf08f166
@ -1095,7 +1095,7 @@ bool WebRtcSession::EnableBundle(const cricket::ContentGroup& bundle) {
|
||||
bool need_rtcp = (ch->rtcp_dtls_transport() != nullptr);
|
||||
cricket::DtlsTransportInternal* rtcp_dtls_transport = nullptr;
|
||||
if (need_rtcp) {
|
||||
rtcp_dtls_transport = transport_controller_->CreateDtlsTransport_n(
|
||||
rtcp_dtls_transport = transport_controller_->CreateDtlsTransport(
|
||||
transport_name, cricket::ICE_CANDIDATE_COMPONENT_RTCP);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user