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

Directions to use the UVCCameraSource #139

Open
ronaldsampaio opened this issue Oct 25, 2024 · 2 comments
Open

Directions to use the UVCCameraSource #139

ronaldsampaio opened this issue Oct 25, 2024 · 2 comments

Comments

@ronaldsampaio
Copy link

ronaldsampaio commented Oct 25, 2024

So, the way to use the new UVCSource is to put in a RtspServerStream() call the CameraUvcSource()?
I did not have much time to test it yet, so Am I on the right direction?
Something like This

RtspServerStream(context,portNum,this,UVCCameraSource(),MicrophoneSource())

But maybe with some minor changes
Thanks in advance!

@pedroSG94
Copy link
Owner

pedroSG94 commented Oct 26, 2024

Hello,

Yes, that is the way. Currently using the last version (RootEncoder 2.5.3 and server 1.3.2) you only need do that.
With previous versions you also need do this:

 glInterface().setCameraOrientation(0);
//also, disable autohandle

@ronaldsampaio
Copy link
Author

Great. I'll be trying and putting some feedback here soon. Thanks

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

No branches or pull requests

2 participants