We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cf3897 commit 2b5ea9aCopy full SHA for 2b5ea9a
src/content/docs/realtime/simulcast.mdx
@@ -65,6 +65,17 @@ a=rid:h send
65
a=rid:q send
66
```
67
68
+You can include these by specifying `sendEncodings` when creating the transceiver:
69
+
70
+```js
71
+const transceiver = peerConnection.addTransceiver(track, {
72
+ direction: "sendonly",
73
+ sendEncodings: [
74
+ { scaleResolutionDownBy: 1, rid: "a" },
75
+ { scaleResolutionDownBy: 2, rid: "b" },
76
+ { scaleResolutionDownBy: 4, rid: "c" }
77
+ ]
78
+});
79
## Example
80
81
Here's an example of how to use simulcast with Cloudflare Calls:
0 commit comments