answer sdp通过chrome校验

This commit is contained in:
ziyue
2021-04-01 11:42:40 +08:00
parent 4853a5af48
commit fd23a87cfb
6 changed files with 185 additions and 30 deletions

View File

@@ -1176,7 +1176,7 @@ void RtcConfigure::RtcTrackConfigure::setDefaultSetting(TrackType type){
break;
}
case TrackApplication: {
enable = false;
enable = true;
break;
}
default: break;
@@ -1195,7 +1195,6 @@ void RtcConfigure::setDefaultSetting(string ice_ufrag,
video.ice_pwd = audio.ice_pwd = application.ice_pwd = ice_pwd;
video.direction = audio.direction = application.direction = direction;
video.fingerprint = audio.fingerprint = application.fingerprint = fingerprint;
application.enable = false;
}
void RtcConfigure::addCandidate(const SdpAttrCandidate &candidate, TrackType type) {