Skip to content

Commit

Permalink
Add simulcast config to documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SangwonOh committed Feb 6, 2025
1 parent 723c1da commit 94229a6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,16 @@ ovenLivekit.getUserMedia().then(function () {

#### `ConnectionConfig`

##### `simulcast` - Since 1.4.0
- type
- `RTCRtpEncodingParameters[]` [RTCRtpEncodingParameters](https://w3c.github.io/webrtc-pc/#rtcrtpencodingparameters)
- Defines layers for simulcast transmission.
- example
- `[{ rid: '1', active: true}, { rid: '2', active: true}, { rid: '3', active: true}]`

##### `httpHeaders` - Since 1.3.0
- type
- `{ [key: string]: string}`
- `{ [key: string]: string}[]`
- If set adds http headers to http request.
- example
- `{'Authorization': 'Bearer token'}`
Expand Down

0 comments on commit 94229a6

Please sign in to comment.