webrtc-java icon indicating copy to clipboard operation
webrtc-java copied to clipboard

How to set video frame captuer?

Open SeanMooneySavari opened this issue 3 years ago • 1 comments

Is there a way to create a video track where frames are passed in via a captureFrame method?

SeanMooneySavari avatar Jan 13 '22 00:01 SeanMooneySavari

@SeanMooneySavari You can use VideoCapture.setVideoSink and you will the onVideoFrame event.
Once you receive the frame, I haven't figured out what to do with it. Have you worked this out? Or, are interested in collaborating on the solution?

Charles92011 avatar Apr 22 '22 12:04 Charles92011

Streaming a file is not supported yet, but will be possible in the near future. For upcoming progress see https://github.com/devopvoid/webrtc-java/issues/87

devopvoid avatar Nov 14 '22 15:11 devopvoid