should be playing with two people in the room but it's not
This commit is contained in:
@@ -82,7 +82,7 @@ function handleStreams(e: any, peer: any, lineId: string) {
|
||||
}
|
||||
|
||||
// dumb smoke test
|
||||
testMainStream = e.streams[0];
|
||||
if (!testMainStream) testMainStream = e.streams[0];
|
||||
|
||||
console.log(linesStreams);
|
||||
console.log(testMainStream);
|
||||
}
|
||||
|
||||
@@ -98,7 +98,7 @@ export default function VideoChat() {
|
||||
const handleTrackEvent = (e: any) => {
|
||||
const incomingStream = e.streams[0];
|
||||
|
||||
console.log("incoming stream", incomingStream.getTracks());
|
||||
console.log("incoming stream", incomingStream);
|
||||
|
||||
if (incomingVideoRef.current) {
|
||||
toast(`setting incoming stream ref`);
|
||||
|
||||
Reference in New Issue
Block a user