Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/notedit/media-server-go
WebRTC media server for go
https://github.com/notedit/media-server-go
golang mediaserver rtmp rtp sfu swig unified webrtc
Last synced: 3 days ago
JSON representation
WebRTC media server for go
- Host: GitHub
- URL: https://github.com/notedit/media-server-go
- Owner: notedit
- License: gpl-2.0
- Created: 2018-11-01T06:07:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-02T08:16:32.000Z (over 4 years ago)
- Last Synced: 2024-12-23T23:08:12.335Z (10 days ago)
- Topics: golang, mediaserver, rtmp, rtp, sfu, swig, unified, webrtc
- Language: Go
- Homepage:
- Size: 13 MB
- Stars: 539
- Watchers: 37
- Forks: 119
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# media-server-go
[![Build Status](https://travis-ci.com/notedit/media-server-go.svg?branch=master)](https://travis-ci.com/notedit/media-server-go)
WebRTC media server for go
## How to use
[Read the Tutorial](https://github.com/notedit/media-server-go/blob/master/manual.md)
Yon can see the demos from here [Demos](https://github.com/notedit/media-server-go-demo)
## Examples
- [WebRTC-Broadcast](https://github.com/notedit/media-server-go-demo/tree/master/broadcast): WebRTC publish and play
- [Raw-RTP-Input](https://github.com/notedit/media-server-go-demo/tree/master/raw-rtp-input): Send raw rtp data into webrtc
- [WebRTC-Record](https://github.com/notedit/media-server-go-demo/tree/master/recording): WebRTC record
- [RTMP-To-WebRTC](https://github.com/notedit/media-server-go-demo/tree/master/rtmp-to-webrtc): Rtmp to webrtc
- [Server-To-Server](https://github.com/notedit/media-server-go-demo/tree/master/server-to-server): WebRTC server relay
- [WebRTC-To-RTMP](https://github.com/notedit/media-server-go-demo/tree/master/webrtc-to-rtmp): WebRTC to rtmp
- [WebRTC-To-HLS](https://github.com/notedit/media-server-go-demo/tree/master/webrtc-to-hls): WebRTC to hls## Install
`media-server-go` is not go getable, so you should clone it and build it yourself.
You should install `libtool` and `autoconf` `automake` before you build
On ubuntu
```sh
apt install autoconf
apt install libtool
apt install automake
```On macOS
```sh
brew install libtool
brew install autoconf
brew install automake
```Your compiler should support `c++17`, for linux, you should update your `gcc/g++` to `7.0+`
for macos, clang should support `c++17`.
```sh
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
sudo apt-get update -qq
sudo apt-get install g++-7
sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-7 90
``````sh
git clone --recurse-submodules https://github.com/notedit/media-server-go.gitcd media-server-go
make
go install
```
then you can use media-server-go in your project.
## Thanks
- [Media Server](https://github.com/medooze/media-server)
- [Media Server for Node.js](https://github.com/medooze/media-server-node)