Skip to content
Encode RGBA/YUV images to VP8 buffer with WebRTC streaming
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
android
gomobile-lib goMobile: build aar for android Mar 17, 2019
screenshot screenshot for capturing screen with yuv imgags Mar 9, 2019
vpx-encoder enable runtime cpu detect on x86 Mar 15, 2019
webrtc Update README for android demo. And debug for delay Mar 17, 2019
LICENSE Initial commit Mar 9, 2019
README.md
index.html debug for crash Mar 9, 2019
main.go
screenshot-android.png Update README for android demo. And debug for delay Mar 17, 2019
screenshot.png

README.md

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

You can’t perform that action at this time.