Browse Source

#154

pull/174/head
648540858 3 years ago
parent
commit
69734af3ba
  1. 2
      src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.java
  2. 4
      web_src/static/js/ZLMRTCClient.js

2
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);

4
web_src/static/js/ZLMRTCClient.js

@ -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);
});
@ -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);
});

Loading…
Cancel
Save