How to capture the camera's video stream?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jinruozai

I want to capture the camera’s video stream,send it to another camera and replay it,Is there a way to achieve this?
I need to replay it fluently,so ,not just get jpg per frame,in this way the data is large, expensive and not smooth.
Anyone have some ideas? Or some libs easy integrate to use,maybe~
Thanks a lot!

:bust_in_silhouette: Reply From: Calinou

Godot has a CameraServer which is supposed to allow this, but it’s currently only implemented on iOS (not on any desktop platforms).

I see the cameraserver,but I didn’t find relate api about how to convert the data to video stream.

jinruozai | 2021-03-16 04:04