Skip to content
forked from ggarber/whip-go

Simple WHIP client for WebRTC streaming from any media source

License

Notifications You must be signed in to change notification settings

maximk-1/whip-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whip-go

whip-go is a simple WHIP (https://datatracker.ietf.org/doc/draft-ietf-wish-whip/) client implementation in go using the WebRTC Pion libraries. It includes a WHIPClient class and a simple command line client supporting screensharing to a WHIP ingestion endpoint.

It has been tested with janus-gateway with whip-simple-server and also with mediasoup, millicast and cloudflare implementations.

Installation

go build

Running

./whip-go -v VIDEO_SOURCE -a AUDIO_SOURCE -vc VIDEO_CODEC -t TOKEN WHIP_ENDPOINT_URL

The supported sources are either "screen" for screensharing, "test" for a test pattern or the name of a file (f.e. "/dev/stdin") to ready raw YUV420 samples from.

The supported video codecs are VP8 and H264.

For more information and additional configuration run:

./whip-go -h

About

Simple WHIP client for WebRTC streaming from any media source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 98.4%
  • Dockerfile 1.6%