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

Request for example to broadcast camera from macbook #293

Open
natealcedo opened this issue Jan 3, 2025 · 0 comments
Open

Request for example to broadcast camera from macbook #293

natealcedo opened this issue Jan 3, 2025 · 0 comments

Comments

@natealcedo
Copy link

natealcedo commented Jan 3, 2025

Summary

I'm trying to build an application in go that uses webrtc in go and I can't seem to find an example that reads a video stream from my web cam and broadcast it. I want to stream my macbook's camera.

Motivation

I need to build an application that streams live video feed from a linux box which can be viewed from an ipad

Describe alternatives you've considered

I've tried reading the docs, examples and building upon it. Nothing seems to work, no video is being set even if the connection comes through.

Here is a similar code built in python that does work.

https://gist.github.com/natealcedo/de866a2e9a770bf3b2600367a725bd92

Additional context

Here is code that I wrote that's not working.

https://gist.github.com/natealcedo/d354f5462ff0d5343d19385d12cba721

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

No branches or pull requests

1 participant