Skip to content

Commit

Permalink
Docs: Build Janus example on OSX
Browse files Browse the repository at this point in the history
Documented how to build the janus-gateway example on OSX.
  • Loading branch information
frank authored and backkem committed Feb 27, 2019
1 parent 5296afd commit 0c0200b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions janus-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,27 @@ This example demonstrates how to stream to a Janus video-room using pion-WebRTC
### Running
run `main.go` in `github.com/pions/webrtc/examples/janus-gateway/video-room`

OSX
```sh
brew install pkg-config
https://gstreamer.freedesktop.org/data/pkg/osx/

export PKG_CONFIG_PATH=/Library/Frameworks/GStreamer.framework/Versions/Current/lib/pkgconfig
```
Ubuntu
```sh
apt install pkg-config
apt install libgstreamer*
```

Build
```sh
cd example/janus-gateway/video-room
go build
```



If this worked you should see a test video in video-room `1234`

This is the default demo-room that exists in the sample configs, and can quickly be accessed via the Janus demos.

0 comments on commit 0c0200b

Please sign in to comment.