Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am working on a camera app. I am using camera 2 API and my camera preview is rendered by onDraw() of SurfaceView, (took help from here), exactly same as Opencamera.

Now I need to send this canvas to remote, using Agora custom video source. Refer docs here Documentation says, we need to push AgoraVideoFrame, so I am struggling in converting canvas to AgoraVideoFrame.

Basically I have to transmit, this preview to other device. Any suggestions?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
1.1k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...