We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Pixel format is scored by complete match at now. For example, I want to select one of YUY2 and UYVY but not want to use JPEG.
YUY2
UYVY
JPEG
mediadevices/pkg/prop/prop.go
Lines 99 to 112 in 949e850
The text was updated successfully, but these errors were encountered:
https://developer.mozilla.org/en-US/docs/Web/API/Media_Streams_API/Constraints In WebAPI, constraints can have min, ideal, max, and exact.
min
ideal
max
exact
For pixel format case, oneof maybe needed as a extension. (or exact: ["YUY2", "UYVY"])
oneof
exact: ["YUY2", "UYVY"]
Sorry, something went wrong.
POC implementation for int propaties: #168 @lherman-cs what do you think about this?
@at-wat I just commented on the PR itself. Overall, it looks really good!
at-wat
Successfully merging a pull request may close this issue.
Pixel format is scored by complete match at now.
For example, I want to select one of
YUY2
andUYVY
but not want to useJPEG
.mediadevices/pkg/prop/prop.go
Lines 99 to 112 in 949e850
The text was updated successfully, but these errors were encountered: