y-openrtc 2.2.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -54,14 +54,16 @@ const rtc = OpenRTC({
|
|
|
54
54
|
transports: {
|
|
55
55
|
iroh: true,
|
|
56
56
|
webrtc: true,
|
|
57
|
-
moq:
|
|
57
|
+
moq: { relayUrl: 'https://draft14-relay.example.com/moq' },
|
|
58
58
|
},
|
|
59
59
|
});
|
|
60
60
|
const room = await rtc.rooms.join('private-room', { access: 'capability' });
|
|
61
61
|
const provider = new YProvider('private-room', doc, { room });
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
WebRTC and MoQ are custom packet carriers beneath the same Iroh endpoint. Keep
|
|
65
|
+
TURN and MoQ credentials server-generated and short lived. Do not commit `.env`
|
|
66
|
+
files or long-lived secrets.
|
|
65
67
|
|
|
66
68
|
## Differences from `y-webrtc`
|
|
67
69
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "y-openrtc",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"lib0": "^0.2.114",
|
|
46
|
-
"openrtc": "^2.
|
|
46
|
+
"openrtc": "^2.3.1",
|
|
47
47
|
"y-protocols": "^1.0.6"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|