moqtail 0.14.0 → 0.15.0
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/dist/{client-Z7egUKTO.cjs → client-BviQ20Lc.cjs} +22 -36
- package/dist/{client-BW1agDFV.mjs → client-zi0lmuIL.mjs} +22 -36
- package/dist/client.cjs +1 -1
- package/dist/client.d.cts +15 -4
- package/dist/client.d.mts +15 -4
- package/dist/client.mjs +1 -1
- package/dist/{index-DBbxKcc1.d.cts → index-BY6e1obL.d.cts} +52 -16
- package/dist/{index-DBbxKcc1.d.mts → index-BY6e1obL.d.mts} +52 -16
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +3 -3
- package/dist/model.cjs +88 -21
- package/dist/model.d.cts +2 -2
- package/dist/model.d.mts +2 -2
- package/dist/model.mjs +88 -22
- package/package.json +1 -1
|
@@ -607,8 +607,7 @@ var SendStream = class SendStream {
|
|
|
607
607
|
let serializedObject;
|
|
608
608
|
if (object instanceof require_model.FetchObject) {
|
|
609
609
|
serializedObject = object.serialize(this.#fetchPrevCtx, this.#groupOrder).toUint8Array();
|
|
610
|
-
|
|
611
|
-
if (newCtx) this.#fetchPrevCtx = newCtx;
|
|
610
|
+
this.#fetchPrevCtx = object.nextContext(this.#fetchPrevCtx);
|
|
612
611
|
} else {
|
|
613
612
|
if (this.#lastObjectId !== void 0 && object.objectId <= this.#lastObjectId) {
|
|
614
613
|
require_logger.logger.error("data_stream", `SendStream out-of-order objectId=${object.objectId} lastObjectId=${this.#lastObjectId}`);
|
|
@@ -721,8 +720,7 @@ var RecvStream = class RecvStream {
|
|
|
721
720
|
let object;
|
|
722
721
|
if (require_model.Header.isFetch(this.header)) {
|
|
723
722
|
object = require_model.FetchObject.deserialize(this.#internalBuffer, fetchPrevCtx, this.#groupOrder);
|
|
724
|
-
|
|
725
|
-
if (newCtx) fetchPrevCtx = newCtx;
|
|
723
|
+
fetchPrevCtx = object.nextContext(fetchPrevCtx);
|
|
726
724
|
} else {
|
|
727
725
|
object = require_model.SubgroupObject.deserialize(this.#internalBuffer, require_model.SubgroupHeaderType.hasProperties(this.header.type), previousObjectId);
|
|
728
726
|
this.header.resolveSubgroupId(object.objectId);
|
|
@@ -902,21 +900,6 @@ var PublishNamespaceRequest = class {
|
|
|
902
900
|
};
|
|
903
901
|
//#endregion
|
|
904
902
|
//#region src/client/request/fetch.ts
|
|
905
|
-
/**
|
|
906
|
-
* Copyright 2025 The MOQtail Authors
|
|
907
|
-
*
|
|
908
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
909
|
-
* you may not use this file except in compliance with the License.
|
|
910
|
-
* You may obtain a copy of the License at
|
|
911
|
-
*
|
|
912
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
913
|
-
*
|
|
914
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
915
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
916
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
917
|
-
* See the License for the specific language governing permissions and
|
|
918
|
-
* limitations under the License.
|
|
919
|
-
*/
|
|
920
903
|
var FetchRequest = class {
|
|
921
904
|
requestId;
|
|
922
905
|
message;
|
|
@@ -925,6 +908,7 @@ var FetchRequest = class {
|
|
|
925
908
|
promise;
|
|
926
909
|
controller;
|
|
927
910
|
stream;
|
|
911
|
+
onEndOfRange;
|
|
928
912
|
isActive = true;
|
|
929
913
|
isResolved = false;
|
|
930
914
|
constructor(message) {
|
|
@@ -987,21 +971,6 @@ const DEFAULT_MAX_FILTER_RANGES = 32n;
|
|
|
987
971
|
//#endregion
|
|
988
972
|
//#region src/client/request/subscribe.ts
|
|
989
973
|
/**
|
|
990
|
-
* Copyright 2026 The MOQtail Authors
|
|
991
|
-
*
|
|
992
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
993
|
-
* you may not use this file except in compliance with the License.
|
|
994
|
-
* You may obtain a copy of the License at
|
|
995
|
-
*
|
|
996
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
997
|
-
*
|
|
998
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
999
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1000
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1001
|
-
* See the License for the specific language governing permissions and
|
|
1002
|
-
* limitations under the License.
|
|
1003
|
-
*/
|
|
1004
|
-
/**
|
|
1005
974
|
* Represents an active subscription request in MOQT, implementing `PromiseLike`
|
|
1006
975
|
* for convenient async resolution when subscription setup succeeds or fails.
|
|
1007
976
|
*/
|
|
@@ -1015,6 +984,7 @@ var SubscribeRequest = class {
|
|
|
1015
984
|
forward;
|
|
1016
985
|
subscribeParameters;
|
|
1017
986
|
earlyDiscardPolicy;
|
|
987
|
+
onEndOfRange;
|
|
1018
988
|
largestLocation;
|
|
1019
989
|
/**
|
|
1020
990
|
* The publisher's Largest Object as of the last SUBSCRIBE_OK or REQUEST_UPDATE_OK,
|
|
@@ -3733,6 +3703,7 @@ var MOQtailClient = class MOQtailClient {
|
|
|
3733
3703
|
const request = new SubscribeRequest(msg);
|
|
3734
3704
|
request.manager = new Subscription(request);
|
|
3735
3705
|
request.earlyDiscardPolicy = args.earlyDiscardPolicy;
|
|
3706
|
+
request.onEndOfRange = args.onEndOfRange;
|
|
3736
3707
|
this.requests.set(request.requestId, request);
|
|
3737
3708
|
this.requestIdMap.addMapping(request.requestId, request.fullTrackName);
|
|
3738
3709
|
require_logger.logger.debug("MOQtailClient", `subscribe: sending SUBSCRIBE requestId=${msg.requestId} ftn="${fullTrackName}"`);
|
|
@@ -4108,6 +4079,7 @@ var MOQtailClient = class MOQtailClient {
|
|
|
4108
4079
|
require_logger.logger.log("MOQtailClient", "fetch: generated requestId:", requestId, "current #dontUseRequestId:", this.#dontUseRequestId);
|
|
4109
4080
|
const msg = new require_model.Fetch(requestId, fullTrackName, params);
|
|
4110
4081
|
const request = new FetchRequest(msg);
|
|
4082
|
+
request.onEndOfRange = args.onEndOfRange;
|
|
4111
4083
|
require_logger.logger.log("MOQtailClient", "fetch: full fetch message:", {
|
|
4112
4084
|
requestId: msg.requestId,
|
|
4113
4085
|
fullTrackName: `${fullTrackName}`
|
|
@@ -4552,6 +4524,14 @@ var MOQtailClient = class MOQtailClient {
|
|
|
4552
4524
|
return true;
|
|
4553
4525
|
}
|
|
4554
4526
|
/** The request a peer-supplied Request ID belongs to, undoing any migration. */
|
|
4527
|
+
/** A handler that throws must not end the stream the marker arrived on. */
|
|
4528
|
+
#notifyEndOfRange(handler, marker) {
|
|
4529
|
+
try {
|
|
4530
|
+
handler?.(marker.endOfRange, marker.location);
|
|
4531
|
+
} catch (handlerError) {
|
|
4532
|
+
require_logger.logger.warn("MOQtailClient", "End of Range handler error:", handlerError);
|
|
4533
|
+
}
|
|
4534
|
+
}
|
|
4555
4535
|
#clientRequestId(wireRequestId) {
|
|
4556
4536
|
return this.#clientRequestIds.get(wireRequestId) ?? wireRequestId;
|
|
4557
4537
|
}
|
|
@@ -4730,7 +4710,10 @@ var MOQtailClient = class MOQtailClient {
|
|
|
4730
4710
|
}
|
|
4731
4711
|
if (nextObject) {
|
|
4732
4712
|
if (nextObject instanceof require_model.FetchObject) {
|
|
4733
|
-
if (nextObject.kind === "end_of_range")
|
|
4713
|
+
if (nextObject.kind === "end_of_range") {
|
|
4714
|
+
this.#notifyEndOfRange(request.onEndOfRange, nextObject);
|
|
4715
|
+
continue;
|
|
4716
|
+
}
|
|
4734
4717
|
const moqtObject = require_model.MoqtObject.fromFetchObject(nextObject, fullTrackName);
|
|
4735
4718
|
request.controller?.enqueue(moqtObject);
|
|
4736
4719
|
continue;
|
|
@@ -4751,7 +4734,10 @@ var MOQtailClient = class MOQtailClient {
|
|
|
4751
4734
|
if (done) break;
|
|
4752
4735
|
if (!nextObject) continue;
|
|
4753
4736
|
if (!(nextObject instanceof require_model.FetchObject)) throw new require_model.ProtocolViolationError("MOQtailClient", "Received subgroup object after fetch header");
|
|
4754
|
-
if (nextObject.kind === "end_of_range")
|
|
4737
|
+
if (nextObject.kind === "end_of_range") {
|
|
4738
|
+
this.#notifyEndOfRange(request.onEndOfRange, nextObject);
|
|
4739
|
+
continue;
|
|
4740
|
+
}
|
|
4755
4741
|
const moqtObject = require_model.MoqtObject.fromFetchObject(nextObject, request.fullTrackName);
|
|
4756
4742
|
if (request.manager) {
|
|
4757
4743
|
if (!request.manager.deliver(request, moqtObject)) {
|
|
@@ -607,8 +607,7 @@ var SendStream = class SendStream {
|
|
|
607
607
|
let serializedObject;
|
|
608
608
|
if (object instanceof FetchObject) {
|
|
609
609
|
serializedObject = object.serialize(this.#fetchPrevCtx, this.#groupOrder).toUint8Array();
|
|
610
|
-
|
|
611
|
-
if (newCtx) this.#fetchPrevCtx = newCtx;
|
|
610
|
+
this.#fetchPrevCtx = object.nextContext(this.#fetchPrevCtx);
|
|
612
611
|
} else {
|
|
613
612
|
if (this.#lastObjectId !== void 0 && object.objectId <= this.#lastObjectId) {
|
|
614
613
|
logger.error("data_stream", `SendStream out-of-order objectId=${object.objectId} lastObjectId=${this.#lastObjectId}`);
|
|
@@ -721,8 +720,7 @@ var RecvStream = class RecvStream {
|
|
|
721
720
|
let object;
|
|
722
721
|
if (Header.isFetch(this.header)) {
|
|
723
722
|
object = FetchObject.deserialize(this.#internalBuffer, fetchPrevCtx, this.#groupOrder);
|
|
724
|
-
|
|
725
|
-
if (newCtx) fetchPrevCtx = newCtx;
|
|
723
|
+
fetchPrevCtx = object.nextContext(fetchPrevCtx);
|
|
726
724
|
} else {
|
|
727
725
|
object = SubgroupObject.deserialize(this.#internalBuffer, SubgroupHeaderType.hasProperties(this.header.type), previousObjectId);
|
|
728
726
|
this.header.resolveSubgroupId(object.objectId);
|
|
@@ -902,21 +900,6 @@ var PublishNamespaceRequest = class {
|
|
|
902
900
|
};
|
|
903
901
|
//#endregion
|
|
904
902
|
//#region src/client/request/fetch.ts
|
|
905
|
-
/**
|
|
906
|
-
* Copyright 2025 The MOQtail Authors
|
|
907
|
-
*
|
|
908
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
909
|
-
* you may not use this file except in compliance with the License.
|
|
910
|
-
* You may obtain a copy of the License at
|
|
911
|
-
*
|
|
912
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
913
|
-
*
|
|
914
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
915
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
916
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
917
|
-
* See the License for the specific language governing permissions and
|
|
918
|
-
* limitations under the License.
|
|
919
|
-
*/
|
|
920
903
|
var FetchRequest = class {
|
|
921
904
|
requestId;
|
|
922
905
|
message;
|
|
@@ -925,6 +908,7 @@ var FetchRequest = class {
|
|
|
925
908
|
promise;
|
|
926
909
|
controller;
|
|
927
910
|
stream;
|
|
911
|
+
onEndOfRange;
|
|
928
912
|
isActive = true;
|
|
929
913
|
isResolved = false;
|
|
930
914
|
constructor(message) {
|
|
@@ -987,21 +971,6 @@ const DEFAULT_MAX_FILTER_RANGES = 32n;
|
|
|
987
971
|
//#endregion
|
|
988
972
|
//#region src/client/request/subscribe.ts
|
|
989
973
|
/**
|
|
990
|
-
* Copyright 2026 The MOQtail Authors
|
|
991
|
-
*
|
|
992
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
993
|
-
* you may not use this file except in compliance with the License.
|
|
994
|
-
* You may obtain a copy of the License at
|
|
995
|
-
*
|
|
996
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
997
|
-
*
|
|
998
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
999
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
1000
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
1001
|
-
* See the License for the specific language governing permissions and
|
|
1002
|
-
* limitations under the License.
|
|
1003
|
-
*/
|
|
1004
|
-
/**
|
|
1005
974
|
* Represents an active subscription request in MOQT, implementing `PromiseLike`
|
|
1006
975
|
* for convenient async resolution when subscription setup succeeds or fails.
|
|
1007
976
|
*/
|
|
@@ -1015,6 +984,7 @@ var SubscribeRequest = class {
|
|
|
1015
984
|
forward;
|
|
1016
985
|
subscribeParameters;
|
|
1017
986
|
earlyDiscardPolicy;
|
|
987
|
+
onEndOfRange;
|
|
1018
988
|
largestLocation;
|
|
1019
989
|
/**
|
|
1020
990
|
* The publisher's Largest Object as of the last SUBSCRIBE_OK or REQUEST_UPDATE_OK,
|
|
@@ -3733,6 +3703,7 @@ var MOQtailClient = class MOQtailClient {
|
|
|
3733
3703
|
const request = new SubscribeRequest(msg);
|
|
3734
3704
|
request.manager = new Subscription(request);
|
|
3735
3705
|
request.earlyDiscardPolicy = args.earlyDiscardPolicy;
|
|
3706
|
+
request.onEndOfRange = args.onEndOfRange;
|
|
3736
3707
|
this.requests.set(request.requestId, request);
|
|
3737
3708
|
this.requestIdMap.addMapping(request.requestId, request.fullTrackName);
|
|
3738
3709
|
logger.debug("MOQtailClient", `subscribe: sending SUBSCRIBE requestId=${msg.requestId} ftn="${fullTrackName}"`);
|
|
@@ -4108,6 +4079,7 @@ var MOQtailClient = class MOQtailClient {
|
|
|
4108
4079
|
logger.log("MOQtailClient", "fetch: generated requestId:", requestId, "current #dontUseRequestId:", this.#dontUseRequestId);
|
|
4109
4080
|
const msg = new Fetch(requestId, fullTrackName, params);
|
|
4110
4081
|
const request = new FetchRequest(msg);
|
|
4082
|
+
request.onEndOfRange = args.onEndOfRange;
|
|
4111
4083
|
logger.log("MOQtailClient", "fetch: full fetch message:", {
|
|
4112
4084
|
requestId: msg.requestId,
|
|
4113
4085
|
fullTrackName: `${fullTrackName}`
|
|
@@ -4552,6 +4524,14 @@ var MOQtailClient = class MOQtailClient {
|
|
|
4552
4524
|
return true;
|
|
4553
4525
|
}
|
|
4554
4526
|
/** The request a peer-supplied Request ID belongs to, undoing any migration. */
|
|
4527
|
+
/** A handler that throws must not end the stream the marker arrived on. */
|
|
4528
|
+
#notifyEndOfRange(handler, marker) {
|
|
4529
|
+
try {
|
|
4530
|
+
handler?.(marker.endOfRange, marker.location);
|
|
4531
|
+
} catch (handlerError) {
|
|
4532
|
+
logger.warn("MOQtailClient", "End of Range handler error:", handlerError);
|
|
4533
|
+
}
|
|
4534
|
+
}
|
|
4555
4535
|
#clientRequestId(wireRequestId) {
|
|
4556
4536
|
return this.#clientRequestIds.get(wireRequestId) ?? wireRequestId;
|
|
4557
4537
|
}
|
|
@@ -4730,7 +4710,10 @@ var MOQtailClient = class MOQtailClient {
|
|
|
4730
4710
|
}
|
|
4731
4711
|
if (nextObject) {
|
|
4732
4712
|
if (nextObject instanceof FetchObject) {
|
|
4733
|
-
if (nextObject.kind === "end_of_range")
|
|
4713
|
+
if (nextObject.kind === "end_of_range") {
|
|
4714
|
+
this.#notifyEndOfRange(request.onEndOfRange, nextObject);
|
|
4715
|
+
continue;
|
|
4716
|
+
}
|
|
4734
4717
|
const moqtObject = MoqtObject.fromFetchObject(nextObject, fullTrackName);
|
|
4735
4718
|
request.controller?.enqueue(moqtObject);
|
|
4736
4719
|
continue;
|
|
@@ -4751,7 +4734,10 @@ var MOQtailClient = class MOQtailClient {
|
|
|
4751
4734
|
if (done) break;
|
|
4752
4735
|
if (!nextObject) continue;
|
|
4753
4736
|
if (!(nextObject instanceof FetchObject)) throw new ProtocolViolationError("MOQtailClient", "Received subgroup object after fetch header");
|
|
4754
|
-
if (nextObject.kind === "end_of_range")
|
|
4737
|
+
if (nextObject.kind === "end_of_range") {
|
|
4738
|
+
this.#notifyEndOfRange(request.onEndOfRange, nextObject);
|
|
4739
|
+
continue;
|
|
4740
|
+
}
|
|
4755
4741
|
const moqtObject = MoqtObject.fromFetchObject(nextObject, request.fullTrackName);
|
|
4756
4742
|
if (request.manager) {
|
|
4757
4743
|
if (!request.manager.deliver(request, moqtObject)) {
|
package/dist/client.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_client = require("./client-
|
|
2
|
+
const require_client = require("./client-BviQ20Lc.cjs");
|
|
3
3
|
exports.ControlRecvStream = require_client.ControlRecvStream;
|
|
4
4
|
exports.ControlSendStream = require_client.ControlSendStream;
|
|
5
5
|
exports.ControlStream = require_client.ControlStream;
|
package/dist/client.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as ControlMessage, An as GroupOrder, B as Subscribe, Cn as FullTrackName, Dn as FetchObject, En as EndOfRangeKind, F as TrackStatus, Fn as SwitchMode, I as RequestUpdate, L as SubscribeOk, Ln as FetchHeader, M as RequestOk, Mn as PublishDoneStatusCode, N as SubscribeTracks, P as SubscribeNamespace, R as Publish, Rn as Datagram, Rt as LocationFilter, Sn as SubgroupObject, U as FetchOk, Un as ObjectStatus, V as GoAway, Yn as Location, Z as TrackProperty, at as Fetch, bn as SubgroupHeader, j as RequestError, k as StreamResetCode, kn as ControlMessageType, lt as PublishNamespace, mn as PublishSkipped, ot as Setup, qn as Tuple, r as SetupOptions, ut as MessageParameter, vn as Header, xn as MoqtObject, yn as RequestIdMap, z as PublishDone } from "./index-BY6e1obL.cjs";
|
|
2
2
|
import { t as LogLevel } from "./logger-dEoueCj7.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/client/control_stream.d.ts
|
|
@@ -317,6 +317,7 @@ declare class FetchRequest implements PromiseLike<FetchOk | RequestError> {
|
|
|
317
317
|
private promise;
|
|
318
318
|
controller?: ReadableStreamDefaultController<MoqtObject>;
|
|
319
319
|
stream: ReadableStream<MoqtObject>;
|
|
320
|
+
onEndOfRange: EndOfRangeHandler | undefined;
|
|
320
321
|
isActive: boolean;
|
|
321
322
|
isResolved: boolean;
|
|
322
323
|
constructor(message: Fetch);
|
|
@@ -528,6 +529,13 @@ type MOQtailClientOptions = {
|
|
|
528
529
|
* })
|
|
529
530
|
* ```
|
|
530
531
|
*/
|
|
532
|
+
/**
|
|
533
|
+
* Called for an End of Range marker on a fetch stream: every Location after the
|
|
534
|
+
* previous Object, if any, up to and including `location`, does not exist, is unknown,
|
|
535
|
+
* or timed out, as `kind` says. Without it, an unknown or timed-out range looks the
|
|
536
|
+
* same as one that does not exist.
|
|
537
|
+
*/
|
|
538
|
+
type EndOfRangeHandler = (kind: EndOfRangeKind, location: Location) => void;
|
|
531
539
|
type SubscribeOptions = {
|
|
532
540
|
/** Fully qualified track identifier ({@link FullTrackName}). */fullTrackName: FullTrackName; /** Subscriber priority (0 = highest, 255 = lowest). Values outside range are clamped. Fractional values are rounded. */
|
|
533
541
|
priority: number; /** Desired {@link (GroupOrder:enum)} (e.g. {@link (GroupOrder:enum).Original}) specifying delivery ordering semantics. */
|
|
@@ -539,7 +547,8 @@ type SubscribeOptions = {
|
|
|
539
547
|
* FILL_PARAMETERS here also retrieves already-published Objects on a fill fetch stream.
|
|
540
548
|
*/
|
|
541
549
|
parameters?: MessageParameter[]; /** Per-subscription early discard policy. Overrides the client-level default set via {@link MOQtailClient.setEarlyDiscardPolicy}. */
|
|
542
|
-
earlyDiscardPolicy?: EarlyDiscardPolicyConfig;
|
|
550
|
+
earlyDiscardPolicy?: EarlyDiscardPolicyConfig; /** Called for each End of Range marker on the subscription's fill fetch streams. */
|
|
551
|
+
onEndOfRange?: EndOfRangeHandler;
|
|
543
552
|
};
|
|
544
553
|
/**
|
|
545
554
|
* Changes applied to an existing SUBSCRIBE via {@link MOQtailClient.subscribeUpdate}.
|
|
@@ -623,7 +632,8 @@ type FetchOptions = {
|
|
|
623
632
|
* a filter without an end also stops at the Largest Object.
|
|
624
633
|
*/
|
|
625
634
|
locationFilter?: LocationFilter; /** Optional parameters block. */
|
|
626
|
-
parameters?: MessageParameter[];
|
|
635
|
+
parameters?: MessageParameter[]; /** Called for each End of Range marker in the response. */
|
|
636
|
+
onEndOfRange?: EndOfRangeHandler;
|
|
627
637
|
};
|
|
628
638
|
//#endregion
|
|
629
639
|
//#region src/client/request/subscribe.d.ts
|
|
@@ -642,6 +652,7 @@ declare class SubscribeRequest implements PromiseLike<SubscribeOk | RequestError
|
|
|
642
652
|
forward: boolean;
|
|
643
653
|
subscribeParameters: MessageParameter[];
|
|
644
654
|
earlyDiscardPolicy: EarlyDiscardPolicyConfig | undefined;
|
|
655
|
+
onEndOfRange: EndOfRangeHandler | undefined;
|
|
645
656
|
largestLocation: Location | undefined;
|
|
646
657
|
/**
|
|
647
658
|
* The publisher's Largest Object as of the last SUBSCRIBE_OK or REQUEST_UPDATE_OK,
|
|
@@ -1955,4 +1966,4 @@ declare class RecvStream {
|
|
|
1955
1966
|
stopSending(code: StreamResetCode): Promise<void>;
|
|
1956
1967
|
}
|
|
1957
1968
|
//#endregion
|
|
1958
|
-
export { ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataDirection, DataEvent, DataEventBase, DataEventObserver, DataHeaderEvent, DataObjectEvent, DataStreamEndEvent, DataStreamObserver, DataStreamReporter, EarlyDiscardPolicyConfig, FetchOptions, FetchPublication, FetchRequest, HybridTrackSource, LiveObjectSource, LiveTrackSource, MOQtailClient, MOQtailClientOptions, MOQtailRequest, MemoryObjectCache, ObjectCache, PastObjectSource, PublishNamespaceRequest, PublishPublication, PublishRequest, RecvDatagramStream, RecvStream, RequestStream, RequestStreamHooks, RingBufferObjectCache, SendDatagramStream, SendStream, StaticTrackSource, SubscribeNamespaceRequest, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeUpdateOptions, Subscription, SwitchOptions, Track, TrackAliasHolder, TrackSource, TrackStatusRequest };
|
|
1969
|
+
export { ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataDirection, DataEvent, DataEventBase, DataEventObserver, DataHeaderEvent, DataObjectEvent, DataStreamEndEvent, DataStreamObserver, DataStreamReporter, EarlyDiscardPolicyConfig, EndOfRangeHandler, FetchOptions, FetchPublication, FetchRequest, HybridTrackSource, LiveObjectSource, LiveTrackSource, MOQtailClient, MOQtailClientOptions, MOQtailRequest, MemoryObjectCache, ObjectCache, PastObjectSource, PublishNamespaceRequest, PublishPublication, PublishRequest, RecvDatagramStream, RecvStream, RequestStream, RequestStreamHooks, RingBufferObjectCache, SendDatagramStream, SendStream, StaticTrackSource, SubscribeNamespaceRequest, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeUpdateOptions, Subscription, SwitchOptions, Track, TrackAliasHolder, TrackSource, TrackStatusRequest };
|
package/dist/client.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as ControlMessage, An as GroupOrder, B as Subscribe, Cn as FullTrackName, Dn as FetchObject, En as EndOfRangeKind, F as TrackStatus, Fn as SwitchMode, I as RequestUpdate, L as SubscribeOk, Ln as FetchHeader, M as RequestOk, Mn as PublishDoneStatusCode, N as SubscribeTracks, P as SubscribeNamespace, R as Publish, Rn as Datagram, Rt as LocationFilter, Sn as SubgroupObject, U as FetchOk, Un as ObjectStatus, V as GoAway, Yn as Location, Z as TrackProperty, at as Fetch, bn as SubgroupHeader, j as RequestError, k as StreamResetCode, kn as ControlMessageType, lt as PublishNamespace, mn as PublishSkipped, ot as Setup, qn as Tuple, r as SetupOptions, ut as MessageParameter, vn as Header, xn as MoqtObject, yn as RequestIdMap, z as PublishDone } from "./index-BY6e1obL.mjs";
|
|
2
2
|
import { t as LogLevel } from "./logger-dEoueCj7.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/client/control_stream.d.ts
|
|
@@ -317,6 +317,7 @@ declare class FetchRequest implements PromiseLike<FetchOk | RequestError> {
|
|
|
317
317
|
private promise;
|
|
318
318
|
controller?: ReadableStreamDefaultController<MoqtObject>;
|
|
319
319
|
stream: ReadableStream<MoqtObject>;
|
|
320
|
+
onEndOfRange: EndOfRangeHandler | undefined;
|
|
320
321
|
isActive: boolean;
|
|
321
322
|
isResolved: boolean;
|
|
322
323
|
constructor(message: Fetch);
|
|
@@ -528,6 +529,13 @@ type MOQtailClientOptions = {
|
|
|
528
529
|
* })
|
|
529
530
|
* ```
|
|
530
531
|
*/
|
|
532
|
+
/**
|
|
533
|
+
* Called for an End of Range marker on a fetch stream: every Location after the
|
|
534
|
+
* previous Object, if any, up to and including `location`, does not exist, is unknown,
|
|
535
|
+
* or timed out, as `kind` says. Without it, an unknown or timed-out range looks the
|
|
536
|
+
* same as one that does not exist.
|
|
537
|
+
*/
|
|
538
|
+
type EndOfRangeHandler = (kind: EndOfRangeKind, location: Location) => void;
|
|
531
539
|
type SubscribeOptions = {
|
|
532
540
|
/** Fully qualified track identifier ({@link FullTrackName}). */fullTrackName: FullTrackName; /** Subscriber priority (0 = highest, 255 = lowest). Values outside range are clamped. Fractional values are rounded. */
|
|
533
541
|
priority: number; /** Desired {@link (GroupOrder:enum)} (e.g. {@link (GroupOrder:enum).Original}) specifying delivery ordering semantics. */
|
|
@@ -539,7 +547,8 @@ type SubscribeOptions = {
|
|
|
539
547
|
* FILL_PARAMETERS here also retrieves already-published Objects on a fill fetch stream.
|
|
540
548
|
*/
|
|
541
549
|
parameters?: MessageParameter[]; /** Per-subscription early discard policy. Overrides the client-level default set via {@link MOQtailClient.setEarlyDiscardPolicy}. */
|
|
542
|
-
earlyDiscardPolicy?: EarlyDiscardPolicyConfig;
|
|
550
|
+
earlyDiscardPolicy?: EarlyDiscardPolicyConfig; /** Called for each End of Range marker on the subscription's fill fetch streams. */
|
|
551
|
+
onEndOfRange?: EndOfRangeHandler;
|
|
543
552
|
};
|
|
544
553
|
/**
|
|
545
554
|
* Changes applied to an existing SUBSCRIBE via {@link MOQtailClient.subscribeUpdate}.
|
|
@@ -623,7 +632,8 @@ type FetchOptions = {
|
|
|
623
632
|
* a filter without an end also stops at the Largest Object.
|
|
624
633
|
*/
|
|
625
634
|
locationFilter?: LocationFilter; /** Optional parameters block. */
|
|
626
|
-
parameters?: MessageParameter[];
|
|
635
|
+
parameters?: MessageParameter[]; /** Called for each End of Range marker in the response. */
|
|
636
|
+
onEndOfRange?: EndOfRangeHandler;
|
|
627
637
|
};
|
|
628
638
|
//#endregion
|
|
629
639
|
//#region src/client/request/subscribe.d.ts
|
|
@@ -642,6 +652,7 @@ declare class SubscribeRequest implements PromiseLike<SubscribeOk | RequestError
|
|
|
642
652
|
forward: boolean;
|
|
643
653
|
subscribeParameters: MessageParameter[];
|
|
644
654
|
earlyDiscardPolicy: EarlyDiscardPolicyConfig | undefined;
|
|
655
|
+
onEndOfRange: EndOfRangeHandler | undefined;
|
|
645
656
|
largestLocation: Location | undefined;
|
|
646
657
|
/**
|
|
647
658
|
* The publisher's Largest Object as of the last SUBSCRIBE_OK or REQUEST_UPDATE_OK,
|
|
@@ -1955,4 +1966,4 @@ declare class RecvStream {
|
|
|
1955
1966
|
stopSending(code: StreamResetCode): Promise<void>;
|
|
1956
1967
|
}
|
|
1957
1968
|
//#endregion
|
|
1958
|
-
export { ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataDirection, DataEvent, DataEventBase, DataEventObserver, DataHeaderEvent, DataObjectEvent, DataStreamEndEvent, DataStreamObserver, DataStreamReporter, EarlyDiscardPolicyConfig, FetchOptions, FetchPublication, FetchRequest, HybridTrackSource, LiveObjectSource, LiveTrackSource, MOQtailClient, MOQtailClientOptions, MOQtailRequest, MemoryObjectCache, ObjectCache, PastObjectSource, PublishNamespaceRequest, PublishPublication, PublishRequest, RecvDatagramStream, RecvStream, RequestStream, RequestStreamHooks, RingBufferObjectCache, SendDatagramStream, SendStream, StaticTrackSource, SubscribeNamespaceRequest, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeUpdateOptions, Subscription, SwitchOptions, Track, TrackAliasHolder, TrackSource, TrackStatusRequest };
|
|
1969
|
+
export { ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataDirection, DataEvent, DataEventBase, DataEventObserver, DataHeaderEvent, DataObjectEvent, DataStreamEndEvent, DataStreamObserver, DataStreamReporter, EarlyDiscardPolicyConfig, EndOfRangeHandler, FetchOptions, FetchPublication, FetchRequest, HybridTrackSource, LiveObjectSource, LiveTrackSource, MOQtailClient, MOQtailClientOptions, MOQtailRequest, MemoryObjectCache, ObjectCache, PastObjectSource, PublishNamespaceRequest, PublishPublication, PublishRequest, RecvDatagramStream, RecvStream, RequestStream, RequestStreamHooks, RingBufferObjectCache, SendDatagramStream, SendStream, StaticTrackSource, SubscribeNamespaceRequest, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeUpdateOptions, Subscription, SwitchOptions, Track, TrackAliasHolder, TrackSource, TrackStatusRequest };
|
package/dist/client.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as SendStream, D as ControlSendStream, E as ControlRecvStream, O as ControlStream, S as RecvStream, T as RequestStream, _ as FetchRequest, a as SendDatagramStream, b as LiveTrackSource, c as SubscribePublication, d as PublishRequest, f as SubscribeRequest, g as DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, h as DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, i as RecvDatagramStream, l as FetchPublication, m as DEFAULT_MAX_FILTER_RANGES, n as RingBufferObjectCache, o as PublishPublication, p as Subscription, r as MOQtailClient, s as SubscribeNamespaceRequest, t as MemoryObjectCache, u as TrackStatusRequest, v as PublishNamespaceRequest, w as DataStreamReporter, x as StaticTrackSource, y as HybridTrackSource } from "./client-
|
|
1
|
+
import { C as SendStream, D as ControlSendStream, E as ControlRecvStream, O as ControlStream, S as RecvStream, T as RequestStream, _ as FetchRequest, a as SendDatagramStream, b as LiveTrackSource, c as SubscribePublication, d as PublishRequest, f as SubscribeRequest, g as DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, h as DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, i as RecvDatagramStream, l as FetchPublication, m as DEFAULT_MAX_FILTER_RANGES, n as RingBufferObjectCache, o as PublishPublication, p as Subscription, r as MOQtailClient, s as SubscribeNamespaceRequest, t as MemoryObjectCache, u as TrackStatusRequest, v as PublishNamespaceRequest, w as DataStreamReporter, x as StaticTrackSource, y as HybridTrackSource } from "./client-zi0lmuIL.mjs";
|
|
2
2
|
export { ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataStreamReporter, FetchPublication, FetchRequest, HybridTrackSource, LiveTrackSource, MOQtailClient, MemoryObjectCache, PublishNamespaceRequest, PublishPublication, PublishRequest, RecvDatagramStream, RecvStream, RequestStream, RingBufferObjectCache, SendDatagramStream, SendStream, StaticTrackSource, SubscribeNamespaceRequest, SubscribePublication, SubscribeRequest, Subscription, TrackStatusRequest };
|
|
@@ -946,20 +946,36 @@ declare namespace RequestErrorCode {
|
|
|
946
946
|
//#endregion
|
|
947
947
|
//#region src/model/data/fetch_object.d.ts
|
|
948
948
|
/**
|
|
949
|
-
*
|
|
949
|
+
* The prior Object a Fetch Object is encoded against: each one is written as
|
|
950
|
+
* differences from it.
|
|
950
951
|
*/
|
|
951
952
|
type FetchObjectContext = {
|
|
952
953
|
groupId: bigint;
|
|
953
|
-
|
|
954
|
+
/**
|
|
955
|
+
* Null while the stream has carried only End of Range markers and no Object yet:
|
|
956
|
+
* a marker sets the prior Group and Object IDs, but has no Subgroup ID.
|
|
957
|
+
*/
|
|
958
|
+
subgroupId: bigint | null;
|
|
954
959
|
objectId: bigint;
|
|
955
|
-
|
|
960
|
+
/**
|
|
961
|
+
* Null while the stream has carried only End of Range markers and no Object yet:
|
|
962
|
+
* a marker has no priority.
|
|
963
|
+
*/
|
|
964
|
+
publisherPriority: number | null;
|
|
956
965
|
};
|
|
957
966
|
/**
|
|
958
|
-
* Kind discriminator for End-of-Range markers
|
|
967
|
+
* Kind discriminator for End-of-Range markers.
|
|
959
968
|
*/
|
|
960
969
|
declare enum EndOfRangeKind {
|
|
970
|
+
/** Serialization Flags = 0x8C: all objects in the range are known not to exist. */
|
|
961
971
|
NonExistent = 140,
|
|
962
|
-
|
|
972
|
+
/** Serialization Flags = 0x10C: the range is cache-unknown. */
|
|
973
|
+
Unknown = 268,
|
|
974
|
+
/**
|
|
975
|
+
* Serialization Flags = 0x20C: the range timed out, e.g. a relay ran out of its
|
|
976
|
+
* fill budget before it could retrieve it.
|
|
977
|
+
*/
|
|
978
|
+
TimedOut = 524
|
|
963
979
|
}
|
|
964
980
|
/**
|
|
965
981
|
* Payload-bearing fetch object (§11.5, non-End-of-Range form).
|
|
@@ -980,10 +996,14 @@ declare class FetchObject {
|
|
|
980
996
|
get groupId(): bigint;
|
|
981
997
|
get objectId(): bigint;
|
|
982
998
|
/**
|
|
983
|
-
*
|
|
984
|
-
*
|
|
999
|
+
* What the entry after this one is encoded against, given what this one was
|
|
1000
|
+
* encoded against (`prev`).
|
|
1001
|
+
*
|
|
1002
|
+
* After an Object, that is the Object itself. After an End of Range marker, it is
|
|
1003
|
+
* the marker's Group and Object IDs, with the Subgroup ID and priority still those
|
|
1004
|
+
* of the last Object before the marker, or none if no Object came before it.
|
|
985
1005
|
*/
|
|
986
|
-
|
|
1006
|
+
nextContext(prev?: FetchObjectContext): FetchObjectContext;
|
|
987
1007
|
static newObject(groupId: bigint | number, subgroupId: bigint | number, objectId: bigint | number, publisherPriority: number, forwardingPreference: ObjectForwardingPreference, properties: KeyValuePair[] | null, payload: Uint8Array): FetchObject;
|
|
988
1008
|
static newEndOfRange(kind: EndOfRangeKind, groupId: bigint | number, objectId: bigint | number): FetchObject;
|
|
989
1009
|
serialize(prev?: FetchObjectContext, groupOrder?: GroupOrder): FrozenByteBuffer;
|
|
@@ -2284,11 +2304,12 @@ declare class Fetch {
|
|
|
2284
2304
|
* limitations under the License.
|
|
2285
2305
|
*/
|
|
2286
2306
|
declare enum LOCPropertyId {
|
|
2287
|
-
Timestamp = 6,
|
|
2288
2307
|
Timescale = 8,
|
|
2289
|
-
VideoFrameMarking =
|
|
2308
|
+
VideoFrameMarking = 9,
|
|
2290
2309
|
AudioLevel = 12,
|
|
2291
|
-
VideoConfig = 13
|
|
2310
|
+
VideoConfig = 13,
|
|
2311
|
+
AudioConfig = 15,
|
|
2312
|
+
Timestamp = 16
|
|
2292
2313
|
}
|
|
2293
2314
|
declare enum TrackPropertyType {
|
|
2294
2315
|
ObjectDeliveryTimeout = 2,
|
|
@@ -2805,9 +2826,12 @@ declare class Timescale {
|
|
|
2805
2826
|
//#endregion
|
|
2806
2827
|
//#region src/model/property/video_frame_marking.d.ts
|
|
2807
2828
|
declare class VideoFrameMarking {
|
|
2808
|
-
readonly value:
|
|
2829
|
+
readonly value: Uint8Array;
|
|
2809
2830
|
static readonly TYPE = LOCPropertyId.VideoFrameMarking;
|
|
2810
|
-
|
|
2831
|
+
/** The RFC 9626 frame-marking octets (1 to 4), without the length prefix. */
|
|
2832
|
+
constructor(value: Uint8Array);
|
|
2833
|
+
/** True if the frame decodes without temporally prior frames (the I bit). */
|
|
2834
|
+
get independent(): boolean;
|
|
2811
2835
|
toKeyValuePair(): KeyValuePair;
|
|
2812
2836
|
static fromKeyValuePair(pair: KeyValuePair): VideoFrameMarking | undefined;
|
|
2813
2837
|
}
|
|
@@ -2830,8 +2854,17 @@ declare class VideoConfig {
|
|
|
2830
2854
|
static fromKeyValuePair(pair: KeyValuePair): VideoConfig | undefined;
|
|
2831
2855
|
}
|
|
2832
2856
|
//#endregion
|
|
2857
|
+
//#region src/model/property/audio_config.d.ts
|
|
2858
|
+
declare class AudioConfig {
|
|
2859
|
+
readonly config: Uint8Array;
|
|
2860
|
+
static readonly TYPE = LOCPropertyId.AudioConfig;
|
|
2861
|
+
constructor(config: Uint8Array);
|
|
2862
|
+
toKeyValuePair(): KeyValuePair;
|
|
2863
|
+
static fromKeyValuePair(pair: KeyValuePair): AudioConfig | undefined;
|
|
2864
|
+
}
|
|
2865
|
+
//#endregion
|
|
2833
2866
|
//#region src/model/property/loc.d.ts
|
|
2834
|
-
type LOCProperty = Timestamp | Timescale | VideoFrameMarking | AudioLevel | VideoConfig;
|
|
2867
|
+
type LOCProperty = Timestamp | Timescale | VideoFrameMarking | AudioLevel | VideoConfig | AudioConfig;
|
|
2835
2868
|
declare namespace LOCProperty {
|
|
2836
2869
|
function fromKeyValuePair(pair: KeyValuePair): LOCProperty | undefined;
|
|
2837
2870
|
function toKeyValuePair(header: LOCProperty): KeyValuePair;
|
|
@@ -2840,14 +2873,17 @@ declare namespace LOCProperty {
|
|
|
2840
2873
|
function isVideoFrameMarking(header: LOCProperty): header is VideoFrameMarking;
|
|
2841
2874
|
function isAudioLevel(header: LOCProperty): header is AudioLevel;
|
|
2842
2875
|
function isVideoConfig(header: LOCProperty): header is VideoConfig;
|
|
2876
|
+
function isAudioConfig(header: LOCProperty): header is AudioConfig;
|
|
2843
2877
|
}
|
|
2844
2878
|
declare class LOCProperties {
|
|
2845
2879
|
private kvps;
|
|
2846
2880
|
addTimestamp(timestamp: bigint | number): this;
|
|
2847
2881
|
addTimescale(timescale: bigint | number): this;
|
|
2848
|
-
|
|
2882
|
+
/** Marks a whole, non-scalable frame (RFC 9626 short form): S and E set, I set on a keyframe. */
|
|
2883
|
+
addVideoFrameMarking(isKey: boolean): this;
|
|
2849
2884
|
addAudioLevel(audioLevel: bigint | number): this;
|
|
2850
2885
|
addVideoConfig(config: Uint8Array): this;
|
|
2886
|
+
addAudioConfig(config: Uint8Array): this;
|
|
2851
2887
|
addRaw(pair: KeyValuePair): this;
|
|
2852
2888
|
build(): KeyValuePair[];
|
|
2853
2889
|
static fromKeyValuePairs(kvps: KeyValuePair[]): LOCProperty[];
|
|
@@ -3048,4 +3084,4 @@ declare class CombinedFilter {
|
|
|
3048
3084
|
matches(obj: MoqtObject, subgroupId?: bigint | null): boolean;
|
|
3049
3085
|
}
|
|
3050
3086
|
//#endregion
|
|
3051
|
-
export {
|
|
3087
|
+
export { LOCPropertyId as $, isBytes as $n, Forward as $t, ControlMessage as A, GroupOrder as An, ProtocolViolationError as At, Subscribe as B, FetchHeaderType as Bn, SwitchingSetAssignment as Bt, Timescale as C, FullTrackName as Cn, InvalidEnumValue as Ct, CMSFCatalog as D, FetchObject as Dn, LengthExceedsMaxError as Dt, CMSF as E, EndOfRangeKind as En, KeyValueFormattingError as Et, TrackStatus as F, SwitchMode as Fn, VarIntOverflowError as Ft, DefaultPublisherPriorityProperty as G, MAX_REASON_PHRASE_LEN as Gn, MoqtUrl as Gt, MAX_NEW_SESSION_URI_LENGTH as H, ObjectForwardingPreference as Hn, LargestObject as Ht, RequestUpdate as I, TrackStatusCode as In, FillParameters as It, MaxCacheDurationProperty as J, TupleField as Jn, GREASE_STEP as Jt, DynamicGroupsProperty as K, ReasonPhrase as Kn, resolveTransportUrl as Kt, SubscribeOk as L, FetchHeader as Ln, SwitchFrom as Lt, RequestOk as M, PublishDoneStatusCode as Mn, TerminationError as Mt, SubscribeTracks as N, RequestErrorCode as Nn, TimeoutError as Nt, CMSFTrack as O, FetchObjectContext as On, MOQtailError as Ot, SubscribeNamespace as P, SUPPORTED_VERSIONS as Pn, TrackNameError as Pt, UnknownTrackProperty as Q, deserializeKvpListUntilEmpty as Qn, IncludeProperties as Qt, Publish as R, Datagram as Rn, LocationFilter as Rt, VideoFrameMarking as S, SubgroupObject as Sn, InternalError as St, TerminationCode as T, MAX_NAMESPACE_TUPLE_COUNT as Tn, InvalidUTF8Error as Tt, FetchOk as U, ObjectStatus as Un, Redirect as Ut, GoAway as V, ObjectDatagramType as Vn, NewGroupRequest as Vt, DefaultPublisherGroupOrderProperty as W, SubgroupHeaderType as Wn, MoqtFragment as Wt, SubgroupDeliveryTimeoutProperty as X, KeyValuePair as Xn, isGrease as Xt, ObjectDeliveryTimeoutProperty as Y, Location as Yn, greaseValue as Yt, TrackProperty as Z, deserializeKvpList as Zn, GroupOrderParam as Zt, LOCProperties as _, FrozenByteBuffer as _n, RangeDelta as _t, SstsAlgorithms as a, AuthTokenVariant as an, Fetch as at, VideoConfig as b, SubgroupHeader as bn, encodeRanges as bt, MaxFilterRanges as c, MessageParameterType as cn, Namespace as ct, Path as d, messageParameterTypeFromNumber as dn, MessageParameters as dt, Expires as en, isVarInt as er, PropertyRange as et, ImmutablePropertiesObjectProperty as f, setupOptionTypeFromNumber as fn, applyMessageParameterUpdate as ft, UnknownObjectProperty as g, ByteBuffer as gn, Range as gt, PriorObjectIdGapProperty as h, BaseByteBuffer as hn, InvalidFilterError as ht, assertNoAuthorityOverWebTransport as i, FillTimeout as in, locPropertyIdFromNumber as it, RequestError as j, LocationFilterType as jn, RequestIdError as jt, StreamResetCode as k, ControlMessageType as kn, NotEnoughBytesError as kt, Authority as l, SetupOptionType as ln, PublishNamespace as lt, PriorGroupIdGapProperty as m, PublishSkipped as mn, serializeMessageParameterKvps as mt, SetupOption as n, RendezvousTimeout as nn, TrackPropertyType as nt, MaxRequestUpdates as o, AuthorizationToken as on, Setup as ot, ObjectProperty as p, tokenAliasTypeFromNumber as pn, deserializeMessageParameterKvps as pt, ImmutablePropertiesTrackProperty as q, Tuple as qn, GREASE_BASE as qt, SetupOptions as r, ObjectDeliveryTimeout as rn, isApplicationSpecificProperty as rt, MoqtImplementation as s, Parameter as sn, NamespaceDone as st, CombinedFilter as t, SubgroupDeliveryTimeout as tn, serializeKvpList as tr, PropertyRanges as tt, MaxAuthTokenCacheSize as u, TokenAliasType as un, MessageParameter as ut, LOCProperty as v, Header as vn, RangeFilter as vt, Timestamp as w, MAX_FULL_TRACK_NAME_LENGTH as wn, InvalidTypeError as wt, AudioLevel as x, MoqtObject as xn, CastingError as xt, AudioConfig as y, RequestIdMap as yn, RangeFilterKind as yt, PublishDone as z, DEFAULT_PUBLISHER_PRIORITY as zn, SubscriberPriority as zt };
|