Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
李勇
/
McuClient
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
李勇
8 years ago
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
54fb684d1a251cd78192f62fae7a54e5d944194c
54fb684d
1 parent
39d0e699
每次加入会议模块之后,需要清除之前的用户列表数据,否则断线重连之后会存在之前的人员数据
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
11 行增加
和
1 行删除
src/EngineEntrance.js
src/apes/ConferApe.js
src/EngineEntrance.js
查看文件 @
54fb684
...
...
@@ -62,7 +62,7 @@ export default class MessageEntrance extends Emiter {
constructor
()
{
super
();
//sdk 信息
GlobalConfig
.
sdkVersion
=
"v2.
8.17
.20170918"
;
GlobalConfig
.
sdkVersion
=
"v2.
9.0
.20170918"
;
loger
.
warn
(
"sdkVersion:"
+
GlobalConfig
.
sdkVersion
);
//设置
...
...
@@ -1980,6 +1980,11 @@ export default class MessageEntrance extends Emiter {
userId:GlobalConfig.userId,
openCamera:GlobalConfig.openCamera,
openMicrophones:GlobalConfig.openMicrophones*/
if
(
!
_mcu
.
connected
)
{
loger
.
warn
(
GlobalConfig
.
getCurrentStatus
());
return
{
"code"
:
ApeConsts
.
RETURN_FAILED
,
"data"
:
""
};
}
if
(
_confer_ape
)
{
_confer_ape
.
updaterUserDeviecStatusChange
(
_data
);
}
...
...
@@ -2821,6 +2826,7 @@ export default class MessageEntrance extends Emiter {
loger
.
log
(
"判断是否能推流->"
,
premission
);
if
(
!
premission
&&
GlobalConfig
.
userRole
!=
ApeConsts
.
invisible
){
loger
.
warn
(
"不能再打开更多设备"
);
console
.
log
(
"当前用户列表"
,
GlobalConfig
.
rosters
);
this
.
_emit
(
MessageTypes
.
MCU_ERROR
,
MessageTypes
.
ERR_WEBRTC_PUBLISH_FULL
);
return
;
}
...
...
src/apes/ConferApe.js
查看文件 @
54fb684
...
...
@@ -624,6 +624,10 @@ class ConferApe extends Ape {
return
;
}
loger
.
log
(
'课堂模块初始完成->当前课堂状态:'
+
GlobalConfig
.
classStatus
,
"recordStatus:"
+
GlobalConfig
.
recordStatus
);
this
.
rosters
=
{};
this
.
rosterLen
=
0
;
GlobalConfig
.
rosters
=
this
.
rosters
;
this
.
timerCounter
.
addTimerCallBack
(
this
.
timerCounterUptate
.
bind
(
this
),
1
);
this
.
startTimerCounter
();
this
.
startClass
();
...
...
请
注册
或
登录
后发表评论