Changes
Co-authored-by: Reifonas <211114984+Reifonas@users.noreply.github.com>
This commit is contained in:
@@ -98,9 +98,6 @@ export async function startBroadcast(stream: MediaStream): Promise<BroadcasterHa
|
|||||||
|
|
||||||
channel = joinSignalingChannel(code, handleMessage);
|
channel = joinSignalingChannel(code, handleMessage);
|
||||||
|
|
||||||
// Track the active stream so we can swap it on the fly
|
|
||||||
let activeStream: MediaStream = stream;
|
|
||||||
|
|
||||||
// Stop when the underlying stream ends
|
// Stop when the underlying stream ends
|
||||||
const attachEndedListeners = (s: MediaStream) => {
|
const attachEndedListeners = (s: MediaStream) => {
|
||||||
s.getTracks().forEach((t) => {
|
s.getTracks().forEach((t) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user