FFmpegOut icon indicating copy to clipboard operation
FFmpegOut copied to clipboard

Live streaming of camera capture

Open stef-t opened this issue 6 years ago • 1 comments

What's new

Extending the existing Camera Capture by deriving a Stream Camera Capture component. This new component can be used to live-stream a camera's frames. Using stream-presets allows to define the codec which should be used for live-streaming. For the actual encoding and sending of data we use ffmpeg.

Changes

  • New namespace containing all new scripts.
  • New scripts derive from existing code.
  • Added a test scene which displays the current time. When playing the scene the displayed current time can be useful to figure out the latency between sender (Unity editor) and a client.
  • Extending the readme describing this new StreamCameraCapture component.

stef-t avatar Jul 18 '19 11:07 stef-t

Hi

i have tried the live streaming, by attaching a StreamCameraCapture to the camera. i chose rtsp and when run, the application hang. Based on my windows task manager, the Unity Editor is hang. Can help to narrow what is the issue? thank you

lchunleo avatar Dec 22 '21 09:12 lchunleo