Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 2ce97da

Browse files
authored
Update connections.js (#657)
The videoFrom's connection was not properly released.
1 parent def8c9f commit 2ce97da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/agent/connections.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ module.exports = function Connections () {
6464
log.debug('remove video from:', videoFrom);
6565
var dest = connections[connectionId].connection.receiver('video');
6666
connections[videoFrom].connection.removeDestination('video', dest);
67-
connections[connectionId].audioFrom = undefined;
67+
connections[connectionId].videoFrom = undefined;
6868
}
6969
}
7070
};

0 commit comments

Comments
 (0)