diff --git a/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java index 3e34646c..fea31233 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java @@ -261,7 +261,7 @@ public class PlayServiceImpl implements IPlayService { WVPResult wvpResult = new WVPResult(); wvpResult.setCode(0); - wvpResult.setMsg("sucess"); + wvpResult.setMsg("success"); wvpResult.setData(streamInfo); msg.setData(wvpResult); diff --git a/web_src/static/js/ZLMRTCClient.js b/web_src/static/js/ZLMRTCClient.js index a8fd2fa3..288028c0 100644 --- a/web_src/static/js/ZLMRTCClient.js +++ b/web_src/static/js/ZLMRTCClient.js @@ -7337,7 +7337,7 @@ var ZLMRTCClient = (function (exports) { let ret = response.data; //JSON.parse(response.data); if (ret.code != 0) { - // mean failed for offer/anwser exchange + // mean failed for offer/anwser exchange this.dispatch(Events$1.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, ret); return; } @@ -7347,7 +7347,7 @@ var ZLMRTCClient = (function (exports) { anwser.type = 'answer'; log(this.TAG, 'answer:', ret.sdp); this.pc.setRemoteDescription(anwser).then(() => { - log(this.TAG, 'set remote sucess'); + log(this.TAG, 'set remote success'); }).catch(e => { error(this.TAG, e); }); @@ -7440,7 +7440,7 @@ var ZLMRTCClient = (function (exports) { let ret = response.data; //JSON.parse(response.data); if (ret.code != 0) { - // mean failed for offer/anwser exchange + // mean failed for offer/anwser exchange this.dispatch(Events$1.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, ret); return; } @@ -7450,7 +7450,7 @@ var ZLMRTCClient = (function (exports) { anwser.type = 'answer'; log(this.TAG, 'answer:', ret.sdp); this.pc.setRemoteDescription(anwser).then(() => { - log(this.TAG, 'set remote sucess'); + log(this.TAG, 'set remote success'); }).catch(e => { error(this.TAG, e); });