Skip to content

Commit

Permalink
Add mainTrack label instead of room
Browse files Browse the repository at this point in the history
  • Loading branch information
mekya committed Dec 9, 2024
1 parent 8de691f commit e4e8a85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/js/webrtc_adaptor.js
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,7 @@ export class WebRTCAdaptor {
let jsCmd = {
command: "joinRoom",
room: roomName,
mainTrack: roomName,
streamId: streamId,
mode: mode,
streamName: streamName,
Expand Down Expand Up @@ -774,6 +775,7 @@ export class WebRTCAdaptor {
var jsCmd = {
command: "leaveFromRoom",
room: roomName,
mainTrack: roomName,
streamId: streamId,
};
Logger.debug("leave request is sent for " + roomName);
Expand Down

0 comments on commit e4e8a85

Please sign in to comment.