AgoraIO / API-Examples

Play with AgoraSDK and have fun! Everything you need to start learning Agora.
297 stars 218 forks source link

so using this , can i connect to usb camera for android agora application ? #224

Closed EworkitSrl closed 2 weeks ago

EworkitSrl commented 2 years ago

i have to develop a video call app and i should take video preview from a usb camera . i also have a uvcammer project to conntect the camera and get usb camera preview . I also tried to intergrate agora project and uvc camera project library. but i cant connect to it agora setupLocalVideo().

yoreland commented 2 years ago

Basically you could either setup local preview about uvccamera lib it self. Or using mediaIO custom source protocol, then you could use setupLocalVideo api: https://docs.agora.io/en/Interactive%20Broadcast/custom_video_android?platform=Android#mediaio-mode