Commit 69734af3ba008f80ea5f9c864deb0e34144c8db3
1 parent
21eef022
#154
Showing
2 changed files
with
5 additions
and
5 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java
| @@ -261,7 +261,7 @@ public class PlayServiceImpl implements IPlayService { | @@ -261,7 +261,7 @@ public class PlayServiceImpl implements IPlayService { | ||
| 261 | 261 | ||
| 262 | WVPResult wvpResult = new WVPResult(); | 262 | WVPResult wvpResult = new WVPResult(); |
| 263 | wvpResult.setCode(0); | 263 | wvpResult.setCode(0); |
| 264 | - wvpResult.setMsg("sucess"); | 264 | + wvpResult.setMsg("success"); |
| 265 | wvpResult.setData(streamInfo); | 265 | wvpResult.setData(streamInfo); |
| 266 | msg.setData(wvpResult); | 266 | msg.setData(wvpResult); |
| 267 | 267 |
web_src/static/js/ZLMRTCClient.js
| @@ -7337,7 +7337,7 @@ var ZLMRTCClient = (function (exports) { | @@ -7337,7 +7337,7 @@ var ZLMRTCClient = (function (exports) { | ||
| 7337 | let ret = response.data; //JSON.parse(response.data); | 7337 | let ret = response.data; //JSON.parse(response.data); |
| 7338 | 7338 | ||
| 7339 | if (ret.code != 0) { | 7339 | if (ret.code != 0) { |
| 7340 | - // mean failed for offer/anwser exchange | 7340 | + // mean failed for offer/anwser exchange |
| 7341 | this.dispatch(Events$1.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, ret); | 7341 | this.dispatch(Events$1.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, ret); |
| 7342 | return; | 7342 | return; |
| 7343 | } | 7343 | } |
| @@ -7347,7 +7347,7 @@ var ZLMRTCClient = (function (exports) { | @@ -7347,7 +7347,7 @@ var ZLMRTCClient = (function (exports) { | ||
| 7347 | anwser.type = 'answer'; | 7347 | anwser.type = 'answer'; |
| 7348 | log(this.TAG, 'answer:', ret.sdp); | 7348 | log(this.TAG, 'answer:', ret.sdp); |
| 7349 | this.pc.setRemoteDescription(anwser).then(() => { | 7349 | this.pc.setRemoteDescription(anwser).then(() => { |
| 7350 | - log(this.TAG, 'set remote sucess'); | 7350 | + log(this.TAG, 'set remote success'); |
| 7351 | }).catch(e => { | 7351 | }).catch(e => { |
| 7352 | error(this.TAG, e); | 7352 | error(this.TAG, e); |
| 7353 | }); | 7353 | }); |
| @@ -7440,7 +7440,7 @@ var ZLMRTCClient = (function (exports) { | @@ -7440,7 +7440,7 @@ var ZLMRTCClient = (function (exports) { | ||
| 7440 | let ret = response.data; //JSON.parse(response.data); | 7440 | let ret = response.data; //JSON.parse(response.data); |
| 7441 | 7441 | ||
| 7442 | if (ret.code != 0) { | 7442 | if (ret.code != 0) { |
| 7443 | - // mean failed for offer/anwser exchange | 7443 | + // mean failed for offer/anwser exchange |
| 7444 | this.dispatch(Events$1.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, ret); | 7444 | this.dispatch(Events$1.WEBRTC_OFFER_ANWSER_EXCHANGE_FAILED, ret); |
| 7445 | return; | 7445 | return; |
| 7446 | } | 7446 | } |
| @@ -7450,7 +7450,7 @@ var ZLMRTCClient = (function (exports) { | @@ -7450,7 +7450,7 @@ var ZLMRTCClient = (function (exports) { | ||
| 7450 | anwser.type = 'answer'; | 7450 | anwser.type = 'answer'; |
| 7451 | log(this.TAG, 'answer:', ret.sdp); | 7451 | log(this.TAG, 'answer:', ret.sdp); |
| 7452 | this.pc.setRemoteDescription(anwser).then(() => { | 7452 | this.pc.setRemoteDescription(anwser).then(() => { |
| 7453 | - log(this.TAG, 'set remote sucess'); | 7453 | + log(this.TAG, 'set remote success'); |
| 7454 | }).catch(e => { | 7454 | }).catch(e => { |
| 7455 | error(this.TAG, e); | 7455 | error(this.TAG, e); |
| 7456 | }); | 7456 | }); |