Additional outputs tweaks + fix track constraints (#28)

* code

* add code

* add code
This commit is contained in:
Freddy Boulton
2024-12-03 15:32:43 -05:00
committed by GitHub
parent 65d0ba023f
commit c85c117576
10 changed files with 91 additions and 53 deletions

View File

@@ -23,6 +23,7 @@
export let track_constraints: MediaTrackConstraints = {};
export let mode: "send" | "send-receive";
export let on_change_cb: (msg: "change" | "tick") => void;
export let rtp_params: RTCRtpParameters = {} as RTCRtpParameters;
const dispatch = createEventDispatcher<{
change: FileData | null;
@@ -53,6 +54,7 @@
{time_limit}
{track_constraints}
{mode}
{rtp_params}
{on_change_cb}
on:error
on:start_recording