Skip to content

Encode RGBA/YUV images to VP8 buffer with WebRTC streaming

License

Notifications You must be signed in to change notification settings

poi5305/go-yuv2webRTC

Repository files navigation

Notes

Update pion/webrtc version to v2.1.18

Install

# mac
brew install libvpx pkg-config

# linux
apt-get install libvpx-dev
go get github.com/poi5305/go-yuv2webRTC/...

Test

cd $GOPATH/github.com/poi5305/go-yuv2webRTC
go run main.go

Open http://localhost:8000

And press Start Session

screenshot

Android Test

Build aar with gomobile

cd gomobile-lib
sh build.sh

Build Android and Run

  1. open in Android Studio and Build it
  2. open http://phoneIp:8000 in web
  3. click Start Session

screenshot

About

Encode RGBA/YUV images to VP8 buffer with WebRTC streaming

Resources

License

Stars

Watchers

Forks

Packages