项目
在 GitHub 查看
notedit/media-server-go
关于
适用于 Go 的 WebRTC 媒体服务器
设计与媒体实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文media-server-go
WebRTC media server for go
How to use
Yon can see the demos from here Demos
Examples
- WebRTC-Broadcast: WebRTC publish and play
- Raw-RTP-Input: Send raw rtp data into webrtc
- WebRTC-Record: WebRTC record
- RTMP-To-WebRTC: Rtmp to webrtc
- Server-To-Server: WebRTC server relay
- WebRTC-To-RTMP: WebRTC to rtmp
- 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
apt install autoconf
apt install libtool
apt install automake
On macOS
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.
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
git clone --recurse-submodules https://github.com/notedit/media-server-go.git
cd media-server-go
make
go install
then you can use media-server-go in your project.
Thanks
探索相关项目
加载中…