[mirotalksfu] - improve shareRoom

هذا الالتزام موجود في:
Miroslav Pejic
2022-05-13 17:30:31 +02:00
الأصل 824bb2d8b6
التزام 29427ccb51
2 ملفات معدلة مع 3 إضافات و1 حذوفات

عرض الملف

@@ -521,7 +521,7 @@ function joinRoom(peer_name, room_id) {
roomIsReady, roomIsReady,
); );
handleRoomClientEvents(); handleRoomClientEvents();
notify ? shareRoom() : sound('joined'); //notify ? shareRoom() : sound('joined');
} }
} }

عرض الملف

@@ -241,6 +241,8 @@ class RoomClient {
} }
} }
this.refreshParticipantsCount(); this.refreshParticipantsCount();
console.log('Participants Count:', participantsCount);
notify && participantsCount == 1 ? shareRoom() : sound('joined');
} }
async loadDevice(routerRtpCapabilities) { async loadDevice(routerRtpCapabilities) {