Skip to content
New issue

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

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

Already on GitHub? # to your account

UVCCamera Failed to set preview size #196

Open
linhnv106 opened this issue Oct 17, 2023 · 0 comments
Open

UVCCamera Failed to set preview size #196

linhnv106 opened this issue Oct 17, 2023 · 0 comments

Comments

@linhnv106
Copy link

I got supported size {"formats":[{"index":1,"type":4,"default":1,"size":["640x480","352x288","320x240","176x144","160x120"]}]}
but it throws exception
java.lang.IllegalArgumentException: Failed to set preview size
2023-10-18 00:55:06.094 28846-28909 System.err dev.alejandrorosas.apptemplate W at com.serenegiant.usb.UVCCamera.setPreviewSize(UVCCamera.java:328)
2023-10-18 00:55:06.095 28846-28909 System.err dev.alejandrorosas.apptemplate W at com.serenegiant.usb.UVCCamera.setPreviewSize(UVCCamera.java:299)
2023-10-18 00:55:06.095 28846-28909 System.err dev.alejandrorosas.apptemplate W at dev.alejandrorosas.streamlib.StreamService$onDeviceConnectListener$1.onConnect(StreamService.kt:177)
2023-10-18 00:55:06.095 28846-28909 System.err dev.alejandrorosas.apptemplate W at com.serenegiant.usb.USBMonitor$4.run(USBMonitor.java:605)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant