Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live streaming of camera capture #36

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

stef-t
Copy link

@stef-t stef-t commented Jul 18, 2019

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 added 7 commits July 18, 2019 11:34
…ual Studio auto-generated files are now properly ignored
…on't run into complications in regards to the Rider-plugin/Unity/gitignore
…ure a Camera LiveStream; setting up ffmpeg argument presets for different types of live stream protocols
…er for the StreamPreset enum which displays StreamAddress examples corresponding to the currently selected enum value
@lchunleo
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants