-
Notifications
You must be signed in to change notification settings - Fork 26
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
DOMException: setOptions failed on takePhoto() #15
Comments
I have the same issue with: |
the same issue, here also; |
Same Issue, Chrome 65.0.3325.162 (Official Build, 64-bit for Windows).
|
Not a fix for takePhoto or a reason why this happens but for those who only need to get an Image while this is not fixed or explained: I used
Does not solve that |
looks like they will remove the method
And adjusted the method signature ( |
I have same issue, Version 68.0.3440.106 (Official Build) (64-bit) in Mas OS. |
Does anybody know how to overcome this issue in Chrome 68? I'm getting the exact same error. Using the GrabFrame option isn't really an option for me, because taking full-resolution images is a requirement for my project. I already tried this approach from the video.js library, which doesn't solve the problem and has been removed from their code in favor of the GrabFrame method as a workaround. Does anybody know, which parameters are required in order to prevent the method from crashing? @thijstriemstra Maybe you? |
I have the same thing. |
Experiencing same issue. Chrome 76.0.3809.111 , Android 8.1.0 |
Looks like nobody is working on this issue. |
no updated ? |
Any updates on this? |
In the current Version of Chrome, it seems to work again. working code:
If problems still exist, they might be bound to a specific browser version. Close issue? |
Any update on this? Still failing...
|
Hi all!
I get this error: Uncaught (in promise) DOMException: The associated Track is in an invalid state. |
Any news about how to solve it? Google Chrome 81.0.4044.138 |
Same |
same problem here. Any news on the issue? |
the problem does not appear on Chrome android |
hi. i'm jan. same issue on my end. |
Any update on the issue? |
Any update on the issue? Please don't abandon us. |
i have the same issue in chrome Version 98.0.4758.102 (Offizieller Build) (64-Bit) |
Hi everyone. While I'm the original creator of this library, I haven't been with Google for 3 years. Could anyone from @GoogleChromeLabs take a look? @PaulKinlan / @paulirish ? |
@GoogleChromeLabs - would be great to have some updates on this feature 🤔 |
@beaufortfrancois might be able to help. |
The bool TrackIsInactive(const MediaStreamTrack& track) {
return track.readyState() != "live" || !track.enabled() || track.muted();
} Can you look at |
@beaufortfrancois Any updates on this? Would be nice to be able to easily screenshot streams in the browser. Right now the method to draw the imageBitmap to a canvas doesn't work if the stream is a portrait mode camera, as there is no way to infer whether or not the stream is in portrait/landscape mode from the MediaTrack methods, and the height and width of the imageBitmap stays the same when flipped leading to a skewed image. |
Using your own Quick Start example in Chrome Version 64.0.3282.186 (Official Build) (64-bit), the error
DOMException: setOptions failed
is thrown when takePhoto() is called:The text was updated successfully, but these errors were encountered: