Skip to content

Commit

Permalink
docs: update OnBandwidthUpdate section
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMoch committed Nov 2, 2023
1 parent b2121b8 commit 4c5e538
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/pages/component/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,24 @@ Payload:
Property | Type | Description
--- | --- | ---
bitrate | number | The estimated bitrate in bits/sec
width | number | The width of the video (android only)
height | number | The height of the video (android only)
trackId | string | The track ID of the video track (android only)

Example:
Example on iOS:
```javascript
{
bitrate: 1000000
}
```

Example on Android:
```javascript
{
bitrate: 1000000
width: 1920
height: 1080
trackId: 'some-track-id'
}
```

Expand Down

0 comments on commit 4c5e538

Please sign in to comment.