1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Fix bug when client DTLS is passive. 4.0.82

This commit is contained in:
winlin 2021-03-08 10:41:42 +08:00
parent fc4f539907
commit 43028c99c8
5 changed files with 14 additions and 7 deletions

View file

@ -1920,7 +1920,7 @@ srs_error_t SrsRtcConnection::initialize(SrsRequest* r, bool dtls, bool srtp, st
}
}
SrsSessionConfig* cfg = &local_sdp.session_config_;
SrsSessionConfig* cfg = &local_sdp.session_negotiate_;
if ((err = transport_->initialize(cfg)) != srs_success) {
return srs_error_wrap(err, "init");
}