@ac-kit/net-webrtc-win32-x64-msvc 0.1.1 → 0.2.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/CHANGELOG.md +40 -0
- package/README.md +3 -0
- package/THIRD-PARTY-NOTICES.txt +32379 -0
- package/package.json +4 -3
- package/rtc-node.win32-x64-msvc.node +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# @ac-kit/net-webrtc-win32-x64-msvc
|
|
2
2
|
|
|
3
|
+
## 0.2.1
|
|
4
|
+
|
|
5
|
+
No changes in this release.
|
|
6
|
+
|
|
7
|
+
## 0.2.0
|
|
8
|
+
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- 5152230: `@ac-kit/net-webrtc`: TURN relays, and third-party notices in every platform package.
|
|
12
|
+
|
|
13
|
+
**Breaking:**
|
|
14
|
+
|
|
15
|
+
- `iceServers` takes the browser's `RTCIceServer` entries, `{ urls, username?, credential? }`,
|
|
16
|
+
instead of URL strings. Migrate `iceServers: ["stun:stun.example.org"]` to
|
|
17
|
+
`iceServers: [{ urls: "stun:stun.example.org" }]`; a browser's `RTCConfiguration.iceServers`
|
|
18
|
+
now travels unchanged.
|
|
19
|
+
- `WebRtcTurnUnsupportedError` is removed: `turn:` URLs are supported, and `turns:` or
|
|
20
|
+
`turn:…?transport=tcp` throw `UnsupportedError`, as `stuns:` does.
|
|
21
|
+
- `selectedAddresses()` is replaced by `selectedCandidatePair()`, read from the ICE agent:
|
|
22
|
+
`{ local, remote }`, each `{ address, port, type }`. For a relayed pair, `local` is the
|
|
23
|
+
relayed address on the TURN server.
|
|
24
|
+
|
|
25
|
+
**Added:**
|
|
26
|
+
|
|
27
|
+
- TURN (RFC 5766 over UDP, long-term credentials with MD5 keys, IPv6 relays through
|
|
28
|
+
REQUESTED-ADDRESS-FAMILY): one relay candidate per `turn:` server and address family, with
|
|
29
|
+
permissions, channel bindings and refreshes; answers whose MESSAGE-INTEGRITY does not verify
|
|
30
|
+
are ignored. The credential crosses into the native binding once and never appears in an
|
|
31
|
+
error, an event or a log. `close()` deletes the allocations.
|
|
32
|
+
- `iceTransportPolicy: "relay"`: relay candidates only, and only relayed datagrams accepted.
|
|
33
|
+
- `iceCandidateError` events, with the browser's fields (`url`, `address`, `port`,
|
|
34
|
+
`errorCode`, `errorText`): a STUN or TURN server that refused, did not answer (701), or did
|
|
35
|
+
not resolve, and a TURN allocation lost later. A STUN server that does not answer is now
|
|
36
|
+
reported this way rather than ignored.
|
|
37
|
+
- `setConfiguration({ iceServers })` rotates TURN credentials on a live connection: the same
|
|
38
|
+
URLs and usernames, a new `credential`, every allocation re-signed at once.
|
|
39
|
+
- Each `@ac-kit/net-webrtc-<platform>` package ships `THIRD-PARTY-NOTICES.txt`: the Rust
|
|
40
|
+
standard library's notices, the licence of every Rust crate linked into its binding, and each
|
|
41
|
+
crate's copyright statements and NOTICE files. A redistributor must pass it on.
|
|
42
|
+
|
|
3
43
|
## 0.1.1
|
|
4
44
|
|
|
5
45
|
No changes in this release.
|
package/README.md
CHANGED
|
@@ -4,3 +4,6 @@ The Windows x64 native webrtc-rs binding of
|
|
|
4
4
|
[`@ac-kit/net-webrtc`](https://www.npmjs.com/package/@ac-kit/net-webrtc). Install
|
|
5
5
|
`@ac-kit/net-webrtc`, which selects this package as an optional dependency; do
|
|
6
6
|
not depend on it directly.
|
|
7
|
+
|
|
8
|
+
`THIRD-PARTY-NOTICES.txt` lists the Rust crates the binding statically links,
|
|
9
|
+
with their licences.
|