完善answer sdp代码

This commit is contained in:
ziyue
2021-04-01 10:09:50 +08:00
parent 356a8d1596
commit 868b379a12
5 changed files with 140 additions and 49 deletions

View File

@@ -7357,7 +7357,7 @@ var ZLMRTCClient = (function (exports) {
'Content-Type': 'text/plain;charset=utf-8'
}
}).then(response => {
let ret = JSON.parse(response.data);
let ret = response.data;
if (ret.code != 0) {
// mean failed for offer/anwser exchange