WHIP (Web API)
An output that sends the output stream via WHIP protocol.
RegisterCanvasOutput
Type definitions
Properties
endpointUrl
Url of a WHIP endpoint.
- Type:
string
bearerToken
Bearer token for a WHIP connection.
- Type:
string
iceServers
List of ICE servers that should be added to RTCPeerConnection
- Type:
RTCConfiguration['iceServers]
- Defaults to:
[{ urls: 'stun:stun.l.google.com:19302' }]
video
Parameters of an output video.
- Type:
WhipOutputVideo
audio
If true
WHIP stream will include an audio track.
- Type:
boolean
- Defaults to:
false
WhipOutputVideo
Type definitions
Properties
maxBitrate
Max bitrate of a stream.
- Type:
number
resolution
Resolution of an output video
- Type:
{ resolution: { width: number; height: number }}