Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug codecs #51

Closed
wants to merge 8 commits into from
Closed

Debug codecs #51

wants to merge 8 commits into from

Conversation

fastfeee
Copy link
Contributor

No description provided.

@fastfeee fastfeee requested a review from hongcha98 October 31, 2023 03:45
@a-wing a-wing requested review from a-wing and removed request for hongcha98 October 31, 2023 03:51
.enumerateDevices()
.then((devices) => {
const videoDevices = devices.filter(
(device) => device.kind === "videoinput" && device.label !== "OBS Virtual Camera",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why if device.label !== "OBS Virtual Camera" ?

We're should only use device.kind

document.getElementById("video_device").appendChild(opt);
}

if (document.getElementById("video_device").children.length !== 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// set current device
const xxx = document.getElementById("video_device")
xxx.value = xxx.children[1].value

}

async publish(pc, url, token) {
// edit answer_sdp
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think: there need a hook function, set a function to change sdp

@fastfeee fastfeee closed this Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants