pedroSG94 / RTSP-Server

Plugin of rtmp-rtsp-stream-client-java to stream directly to RTSP player.
Apache License 2.0
214 stars 66 forks source link

Directions to use the UVCCameraSource #139

Open ronaldsampaio opened 1 month ago

ronaldsampaio commented 1 month ago

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 commented 1 month ago

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 commented 3 weeks ago

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