mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-21 16:32:22 +08:00
优化webrtc iceandidate端口相关代码
This commit is contained in:
@@ -1204,7 +1204,7 @@ RtcSessionSdp::Ptr RtcSession::toRtcSessionSdp() const{
|
||||
}
|
||||
|
||||
for (auto &cand : m.candidate) {
|
||||
if(cand.port){
|
||||
if (cand.port) {
|
||||
sdp_media.addAttr(std::make_shared<SdpAttrCandidate>(cand));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user