Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

flutter-webrtc/flutter-whip-server

Repository files navigation

Demo Server for flutter whip.

  • Support WebRTC to RTMP.
  • One to many broadcast.

Quickstart

Run example:

one2many

git clone https://github.com/flutter-webrtc/flutter-whip-server.git
cd whip
go run examples/one2many/main.go

open http://127.0.0.1:8080/, Then you can run a publish, multiple subscribe pages.

webrtc2rtmp

note: need to install gstreamer

git clone https://github.com/flutter-webrtc/flutter-whip-server.git
cd whip
# please ensure gstreamer is installed
# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig # for mac only
go run examples/webrtc2rtmp/main.go
# run any rtmp server
docker run --rm -it -p 1935:1935 -p 1985:1985 -p 8088:8080 \
 registry.cn-hangzhou.aliyuncs.com/ossrs/srs:4 ./objs/srs -c conf/docker.conf

open http://127.0.0.1:8080/ and run the publish sample.

the you can play rtmp stream.

ffplay rtmp://127.0.0.1/live/stream1

About

WHIP for go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /