Skip to content

Commit cc2f34c

Browse files
authored
feat: Read bridge channel message from 'transcriber' (#2944)
as NON_PARTICIPANT_MESSAGE_RECEIVED
1 parent 0e62818 commit cc2f34c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

JitsiConferenceEventManager.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,14 @@ export default class JitsiConferenceEventManager {
559559

560560
rtc.addListener(RTCEvents.ENDPOINT_MESSAGE_RECEIVED,
561561
(from: string, payload: any) => {
562+
if (from === 'transcriber') {
563+
conference.eventEmitter.emit(
564+
JitsiConferenceEvents.NON_PARTICIPANT_MESSAGE_RECEIVED,
565+
from, payload);
566+
567+
return;
568+
}
569+
562570
const participant = conference.getParticipantById(from);
563571

564572
if (participant) {

0 commit comments

Comments
 (0)