[*] 提高稳定性
1. 解决web终端踢人黑屏问题 2. 处理安卓终端会议房间资源释放问题 3. 优化安卓远程终端进入逻辑
This commit is contained in:
@@ -91,9 +91,9 @@
|
||||
<!-- 本地终端 -->
|
||||
<LocalClient v-if="taoyao && taoyao.roomId" ref="local-client" :client="taoyao" :taoyao="taoyao"></LocalClient>
|
||||
<!-- 远程终端 -->
|
||||
<RemoteClient v-for="(kv, index) in remoteClients" :key="index" :ref="'remote-client-' + kv[0]" :client="kv[1]" :taoyao="taoyao"></RemoteClient>
|
||||
<RemoteClient v-for="(kv, index) in remoteClients" :key="'remote-client-' + kv[0]" :ref="'remote-client-' + kv[0]" :client="kv[1]" :taoyao="taoyao"></RemoteClient>
|
||||
<!-- 远程会话 -->
|
||||
<SessionClient v-for="(kv, index) in sessionClients" :key="index" :ref="'session-client-' + kv[0]" :client="kv[1]" :taoyao="taoyao"></SessionClient>
|
||||
<SessionClient v-for="(kv, index) in sessionClients" :key="'session-client-' + kv[0]" :ref="'session-client-' + kv[0]" :client="kv[1]" :taoyao="taoyao"></SessionClient>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -1261,7 +1261,7 @@ class Taoyao extends RemoteClient {
|
||||
remoteClient.audioConsumer = consumer;
|
||||
} else if (track.kind === "video") {
|
||||
remoteClient.videoTrack = track;
|
||||
remoteClient.videoconsumer = consumer;
|
||||
remoteClient.videoConsumer = consumer;
|
||||
} else {
|
||||
console.warn("不支持的媒体:", track);
|
||||
}
|
||||
@@ -1370,7 +1370,7 @@ class Taoyao extends RemoteClient {
|
||||
*/
|
||||
defaultRoomClientList(message) {
|
||||
const me = this;
|
||||
message.body.forEach((v) => {
|
||||
message.body.clients.forEach((v) => {
|
||||
if (v.clientId === me.clientId) {
|
||||
// 忽略自己
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user