-
Notifications
You must be signed in to change notification settings - Fork 54
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
Can you make the class public? #9
Comments
Thank you for your request and sorry for late reply. I want to confirm. Could you tell me the reason. Are you going to make UsbCamera class to dll? |
i mean i like to put the class in my Data.cs And make Public class for acces the camera class from other parts of code |
i use your class to my c# webcam online server and is so good |
To make UsbCamera class public, you have to make DirectShow class (in line 772) public too. |
You can get max/min frame interval from Caps.MinFrameInterval and Caps.MaxFrameInterval in VideoFormat member. frame rate = 10,000,000 / frame duration. You can change frame interval by modifying TimePerFrame value in VideoFormat member from MinFrameInterval to MaxFrameInterval, but as long as I tested, devices all I have returns same value in MinFrameInterval and MaxFrameInterval. |
I want to make the class public for acces the webcam from diferents files of codes thanks
The text was updated successfully, but these errors were encountered: