@urun-sh/core 0.3.5 → 0.3.7
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 +22 -0
- package/dist/{chunk-U2EHGQ45.mjs → chunk-6N23OXJS.mjs} +2 -2
- package/dist/{chunk-NLL342VG.mjs → chunk-FSUNC7FS.mjs} +3 -3
- package/dist/index.browser.d.mts +34 -6
- package/dist/index.browser.d.ts +34 -6
- package/dist/index.browser.js +2 -2
- package/dist/index.browser.mjs +1 -1
- package/dist/index.d.mts +34 -6
- package/dist/index.d.ts +34 -6
- package/dist/index.js +5 -5
- package/dist/index.mjs +1 -1
- package/dist/internal.browser.d.mts +1 -1
- package/dist/internal.browser.d.ts +1 -1
- package/dist/internal.browser.js +2 -2
- package/dist/internal.browser.mjs +1 -1
- package/dist/internal.d.mts +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/internal.js +5 -5
- package/dist/internal.mjs +1 -1
- package/dist/{stream-data-iemsO_1p.d.mts → stream-data-W9S0z8Wv.d.mts} +28 -1
- package/dist/{stream-data-iemsO_1p.d.ts → stream-data-W9S0z8Wv.d.ts} +28 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
- **BREAKING: `WtMicUplinkHandle` and `WtCamUplinkHandle` require
|
|
6
|
+
`deliveredDatagrams(): number`; `WtUplinkSink` requires `delivered(): number`.**
|
|
7
|
+
A consumer that supplies only `setSource()` (and `requestKeyframe()` for the
|
|
8
|
+
camera) to `TransportSession.wtMicUplinkSeam` / `wtCamUplinkSeam` no longer
|
|
9
|
+
type-checks. Implementors report the datagrams QUIC has ACCEPTED from that
|
|
10
|
+
lane. There is deliberately no optional-with-fallback form: a lane that
|
|
11
|
+
cannot answer "did anything actually leave?" is the bug being removed
|
|
12
|
+
(urun-sh/urun-infra#2053 — `isProducingMedia` claimed a live microphone from
|
|
13
|
+
handle presence plus `MediaStreamTrack.readyState`, so the SDK reported a
|
|
14
|
+
healthy mic through an entire session in which nothing was transmitted).
|
|
15
|
+
Migration: return a per-lane counter incremented when that lane's datagram
|
|
16
|
+
write resolves. `WtUplinkSink` is internal — it is not exposed by the package
|
|
17
|
+
entrypoints — so only the two handle types affect external implementors.
|
|
18
|
+
|
|
19
|
+
- **Media liveness is level-triggered, and a sender sequence RESTART resyncs
|
|
20
|
+
instead of wedging the leg forever** (urun-sh/urun-infra#2053). Both media
|
|
21
|
+
lanes kept a monotonic high-water mark with no RFC 3550 §A.1 restart rule, so
|
|
22
|
+
a sender that restarted its sequence space was discarded for the life of the
|
|
23
|
+
session — silently, and on video before the keyframe bit was even read. The
|
|
24
|
+
decode-stall watchdog is no longer one-shot, uplink datagram write rejections
|
|
25
|
+
are no longer swallowed, and publication requires delivery evidence.
|
|
26
|
+
|
|
5
27
|
- **WT uplink lanes now share ONE datagram writer (`getWriter` lock).**
|
|
6
28
|
`WritableStream.getWriter()` LOCKS the stream — the WHATWG contract is one
|
|
7
29
|
writer at a time. `WebTransportSession.start()` built its uplink sink by
|