Fixed small mistakes in sample application
"ws://localhost:7000/ws"
);
- const clientLocal = new IonSDK.Client(signalLocal);
+ const clientLocal = new IonSDK.Client(signalLocal, config);
signalLocal.onopen = () => clientLocal.join("test session");
let localStream;
remoteVideo.muted = true;
remotesDiv.appendChild(remoteVideo);
- track.onremovetrack = () => remotesDiv.removeChild(removeVideo);
+ track.onremovetrack = () => remotesDiv.removeChild(remoteVideo);
};
}
};
