Skip to content

Latest commit

 

History

History

whip-whep-server

WHIP-WHEP Server

WHIP and WHEP server implemented on top of Calls API

Usage

Configuration

The following environment variables must be set in wrangler.toml before running it:

  • CALLS_APP_ID
  • CALLS_APP_SECRET

Install dependencies

npm install --include=dev

Run it locally or deploy it to Earth

To run it locally:

npx wrangler dev --local

If you want it to run on the Cloudflare network:

npx wrangler deploy

Ingest

The ingest endpoint will look like <deployed-domain>/ingest/<stream-name>

Example: http://your-domain.com/ingest/my-live

Play

The play endpoint will look like <deployed-domain>/play/<stream-name>

Example: http://your-domain.com/play/my-live

Bonus: WHEP player

A basic WHEP player can be found under the directory wish-whep-00-player/