Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Fixing sfu forwarding.
Browse files Browse the repository at this point in the history
(cherry picked from commit 7f07f4b)
  • Loading branch information
mcottontensor committed Oct 31, 2023
1 parent e74e58f commit a423783
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions SignallingWebServer/cirrus.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ function getSFUForStreamer(streamerId) {
}
const streamer = streamers.get(streamerId);
const sfuPlayerId = streamer.getSFUPlayerId();
if (!!sfuPlayerId) {
if (!sfuPlayerId) {
return null;
}
return players.get(sfuPlayerId);
Expand Down Expand Up @@ -661,7 +661,6 @@ streamerServer.on('connection', function (ws, req) {
ws.close(1008, 'Cannot parse');
return;
}
console.log(msgRaw);

let handler = streamerMessageHandlers.get(msg.type);
if (!handler || (typeof handler != 'function')) {
Expand Down

0 comments on commit a423783

Please sign in to comment.