Commit 0e296d27 by Kim Peace

Hotfix enable video collaboration

parent ffbeec2e
...@@ -17,9 +17,9 @@ function CoviewUserInfo(sid, loginId, roomId, shopName) { ...@@ -17,9 +17,9 @@ function CoviewUserInfo(sid, loginId, roomId, shopName) {
this.isLeaved = false; this.isLeaved = false;
this.meetingID = 0; this.meetingID = 0;
}
CoviewUserInfo.prototype.coWorkType = function () { Object.defineProperty(this, "coWorkType", {
get() {
switch (this.collaborationType) { switch (this.collaborationType) {
case COLLABORATION_TYPE.AUDIO: case COLLABORATION_TYPE.AUDIO:
return COLLABORATION_TYPE.AUDIO; return COLLABORATION_TYPE.AUDIO;
...@@ -32,7 +32,9 @@ CoviewUserInfo.prototype.coWorkType = function () { ...@@ -32,7 +32,9 @@ CoviewUserInfo.prototype.coWorkType = function () {
case COLLABORATION_TYPE.BOARD: case COLLABORATION_TYPE.BOARD:
return COLLABORATION_TYPE.AUDIO; return COLLABORATION_TYPE.AUDIO;
} }
}; },
});
}
CoviewUserInfo.prototype.isInvited = function () { CoviewUserInfo.prototype.isInvited = function () {
return this.joinType == COLLABORATION_JOIN_TYPE.INVITED; return this.joinType == COLLABORATION_JOIN_TYPE.INVITED;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment