Skip to content

Request for example to broadcast camera from macbook  #293

Open
@natealcedo

Description

@natealcedo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions