Skip to content

Commit

Permalink
set remote caller id
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Strehle committed Mar 6, 2024
1 parent 020d12e commit 1344853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/entrypoint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { Runtime } from "unyt_core/datex_all.ts";

const remoteEndpointName = eternal ?? $$(new URLSearchParams(globalThis.location.search).get("remote") ?? "" as "@")

const ownMediaStream = await navigator.mediaDevices.getUserMedia({ video: true, audio: true });
const ownMediaStream = await navigator.mediaDevices.getUserMedia({ video: true, audio: true }).catch(()=>{console.error("No stream")});
const ownVideo = <video autoplay src={ownMediaStream} />
const remoteVideo = <video autoplay/>

Expand Down

0 comments on commit 1344853

Please sign in to comment.