正在显示
2 个修改的文件
包含
5 行增加
和
5 行删除
| @@ -32,7 +32,7 @@ import QuestionApe from 'apes/QuestionApe'; | @@ -32,7 +32,7 @@ import QuestionApe from 'apes/QuestionApe'; | ||
| 32 | import UTF8 from 'utf-8'; | 32 | import UTF8 from 'utf-8'; |
| 33 | 33 | ||
| 34 | let loger = Loger.getLoger('McuClient'); | 34 | let loger = Loger.getLoger('McuClient'); |
| 35 | -let _sdkInfo = {"version": "v1.31.11.20170613", "author": "www.3mang.com"}; | 35 | +let _sdkInfo = {"version": "v1.32.0.20170613", "author": "www.3mang.com"}; |
| 36 | 36 | ||
| 37 | //APE | 37 | //APE |
| 38 | let _sass; | 38 | let _sass; |
| @@ -243,10 +243,10 @@ class VideoApe extends Ape { | @@ -243,10 +243,10 @@ class VideoApe extends Ape { | ||
| 243 | //停止桌面共享推流 | 243 | //停止桌面共享推流 |
| 244 | stopPublishScreenShare(_param) { | 244 | stopPublishScreenShare(_param) { |
| 245 | loger.log('停止桌面共享推流->',_param); | 245 | loger.log('停止桌面共享推流->',_param); |
| 246 | - //if(!this.mcu.connected){ | ||
| 247 | - // loger.warn(GlobalConfig.getCurrentStatus()); | ||
| 248 | - // return {"code": ApeConsts.RETURN_FAILED, "data": "已经断开连接"}; | ||
| 249 | - //} | 246 | + if(!this.mcu.connected){ |
| 247 | + loger.warn(GlobalConfig.getCurrentStatus()); | ||
| 248 | + return {"code": ApeConsts.RETURN_FAILED, "data": "已经断开连接"}; | ||
| 249 | + } | ||
| 250 | let channelInfo=this.shareApe.getDefaultChannelInfo(); | 250 | let channelInfo=this.shareApe.getDefaultChannelInfo(); |
| 251 | channelInfo.status=ApeConsts.CHANNEL_STATUS_RELEASED; | 251 | channelInfo.status=ApeConsts.CHANNEL_STATUS_RELEASED; |
| 252 | this.sendTableUpdateHandler(channelInfo); | 252 | this.sendTableUpdateHandler(channelInfo); |
-
请 注册 或 登录 后发表评论