saki4510t / UVCCamera

library and sample to access to UVC web camera on non-rooted Android device
2.96k stars 1.19k forks source link

Send video from uvc camera through udp #587

Open Ivan421399 opened 3 years ago

Ivan421399 commented 3 years ago

Hello. I know I'm asking too much probably, but is there any way to use this library in conjunction with "libcommon" to send video from the camera to udp port? Right now we're using our own simple realisation of H264 stream from libstreaming to encode and send data from surface. Our grabber encodes the video from camera into MJPEG so taking the mjpeg bytes right from the hardware and sending them without encoding them into something else first (let alone casting on the surface) would be a huge boon to us. I didn't find any examples of using the networking utilities of libcommon so i have no idea how to work with it.

Thank you.