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.
@@ -946,20 +946,36 @@ declare namespace RequestErrorCode {
946
946
  //#endregion
947
947
  //#region src/model/data/fetch_object.d.ts
948
948
  /**
949
- * Prior-object state threaded across successive Fetch Objects on the same stream.
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
- subgroupId: bigint;
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
- publisherPriority: number;
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 (§11.5).
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
- Unknown = 268
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
- * Context to thread into the next call on this stream.
984
- * Returns null for EndOfRange markers — they MUST NOT update prior state.
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
- toContext(): FetchObjectContext | null;
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 = 10,
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: bigint;
2829
+ readonly value: Uint8Array;
2809
2830
  static readonly TYPE = LOCPropertyId.VideoFrameMarking;
2810
- constructor(value: bigint);
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
- addVideoFrameMarking(marking: bigint | number): this;
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 { PropertyRange as $, isVarInt as $n, Expires as $t, RequestError as A, LocationFilterType as An, RequestIdError as At, GoAway as B, ObjectDatagramType as Bn, NewGroupRequest as Bt, Timestamp as C, MAX_FULL_TRACK_NAME_LENGTH as Cn, InvalidTypeError as Ct, CMSFTrack as D, FetchObjectContext as Dn, MOQtailError as Dt, CMSFCatalog as E, FetchObject as En, LengthExceedsMaxError as Et, RequestUpdate as F, TrackStatusCode as Fn, FillParameters as Ft, DynamicGroupsProperty as G, ReasonPhrase as Gn, resolveTransportUrl as Gt, FetchOk as H, ObjectStatus as Hn, Redirect as Ht, SubscribeOk as I, FetchHeader as In, SwitchFrom as It, ObjectDeliveryTimeoutProperty as J, Location as Jn, greaseValue as Jt, ImmutablePropertiesTrackProperty as K, Tuple as Kn, GREASE_BASE as Kt, Publish as L, Datagram as Ln, LocationFilter as Lt, SubscribeTracks as M, RequestErrorCode as Mn, TimeoutError as Mt, SubscribeNamespace as N, SUPPORTED_VERSIONS as Nn, TrackNameError as Nt, StreamResetCode as O, ControlMessageType as On, NotEnoughBytesError as Ot, TrackStatus as P, SwitchMode as Pn, VarIntOverflowError as Pt, LOCPropertyId as Q, isBytes as Qn, Forward as Qt, PublishDone as R, DEFAULT_PUBLISHER_PRIORITY as Rn, SubscriberPriority as Rt, Timescale as S, FullTrackName as Sn, InvalidEnumValue as St, CMSF as T, EndOfRangeKind as Tn, KeyValueFormattingError as Tt, DefaultPublisherGroupOrderProperty as U, SubgroupHeaderType as Un, MoqtFragment as Ut, MAX_NEW_SESSION_URI_LENGTH as V, ObjectForwardingPreference as Vn, LargestObject as Vt, DefaultPublisherPriorityProperty as W, MAX_REASON_PHRASE_LEN as Wn, MoqtUrl as Wt, TrackProperty as X, deserializeKvpList as Xn, GroupOrderParam as Xt, SubgroupDeliveryTimeoutProperty as Y, KeyValuePair as Yn, isGrease as Yt, UnknownTrackProperty as Z, deserializeKvpListUntilEmpty as Zn, IncludeProperties as Zt, LOCProperties as _, Header as _n, RangeFilter as _t, SstsAlgorithms as a, AuthorizationToken as an, Setup as at, AudioLevel as b, MoqtObject as bn, CastingError as bt, MaxFilterRanges as c, SetupOptionType as cn, PublishNamespace as ct, Path as d, setupOptionTypeFromNumber as dn, applyMessageParameterUpdate as dt, SubgroupDeliveryTimeout as en, serializeKvpList as er, PropertyRanges as et, ImmutablePropertiesObjectProperty as f, tokenAliasTypeFromNumber as fn, deserializeMessageParameterKvps as ft, UnknownObjectProperty as g, FrozenByteBuffer as gn, RangeDelta as gt, PriorObjectIdGapProperty as h, ByteBuffer as hn, Range as ht, assertNoAuthorityOverWebTransport as i, AuthTokenVariant as in, Fetch as it, RequestOk as j, PublishDoneStatusCode as jn, TerminationError as jt, ControlMessage as k, GroupOrder as kn, ProtocolViolationError as kt, Authority as l, TokenAliasType as ln, MessageParameter as lt, PriorGroupIdGapProperty as m, BaseByteBuffer as mn, InvalidFilterError as mt, SetupOption as n, ObjectDeliveryTimeout as nn, isApplicationSpecificProperty as nt, MaxRequestUpdates as o, Parameter as on, NamespaceDone as ot, ObjectProperty as p, PublishSkipped as pn, serializeMessageParameterKvps as pt, MaxCacheDurationProperty as q, TupleField as qn, GREASE_STEP as qt, SetupOptions as r, FillTimeout as rn, locPropertyIdFromNumber as rt, MoqtImplementation as s, MessageParameterType as sn, Namespace as st, CombinedFilter as t, RendezvousTimeout as tn, TrackPropertyType as tt, MaxAuthTokenCacheSize as u, messageParameterTypeFromNumber as un, MessageParameters as ut, LOCProperty as v, RequestIdMap as vn, RangeFilterKind as vt, TerminationCode as w, MAX_NAMESPACE_TUPLE_COUNT as wn, InvalidUTF8Error as wt, VideoFrameMarking as x, SubgroupObject as xn, InternalError as xt, VideoConfig as y, SubgroupHeader as yn, encodeRanges as yt, Subscribe as z, FetchHeaderType as zn, SwitchingSetAssignment as zt };
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 };
package/dist/index.cjs CHANGED
@@ -1,8 +1,9 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
2
  const require_model = require("./model.cjs");
3
3
  const require_logger = require("./logger-c2NoQqtx.cjs");
4
- const require_client = require("./client-Z7egUKTO.cjs");
4
+ const require_client = require("./client-BviQ20Lc.cjs");
5
5
  const require_util = require("./util.cjs");
6
+ exports.AudioConfig = require_model.AudioConfig;
6
7
  exports.AudioLevel = require_model.AudioLevel;
7
8
  exports.Authority = require_model.Authority;
8
9
  exports.AuthorizationToken = require_model.AuthorizationToken;
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as PropertyRange, $n as isVarInt, $t as Expires, A as RequestError, An as LocationFilterType, At as RequestIdError, B as GoAway, Bn as ObjectDatagramType, Bt as NewGroupRequest, C as Timestamp, Cn as MAX_FULL_TRACK_NAME_LENGTH, Ct as InvalidTypeError, D as CMSFTrack, Dn as FetchObjectContext, Dt as MOQtailError, E as CMSFCatalog, En as FetchObject, Et as LengthExceedsMaxError, F as RequestUpdate, Fn as TrackStatusCode, Ft as FillParameters, G as DynamicGroupsProperty, Gn as ReasonPhrase, Gt as resolveTransportUrl, H as FetchOk, Hn as ObjectStatus, Ht as Redirect, I as SubscribeOk, In as FetchHeader, It as SwitchFrom, J as ObjectDeliveryTimeoutProperty, Jn as Location, Jt as greaseValue, K as ImmutablePropertiesTrackProperty, Kn as Tuple, Kt as GREASE_BASE, L as Publish, Ln as Datagram, Lt as LocationFilter, M as SubscribeTracks, Mn as RequestErrorCode, Mt as TimeoutError, N as SubscribeNamespace, Nn as SUPPORTED_VERSIONS, Nt as TrackNameError, O as StreamResetCode, On as ControlMessageType, Ot as NotEnoughBytesError, P as TrackStatus, Pn as SwitchMode, Pt as VarIntOverflowError, Q as LOCPropertyId, Qn as isBytes, Qt as Forward, R as PublishDone, Rn as DEFAULT_PUBLISHER_PRIORITY, Rt as SubscriberPriority, S as Timescale, Sn as FullTrackName, St as InvalidEnumValue, T as CMSF, Tn as EndOfRangeKind, Tt as KeyValueFormattingError, U as DefaultPublisherGroupOrderProperty, Un as SubgroupHeaderType, Ut as MoqtFragment, V as MAX_NEW_SESSION_URI_LENGTH, Vn as ObjectForwardingPreference, Vt as LargestObject, W as DefaultPublisherPriorityProperty, Wn as MAX_REASON_PHRASE_LEN, Wt as MoqtUrl, X as TrackProperty, Xn as deserializeKvpList, Xt as GroupOrderParam, Y as SubgroupDeliveryTimeoutProperty, Yn as KeyValuePair, Yt as isGrease, Z as UnknownTrackProperty, Zn as deserializeKvpListUntilEmpty, Zt as IncludeProperties, _ as LOCProperties, _n as Header, _t as RangeFilter, a as SstsAlgorithms, an as AuthorizationToken, at as Setup, b as AudioLevel, bn as MoqtObject, bt as CastingError, c as MaxFilterRanges, cn as SetupOptionType, ct as PublishNamespace, d as Path, dn as setupOptionTypeFromNumber, dt as applyMessageParameterUpdate, en as SubgroupDeliveryTimeout, er as serializeKvpList, et as PropertyRanges, f as ImmutablePropertiesObjectProperty, fn as tokenAliasTypeFromNumber, ft as deserializeMessageParameterKvps, g as UnknownObjectProperty, gn as FrozenByteBuffer, gt as RangeDelta, h as PriorObjectIdGapProperty, hn as ByteBuffer, ht as Range, i as assertNoAuthorityOverWebTransport, in as AuthTokenVariant, it as Fetch, j as RequestOk, jn as PublishDoneStatusCode, jt as TerminationError, k as ControlMessage, kn as GroupOrder, kt as ProtocolViolationError, l as Authority, ln as TokenAliasType, lt as MessageParameter, m as PriorGroupIdGapProperty, mn as BaseByteBuffer, mt as InvalidFilterError, n as SetupOption, nn as ObjectDeliveryTimeout, nt as isApplicationSpecificProperty, o as MaxRequestUpdates, on as Parameter, ot as NamespaceDone, p as ObjectProperty, pn as PublishSkipped, pt as serializeMessageParameterKvps, q as MaxCacheDurationProperty, qn as TupleField, qt as GREASE_STEP, r as SetupOptions, rn as FillTimeout, rt as locPropertyIdFromNumber, s as MoqtImplementation, sn as MessageParameterType, st as Namespace, t as CombinedFilter, tn as RendezvousTimeout, tt as TrackPropertyType, u as MaxAuthTokenCacheSize, un as messageParameterTypeFromNumber, ut as MessageParameters, v as LOCProperty, vn as RequestIdMap, vt as RangeFilterKind, w as TerminationCode, wn as MAX_NAMESPACE_TUPLE_COUNT, wt as InvalidUTF8Error, x as VideoFrameMarking, xn as SubgroupObject, xt as InternalError, y as VideoConfig, yn as SubgroupHeader, yt as encodeRanges, z as Subscribe, zn as FetchHeaderType, zt as SwitchingSetAssignment } from "./index-DBbxKcc1.cjs";
1
+ import { $ as LOCPropertyId, $n as isBytes, $t as Forward, A as ControlMessage, An as GroupOrder, At as ProtocolViolationError, B as Subscribe, Bn as FetchHeaderType, Bt as SwitchingSetAssignment, C as Timescale, Cn as FullTrackName, Ct as InvalidEnumValue, D as CMSFCatalog, Dn as FetchObject, Dt as LengthExceedsMaxError, E as CMSF, En as EndOfRangeKind, Et as KeyValueFormattingError, F as TrackStatus, Fn as SwitchMode, Ft as VarIntOverflowError, G as DefaultPublisherPriorityProperty, Gn as MAX_REASON_PHRASE_LEN, Gt as MoqtUrl, H as MAX_NEW_SESSION_URI_LENGTH, Hn as ObjectForwardingPreference, Ht as LargestObject, I as RequestUpdate, In as TrackStatusCode, It as FillParameters, J as MaxCacheDurationProperty, Jn as TupleField, Jt as GREASE_STEP, K as DynamicGroupsProperty, Kn as ReasonPhrase, Kt as resolveTransportUrl, L as SubscribeOk, Ln as FetchHeader, Lt as SwitchFrom, M as RequestOk, Mn as PublishDoneStatusCode, Mt as TerminationError, N as SubscribeTracks, Nn as RequestErrorCode, Nt as TimeoutError, O as CMSFTrack, On as FetchObjectContext, Ot as MOQtailError, P as SubscribeNamespace, Pn as SUPPORTED_VERSIONS, Pt as TrackNameError, Q as UnknownTrackProperty, Qn as deserializeKvpListUntilEmpty, Qt as IncludeProperties, R as Publish, Rn as Datagram, Rt as LocationFilter, S as VideoFrameMarking, Sn as SubgroupObject, St as InternalError, T as TerminationCode, Tn as MAX_NAMESPACE_TUPLE_COUNT, Tt as InvalidUTF8Error, U as FetchOk, Un as ObjectStatus, Ut as Redirect, V as GoAway, Vn as ObjectDatagramType, Vt as NewGroupRequest, W as DefaultPublisherGroupOrderProperty, Wn as SubgroupHeaderType, Wt as MoqtFragment, X as SubgroupDeliveryTimeoutProperty, Xn as KeyValuePair, Xt as isGrease, Y as ObjectDeliveryTimeoutProperty, Yn as Location, Yt as greaseValue, Z as TrackProperty, Zn as deserializeKvpList, Zt as GroupOrderParam, _ as LOCProperties, _n as FrozenByteBuffer, _t as RangeDelta, a as SstsAlgorithms, an as AuthTokenVariant, at as Fetch, b as VideoConfig, bn as SubgroupHeader, bt as encodeRanges, c as MaxFilterRanges, cn as MessageParameterType, ct as Namespace, d as Path, dn as messageParameterTypeFromNumber, dt as MessageParameters, en as Expires, er as isVarInt, et as PropertyRange, f as ImmutablePropertiesObjectProperty, fn as setupOptionTypeFromNumber, ft as applyMessageParameterUpdate, g as UnknownObjectProperty, gn as ByteBuffer, gt as Range, h as PriorObjectIdGapProperty, hn as BaseByteBuffer, ht as InvalidFilterError, i as assertNoAuthorityOverWebTransport, in as FillTimeout, it as locPropertyIdFromNumber, j as RequestError, jn as LocationFilterType, jt as RequestIdError, k as StreamResetCode, kn as ControlMessageType, kt as NotEnoughBytesError, l as Authority, ln as SetupOptionType, lt as PublishNamespace, m as PriorGroupIdGapProperty, mn as PublishSkipped, mt as serializeMessageParameterKvps, n as SetupOption, nn as RendezvousTimeout, nt as TrackPropertyType, o as MaxRequestUpdates, on as AuthorizationToken, ot as Setup, p as ObjectProperty, pn as tokenAliasTypeFromNumber, pt as deserializeMessageParameterKvps, q as ImmutablePropertiesTrackProperty, qn as Tuple, qt as GREASE_BASE, r as SetupOptions, rn as ObjectDeliveryTimeout, rt as isApplicationSpecificProperty, s as MoqtImplementation, sn as Parameter, st as NamespaceDone, t as CombinedFilter, tn as SubgroupDeliveryTimeout, tr as serializeKvpList, tt as PropertyRanges, u as MaxAuthTokenCacheSize, un as TokenAliasType, ut as MessageParameter, v as LOCProperty, vn as Header, vt as RangeFilter, w as Timestamp, wn as MAX_FULL_TRACK_NAME_LENGTH, wt as InvalidTypeError, x as AudioLevel, xn as MoqtObject, xt as CastingError, y as AudioConfig, yn as RequestIdMap, yt as RangeFilterKind, z as PublishDone, zn as DEFAULT_PUBLISHER_PRIORITY, zt as SubscriberPriority } from "./index-BY6e1obL.cjs";
2
2
  import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger, t as LogLevel } from "./logger-dEoueCj7.cjs";
3
- import { 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 } from "./client.cjs";
3
+ import { 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 } from "./client.cjs";
4
4
  import { ClockNormalizer, NetworkTelemetry } from "./util.cjs";
5
- export { AudioLevel, AuthTokenVariant, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSF, CMSFCatalog, CMSFTrack, CastingError, ClockNormalizer, CombinedFilter, ControlMessage, ControlMessageType, ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_PUBLISHER_PRIORITY, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataDirection, DataEvent, DataEventBase, DataEventObserver, DataHeaderEvent, DataObjectEvent, DataStreamEndEvent, DataStreamObserver, DataStreamReporter, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EarlyDiscardPolicyConfig, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchObjectContext, FetchOk, FetchOptions, FetchPublication, FetchRequest, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, HybridTrackSource, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, LiveObjectSource, LiveTrackSource, Location, LocationFilter, LocationFilterType, LogLevel, Logger, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailClient, MOQtailClientOptions, MOQtailError, MOQtailRequest, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MemoryObjectCache, MessageParameter, MessageParameterType, MessageParameters, MoqtFragment, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NetworkTelemetry, NewGroupRequest, NotEnoughBytesError, ObjectCache, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Parameter, PastObjectSource, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRange, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishNamespaceRequest, PublishPublication, PublishRequest, PublishSkipped, Range, RangeDelta, RangeFilter, RangeFilterKind, ReasonPhrase, RecvDatagramStream, RecvStream, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestStream, RequestStreamHooks, RequestUpdate, RingBufferObjectCache, SUPPORTED_VERSIONS, SendDatagramStream, SendStream, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StaticTrackSource, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeNamespaceRequest, SubscribeOk, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeTracks, SubscribeUpdateOptions, SubscriberPriority, Subscription, SwitchFrom, SwitchMode, SwitchOptions, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, Track, TrackAliasHolder, TrackNameError, TrackProperty, TrackPropertyType, TrackSource, TrackStatus, TrackStatusCode, TrackStatusRequest, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, logger, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setLogEnabledModules, setLogLevel, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
5
+ export { AudioConfig, AudioLevel, AuthTokenVariant, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSF, CMSFCatalog, CMSFTrack, CastingError, ClockNormalizer, CombinedFilter, ControlMessage, ControlMessageType, ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_PUBLISHER_PRIORITY, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataDirection, DataEvent, DataEventBase, DataEventObserver, DataHeaderEvent, DataObjectEvent, DataStreamEndEvent, DataStreamObserver, DataStreamReporter, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EarlyDiscardPolicyConfig, EndOfRangeHandler, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchObjectContext, FetchOk, FetchOptions, FetchPublication, FetchRequest, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, HybridTrackSource, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, LiveObjectSource, LiveTrackSource, Location, LocationFilter, LocationFilterType, LogLevel, Logger, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailClient, MOQtailClientOptions, MOQtailError, MOQtailRequest, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MemoryObjectCache, MessageParameter, MessageParameterType, MessageParameters, MoqtFragment, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NetworkTelemetry, NewGroupRequest, NotEnoughBytesError, ObjectCache, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Parameter, PastObjectSource, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRange, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishNamespaceRequest, PublishPublication, PublishRequest, PublishSkipped, Range, RangeDelta, RangeFilter, RangeFilterKind, ReasonPhrase, RecvDatagramStream, RecvStream, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestStream, RequestStreamHooks, RequestUpdate, RingBufferObjectCache, SUPPORTED_VERSIONS, SendDatagramStream, SendStream, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StaticTrackSource, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeNamespaceRequest, SubscribeOk, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeTracks, SubscribeUpdateOptions, SubscriberPriority, Subscription, SwitchFrom, SwitchMode, SwitchOptions, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, Track, TrackAliasHolder, TrackNameError, TrackProperty, TrackPropertyType, TrackSource, TrackStatus, TrackStatusCode, TrackStatusRequest, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, logger, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setLogEnabledModules, setLogLevel, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as PropertyRange, $n as isVarInt, $t as Expires, A as RequestError, An as LocationFilterType, At as RequestIdError, B as GoAway, Bn as ObjectDatagramType, Bt as NewGroupRequest, C as Timestamp, Cn as MAX_FULL_TRACK_NAME_LENGTH, Ct as InvalidTypeError, D as CMSFTrack, Dn as FetchObjectContext, Dt as MOQtailError, E as CMSFCatalog, En as FetchObject, Et as LengthExceedsMaxError, F as RequestUpdate, Fn as TrackStatusCode, Ft as FillParameters, G as DynamicGroupsProperty, Gn as ReasonPhrase, Gt as resolveTransportUrl, H as FetchOk, Hn as ObjectStatus, Ht as Redirect, I as SubscribeOk, In as FetchHeader, It as SwitchFrom, J as ObjectDeliveryTimeoutProperty, Jn as Location, Jt as greaseValue, K as ImmutablePropertiesTrackProperty, Kn as Tuple, Kt as GREASE_BASE, L as Publish, Ln as Datagram, Lt as LocationFilter, M as SubscribeTracks, Mn as RequestErrorCode, Mt as TimeoutError, N as SubscribeNamespace, Nn as SUPPORTED_VERSIONS, Nt as TrackNameError, O as StreamResetCode, On as ControlMessageType, Ot as NotEnoughBytesError, P as TrackStatus, Pn as SwitchMode, Pt as VarIntOverflowError, Q as LOCPropertyId, Qn as isBytes, Qt as Forward, R as PublishDone, Rn as DEFAULT_PUBLISHER_PRIORITY, Rt as SubscriberPriority, S as Timescale, Sn as FullTrackName, St as InvalidEnumValue, T as CMSF, Tn as EndOfRangeKind, Tt as KeyValueFormattingError, U as DefaultPublisherGroupOrderProperty, Un as SubgroupHeaderType, Ut as MoqtFragment, V as MAX_NEW_SESSION_URI_LENGTH, Vn as ObjectForwardingPreference, Vt as LargestObject, W as DefaultPublisherPriorityProperty, Wn as MAX_REASON_PHRASE_LEN, Wt as MoqtUrl, X as TrackProperty, Xn as deserializeKvpList, Xt as GroupOrderParam, Y as SubgroupDeliveryTimeoutProperty, Yn as KeyValuePair, Yt as isGrease, Z as UnknownTrackProperty, Zn as deserializeKvpListUntilEmpty, Zt as IncludeProperties, _ as LOCProperties, _n as Header, _t as RangeFilter, a as SstsAlgorithms, an as AuthorizationToken, at as Setup, b as AudioLevel, bn as MoqtObject, bt as CastingError, c as MaxFilterRanges, cn as SetupOptionType, ct as PublishNamespace, d as Path, dn as setupOptionTypeFromNumber, dt as applyMessageParameterUpdate, en as SubgroupDeliveryTimeout, er as serializeKvpList, et as PropertyRanges, f as ImmutablePropertiesObjectProperty, fn as tokenAliasTypeFromNumber, ft as deserializeMessageParameterKvps, g as UnknownObjectProperty, gn as FrozenByteBuffer, gt as RangeDelta, h as PriorObjectIdGapProperty, hn as ByteBuffer, ht as Range, i as assertNoAuthorityOverWebTransport, in as AuthTokenVariant, it as Fetch, j as RequestOk, jn as PublishDoneStatusCode, jt as TerminationError, k as ControlMessage, kn as GroupOrder, kt as ProtocolViolationError, l as Authority, ln as TokenAliasType, lt as MessageParameter, m as PriorGroupIdGapProperty, mn as BaseByteBuffer, mt as InvalidFilterError, n as SetupOption, nn as ObjectDeliveryTimeout, nt as isApplicationSpecificProperty, o as MaxRequestUpdates, on as Parameter, ot as NamespaceDone, p as ObjectProperty, pn as PublishSkipped, pt as serializeMessageParameterKvps, q as MaxCacheDurationProperty, qn as TupleField, qt as GREASE_STEP, r as SetupOptions, rn as FillTimeout, rt as locPropertyIdFromNumber, s as MoqtImplementation, sn as MessageParameterType, st as Namespace, t as CombinedFilter, tn as RendezvousTimeout, tt as TrackPropertyType, u as MaxAuthTokenCacheSize, un as messageParameterTypeFromNumber, ut as MessageParameters, v as LOCProperty, vn as RequestIdMap, vt as RangeFilterKind, w as TerminationCode, wn as MAX_NAMESPACE_TUPLE_COUNT, wt as InvalidUTF8Error, x as VideoFrameMarking, xn as SubgroupObject, xt as InternalError, y as VideoConfig, yn as SubgroupHeader, yt as encodeRanges, z as Subscribe, zn as FetchHeaderType, zt as SwitchingSetAssignment } from "./index-DBbxKcc1.mjs";
1
+ import { $ as LOCPropertyId, $n as isBytes, $t as Forward, A as ControlMessage, An as GroupOrder, At as ProtocolViolationError, B as Subscribe, Bn as FetchHeaderType, Bt as SwitchingSetAssignment, C as Timescale, Cn as FullTrackName, Ct as InvalidEnumValue, D as CMSFCatalog, Dn as FetchObject, Dt as LengthExceedsMaxError, E as CMSF, En as EndOfRangeKind, Et as KeyValueFormattingError, F as TrackStatus, Fn as SwitchMode, Ft as VarIntOverflowError, G as DefaultPublisherPriorityProperty, Gn as MAX_REASON_PHRASE_LEN, Gt as MoqtUrl, H as MAX_NEW_SESSION_URI_LENGTH, Hn as ObjectForwardingPreference, Ht as LargestObject, I as RequestUpdate, In as TrackStatusCode, It as FillParameters, J as MaxCacheDurationProperty, Jn as TupleField, Jt as GREASE_STEP, K as DynamicGroupsProperty, Kn as ReasonPhrase, Kt as resolveTransportUrl, L as SubscribeOk, Ln as FetchHeader, Lt as SwitchFrom, M as RequestOk, Mn as PublishDoneStatusCode, Mt as TerminationError, N as SubscribeTracks, Nn as RequestErrorCode, Nt as TimeoutError, O as CMSFTrack, On as FetchObjectContext, Ot as MOQtailError, P as SubscribeNamespace, Pn as SUPPORTED_VERSIONS, Pt as TrackNameError, Q as UnknownTrackProperty, Qn as deserializeKvpListUntilEmpty, Qt as IncludeProperties, R as Publish, Rn as Datagram, Rt as LocationFilter, S as VideoFrameMarking, Sn as SubgroupObject, St as InternalError, T as TerminationCode, Tn as MAX_NAMESPACE_TUPLE_COUNT, Tt as InvalidUTF8Error, U as FetchOk, Un as ObjectStatus, Ut as Redirect, V as GoAway, Vn as ObjectDatagramType, Vt as NewGroupRequest, W as DefaultPublisherGroupOrderProperty, Wn as SubgroupHeaderType, Wt as MoqtFragment, X as SubgroupDeliveryTimeoutProperty, Xn as KeyValuePair, Xt as isGrease, Y as ObjectDeliveryTimeoutProperty, Yn as Location, Yt as greaseValue, Z as TrackProperty, Zn as deserializeKvpList, Zt as GroupOrderParam, _ as LOCProperties, _n as FrozenByteBuffer, _t as RangeDelta, a as SstsAlgorithms, an as AuthTokenVariant, at as Fetch, b as VideoConfig, bn as SubgroupHeader, bt as encodeRanges, c as MaxFilterRanges, cn as MessageParameterType, ct as Namespace, d as Path, dn as messageParameterTypeFromNumber, dt as MessageParameters, en as Expires, er as isVarInt, et as PropertyRange, f as ImmutablePropertiesObjectProperty, fn as setupOptionTypeFromNumber, ft as applyMessageParameterUpdate, g as UnknownObjectProperty, gn as ByteBuffer, gt as Range, h as PriorObjectIdGapProperty, hn as BaseByteBuffer, ht as InvalidFilterError, i as assertNoAuthorityOverWebTransport, in as FillTimeout, it as locPropertyIdFromNumber, j as RequestError, jn as LocationFilterType, jt as RequestIdError, k as StreamResetCode, kn as ControlMessageType, kt as NotEnoughBytesError, l as Authority, ln as SetupOptionType, lt as PublishNamespace, m as PriorGroupIdGapProperty, mn as PublishSkipped, mt as serializeMessageParameterKvps, n as SetupOption, nn as RendezvousTimeout, nt as TrackPropertyType, o as MaxRequestUpdates, on as AuthorizationToken, ot as Setup, p as ObjectProperty, pn as tokenAliasTypeFromNumber, pt as deserializeMessageParameterKvps, q as ImmutablePropertiesTrackProperty, qn as Tuple, qt as GREASE_BASE, r as SetupOptions, rn as ObjectDeliveryTimeout, rt as isApplicationSpecificProperty, s as MoqtImplementation, sn as Parameter, st as NamespaceDone, t as CombinedFilter, tn as SubgroupDeliveryTimeout, tr as serializeKvpList, tt as PropertyRanges, u as MaxAuthTokenCacheSize, un as TokenAliasType, ut as MessageParameter, v as LOCProperty, vn as Header, vt as RangeFilter, w as Timestamp, wn as MAX_FULL_TRACK_NAME_LENGTH, wt as InvalidTypeError, x as AudioLevel, xn as MoqtObject, xt as CastingError, y as AudioConfig, yn as RequestIdMap, yt as RangeFilterKind, z as PublishDone, zn as DEFAULT_PUBLISHER_PRIORITY, zt as SubscriberPriority } from "./index-BY6e1obL.mjs";
2
2
  import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger, t as LogLevel } from "./logger-dEoueCj7.mjs";
3
- import { 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 } from "./client.mjs";
3
+ import { 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 } from "./client.mjs";
4
4
  import { ClockNormalizer, NetworkTelemetry } from "./util.mjs";
5
- export { AudioLevel, AuthTokenVariant, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSF, CMSFCatalog, CMSFTrack, CastingError, ClockNormalizer, CombinedFilter, ControlMessage, ControlMessageType, ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_PUBLISHER_PRIORITY, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataDirection, DataEvent, DataEventBase, DataEventObserver, DataHeaderEvent, DataObjectEvent, DataStreamEndEvent, DataStreamObserver, DataStreamReporter, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EarlyDiscardPolicyConfig, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchObjectContext, FetchOk, FetchOptions, FetchPublication, FetchRequest, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, HybridTrackSource, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, LiveObjectSource, LiveTrackSource, Location, LocationFilter, LocationFilterType, LogLevel, Logger, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailClient, MOQtailClientOptions, MOQtailError, MOQtailRequest, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MemoryObjectCache, MessageParameter, MessageParameterType, MessageParameters, MoqtFragment, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NetworkTelemetry, NewGroupRequest, NotEnoughBytesError, ObjectCache, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Parameter, PastObjectSource, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRange, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishNamespaceRequest, PublishPublication, PublishRequest, PublishSkipped, Range, RangeDelta, RangeFilter, RangeFilterKind, ReasonPhrase, RecvDatagramStream, RecvStream, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestStream, RequestStreamHooks, RequestUpdate, RingBufferObjectCache, SUPPORTED_VERSIONS, SendDatagramStream, SendStream, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StaticTrackSource, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeNamespaceRequest, SubscribeOk, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeTracks, SubscribeUpdateOptions, SubscriberPriority, Subscription, SwitchFrom, SwitchMode, SwitchOptions, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, Track, TrackAliasHolder, TrackNameError, TrackProperty, TrackPropertyType, TrackSource, TrackStatus, TrackStatusCode, TrackStatusRequest, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, logger, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setLogEnabledModules, setLogLevel, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
5
+ export { AudioConfig, AudioLevel, AuthTokenVariant, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSF, CMSFCatalog, CMSFTrack, CastingError, ClockNormalizer, CombinedFilter, ControlMessage, ControlMessageType, ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_PUBLISHER_PRIORITY, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataDirection, DataEvent, DataEventBase, DataEventObserver, DataHeaderEvent, DataObjectEvent, DataStreamEndEvent, DataStreamObserver, DataStreamReporter, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EarlyDiscardPolicyConfig, EndOfRangeHandler, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchObjectContext, FetchOk, FetchOptions, FetchPublication, FetchRequest, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, HybridTrackSource, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, LiveObjectSource, LiveTrackSource, Location, LocationFilter, LocationFilterType, LogLevel, Logger, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailClient, MOQtailClientOptions, MOQtailError, MOQtailRequest, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MemoryObjectCache, MessageParameter, MessageParameterType, MessageParameters, MoqtFragment, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NetworkTelemetry, NewGroupRequest, NotEnoughBytesError, ObjectCache, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Parameter, PastObjectSource, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRange, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishNamespaceRequest, PublishPublication, PublishRequest, PublishSkipped, Range, RangeDelta, RangeFilter, RangeFilterKind, ReasonPhrase, RecvDatagramStream, RecvStream, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestStream, RequestStreamHooks, RequestUpdate, RingBufferObjectCache, SUPPORTED_VERSIONS, SendDatagramStream, SendStream, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StaticTrackSource, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeNamespaceRequest, SubscribeOk, SubscribeOptions, SubscribePublication, SubscribeRequest, SubscribeTracks, SubscribeUpdateOptions, SubscriberPriority, Subscription, SwitchFrom, SwitchMode, SwitchOptions, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, Track, TrackAliasHolder, TrackNameError, TrackProperty, TrackPropertyType, TrackSource, TrackStatus, TrackStatusCode, TrackStatusRequest, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, logger, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setLogEnabledModules, setLogLevel, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { AudioLevel, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSFCatalog, CastingError, CombinedFilter, ControlMessage, ControlMessageType, DEFAULT_PUBLISHER_PRIORITY, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchOk, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, Location, LocationFilter, LocationFilterType, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailError, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MessageParameter, MessageParameterType, MessageParameters, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NewGroupRequest, NotEnoughBytesError, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishSkipped, RangeFilter, RangeFilterKind, ReasonPhrase, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestUpdate, SUPPORTED_VERSIONS, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeOk, SubscribeTracks, SubscriberPriority, SwitchFrom, SwitchMode, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, TrackNameError, TrackProperty, TrackPropertyType, TrackStatus, TrackStatusCode, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setupOptionTypeFromNumber, tokenAliasTypeFromNumber } from "./model.mjs";
1
+ import { AudioConfig, AudioLevel, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSFCatalog, CastingError, CombinedFilter, ControlMessage, ControlMessageType, DEFAULT_PUBLISHER_PRIORITY, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchOk, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, Location, LocationFilter, LocationFilterType, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailError, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MessageParameter, MessageParameterType, MessageParameters, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NewGroupRequest, NotEnoughBytesError, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishSkipped, RangeFilter, RangeFilterKind, ReasonPhrase, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestUpdate, SUPPORTED_VERSIONS, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeOk, SubscribeTracks, SubscriberPriority, SwitchFrom, SwitchMode, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, TrackNameError, TrackProperty, TrackPropertyType, TrackStatus, TrackStatusCode, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setupOptionTypeFromNumber, tokenAliasTypeFromNumber } from "./model.mjs";
2
2
  import { a as setLogLevel, i as setLogEnabledModules, n as Logger, r as logger, t as LogLevel } from "./logger-ByDB8lYF.mjs";
3
- 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-BW1agDFV.mjs";
3
+ 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";
4
4
  import { ClockNormalizer, NetworkTelemetry } from "./util.mjs";
5
- export { AudioLevel, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSFCatalog, CastingError, ClockNormalizer, CombinedFilter, ControlMessage, ControlMessageType, ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_PUBLISHER_PRIORITY, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataStreamReporter, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchOk, FetchPublication, FetchRequest, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, HybridTrackSource, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, LiveTrackSource, Location, LocationFilter, LocationFilterType, LogLevel, Logger, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailClient, MOQtailError, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MemoryObjectCache, MessageParameter, MessageParameterType, MessageParameters, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NetworkTelemetry, NewGroupRequest, NotEnoughBytesError, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishNamespaceRequest, PublishPublication, PublishRequest, PublishSkipped, RangeFilter, RangeFilterKind, ReasonPhrase, RecvDatagramStream, RecvStream, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestStream, RequestUpdate, RingBufferObjectCache, SUPPORTED_VERSIONS, SendDatagramStream, SendStream, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StaticTrackSource, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeNamespaceRequest, SubscribeOk, SubscribePublication, SubscribeRequest, SubscribeTracks, SubscriberPriority, Subscription, SwitchFrom, SwitchMode, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, TrackNameError, TrackProperty, TrackPropertyType, TrackStatus, TrackStatusCode, TrackStatusRequest, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, logger, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setLogEnabledModules, setLogLevel, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
5
+ export { AudioConfig, AudioLevel, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSFCatalog, CastingError, ClockNormalizer, CombinedFilter, ControlMessage, ControlMessageType, ControlRecvStream, ControlSendStream, ControlStream, DEFAULT_MAX_FILTER_RANGES, DEFAULT_PUBLISHER_PRIORITY, DEFAULT_SWITCH_DRAIN_TIMEOUT_MS, DEFAULT_TRACK_ALIAS_RESOLUTION_TIMEOUT_MS, DataStreamReporter, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchOk, FetchPublication, FetchRequest, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, HybridTrackSource, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, LiveTrackSource, Location, LocationFilter, LocationFilterType, LogLevel, Logger, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailClient, MOQtailError, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MemoryObjectCache, MessageParameter, MessageParameterType, MessageParameters, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NetworkTelemetry, NewGroupRequest, NotEnoughBytesError, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishNamespaceRequest, PublishPublication, PublishRequest, PublishSkipped, RangeFilter, RangeFilterKind, ReasonPhrase, RecvDatagramStream, RecvStream, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestStream, RequestUpdate, RingBufferObjectCache, SUPPORTED_VERSIONS, SendDatagramStream, SendStream, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StaticTrackSource, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeNamespaceRequest, SubscribeOk, SubscribePublication, SubscribeRequest, SubscribeTracks, SubscriberPriority, Subscription, SwitchFrom, SwitchMode, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, TrackNameError, TrackProperty, TrackPropertyType, TrackStatus, TrackStatusCode, TrackStatusRequest, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, logger, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setLogEnabledModules, setLogLevel, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
package/dist/model.cjs CHANGED
@@ -1712,13 +1712,21 @@ const SUBGROUP_MODE_PRIOR_PLUS_ONE = 2;
1712
1712
  const SUBGROUP_MODE_PRESENT = 3;
1713
1713
  const END_OF_NON_EXISTENT_RANGE = 140n;
1714
1714
  const END_OF_UNKNOWN_RANGE = 268n;
1715
+ const END_OF_TIMED_OUT_RANGE = 524n;
1715
1716
  const MAX_VARINT = 2n ** 64n - 1n;
1716
1717
  /**
1717
- * Kind discriminator for End-of-Range markers (§11.5).
1718
+ * Kind discriminator for End-of-Range markers.
1718
1719
  */
1719
1720
  let EndOfRangeKind = /* @__PURE__ */ function(EndOfRangeKind) {
1721
+ /** Serialization Flags = 0x8C: all objects in the range are known not to exist. */
1720
1722
  EndOfRangeKind[EndOfRangeKind["NonExistent"] = 140] = "NonExistent";
1723
+ /** Serialization Flags = 0x10C: the range is cache-unknown. */
1721
1724
  EndOfRangeKind[EndOfRangeKind["Unknown"] = 268] = "Unknown";
1725
+ /**
1726
+ * Serialization Flags = 0x20C: the range timed out, e.g. a relay ran out of its
1727
+ * fill budget before it could retrieve it.
1728
+ */
1729
+ EndOfRangeKind[EndOfRangeKind["TimedOut"] = 524] = "TimedOut";
1722
1730
  return EndOfRangeKind;
1723
1731
  }({});
1724
1732
  /**
@@ -1753,11 +1761,20 @@ var FetchObject = class FetchObject {
1753
1761
  return this.location.object;
1754
1762
  }
1755
1763
  /**
1756
- * Context to thread into the next call on this stream.
1757
- * Returns null for EndOfRange markers — they MUST NOT update prior state.
1764
+ * What the entry after this one is encoded against, given what this one was
1765
+ * encoded against (`prev`).
1766
+ *
1767
+ * After an Object, that is the Object itself. After an End of Range marker, it is
1768
+ * the marker's Group and Object IDs, with the Subgroup ID and priority still those
1769
+ * of the last Object before the marker, or none if no Object came before it.
1758
1770
  */
1759
- toContext() {
1760
- if (this.kind === "end_of_range") return null;
1771
+ nextContext(prev) {
1772
+ if (this.kind === "end_of_range") return {
1773
+ groupId: this.groupId,
1774
+ subgroupId: prev?.subgroupId ?? null,
1775
+ objectId: this.objectId,
1776
+ publisherPriority: prev?.publisherPriority ?? null
1777
+ };
1761
1778
  return {
1762
1779
  groupId: this.groupId,
1763
1780
  subgroupId: this.subgroupId,
@@ -1774,7 +1791,7 @@ var FetchObject = class FetchObject {
1774
1791
  serialize(prev, groupOrder = 0) {
1775
1792
  const buf = new ByteBuffer();
1776
1793
  if (this.kind === "end_of_range") {
1777
- buf.putVI(this.endOfRange === 140 ? END_OF_NON_EXISTENT_RANGE : END_OF_UNKNOWN_RANGE);
1794
+ buf.putVI(BigInt(this.endOfRange));
1778
1795
  buf.putVI(this.groupId);
1779
1796
  buf.putVI(this.objectId);
1780
1797
  return buf.freeze();
@@ -1800,7 +1817,7 @@ var FetchObject = class FetchObject {
1800
1817
  let subgroupMode;
1801
1818
  if (isDatagram || this.subgroupId === 0n) subgroupMode = SUBGROUP_MODE_ZERO;
1802
1819
  else if (prev && prev.subgroupId === this.subgroupId) subgroupMode = SUBGROUP_MODE_PRIOR;
1803
- else if (prev && prev.subgroupId + 1n === this.subgroupId) subgroupMode = SUBGROUP_MODE_PRIOR_PLUS_ONE;
1820
+ else if (prev && prev.subgroupId !== null && prev.subgroupId + 1n === this.subgroupId) subgroupMode = SUBGROUP_MODE_PRIOR_PLUS_ONE;
1804
1821
  else subgroupMode = SUBGROUP_MODE_PRESENT;
1805
1822
  let flags = subgroupMode & FLAG_SUBGROUP_MODE_MASK;
1806
1823
  if (objectDelta !== null) flags |= FLAG_OBJECT_ID_PRESENT;
@@ -1824,6 +1841,7 @@ var FetchObject = class FetchObject {
1824
1841
  let kind;
1825
1842
  if (flagsRaw === END_OF_NON_EXISTENT_RANGE) kind = 140;
1826
1843
  else if (flagsRaw === END_OF_UNKNOWN_RANGE) kind = 268;
1844
+ else if (flagsRaw === END_OF_TIMED_OUT_RANGE) kind = 524;
1827
1845
  else throw new ProtocolViolationError("FetchObject.deserialize", `invalid Serialization Flags value 0x${flagsRaw.toString(16)}`);
1828
1846
  const groupId = buf.getVI();
1829
1847
  const objectId = buf.getVI();
@@ -1859,11 +1877,11 @@ var FetchObject = class FetchObject {
1859
1877
  subgroupId = 0n;
1860
1878
  break;
1861
1879
  case SUBGROUP_MODE_PRIOR:
1862
- if (!prev) throw new ProtocolViolationError("FetchObject.deserialize", "subgroup_id inherited but no prior object");
1880
+ if (!prev || prev.subgroupId === null) throw new ProtocolViolationError("FetchObject.deserialize", "subgroup_id inherited but no prior object");
1863
1881
  subgroupId = prev.subgroupId;
1864
1882
  break;
1865
1883
  case SUBGROUP_MODE_PRIOR_PLUS_ONE:
1866
- if (!prev) throw new ProtocolViolationError("FetchObject.deserialize", "subgroup_id inherited but no prior object");
1884
+ if (!prev || prev.subgroupId === null) throw new ProtocolViolationError("FetchObject.deserialize", "subgroup_id inherited but no prior object");
1867
1885
  subgroupId = prev.subgroupId + 1n;
1868
1886
  break;
1869
1887
  case SUBGROUP_MODE_PRESENT:
@@ -1885,7 +1903,7 @@ var FetchObject = class FetchObject {
1885
1903
  if (objectId > MAX_VARINT) throw new ProtocolViolationError("FetchObject.deserialize", `object id wraps: prior=${prev.objectId} +1`);
1886
1904
  }
1887
1905
  const publisherPriority = hasPriority ? buf.getU8() : (() => {
1888
- if (!prev) throw new ProtocolViolationError("FetchObject.deserialize", "priority inherited but no prior object");
1906
+ if (!prev || prev.publisherPriority === null) throw new ProtocolViolationError("FetchObject.deserialize", "priority inherited but no prior object");
1889
1907
  return prev.publisherPriority;
1890
1908
  })();
1891
1909
  let properties = null;
@@ -2020,11 +2038,12 @@ var FullTrackName = class FullTrackName {
2020
2038
  * limitations under the License.
2021
2039
  */
2022
2040
  let LOCPropertyId = /* @__PURE__ */ function(LOCPropertyId) {
2023
- LOCPropertyId[LOCPropertyId["Timestamp"] = 6] = "Timestamp";
2024
2041
  LOCPropertyId[LOCPropertyId["Timescale"] = 8] = "Timescale";
2025
- LOCPropertyId[LOCPropertyId["VideoFrameMarking"] = 10] = "VideoFrameMarking";
2042
+ LOCPropertyId[LOCPropertyId["VideoFrameMarking"] = 9] = "VideoFrameMarking";
2026
2043
  LOCPropertyId[LOCPropertyId["AudioLevel"] = 12] = "AudioLevel";
2027
2044
  LOCPropertyId[LOCPropertyId["VideoConfig"] = 13] = "VideoConfig";
2045
+ LOCPropertyId[LOCPropertyId["AudioConfig"] = 15] = "AudioConfig";
2046
+ LOCPropertyId[LOCPropertyId["Timestamp"] = 16] = "Timestamp";
2028
2047
  return LOCPropertyId;
2029
2048
  }({});
2030
2049
  let TrackPropertyType = /* @__PURE__ */ function(TrackPropertyType) {
@@ -2041,11 +2060,12 @@ let TrackPropertyType = /* @__PURE__ */ function(TrackPropertyType) {
2041
2060
  }({});
2042
2061
  function locPropertyIdFromNumber(value) {
2043
2062
  switch (value) {
2044
- case 6: return 6;
2045
2063
  case 8: return 8;
2046
- case 10: return 10;
2064
+ case 9: return 9;
2047
2065
  case 12: return 12;
2048
2066
  case 13: return 13;
2067
+ case 15: return 15;
2068
+ case 16: return 16;
2049
2069
  default: throw new InvalidTypeError("locPropertyIdFromNumber", `Invalid LOC property id: ${value}`);
2050
2070
  }
2051
2071
  }
@@ -2114,7 +2134,7 @@ function isApplicationSpecificProperty(typeValue) {
2114
2134
  */
2115
2135
  var Timestamp = class Timestamp {
2116
2136
  timestamp;
2117
- static TYPE = 6;
2137
+ static TYPE = 16;
2118
2138
  constructor(timestamp) {
2119
2139
  this.timestamp = timestamp;
2120
2140
  }
@@ -2172,17 +2192,24 @@ var Timescale = class Timescale {
2172
2192
  * See the License for the specific language governing permissions and
2173
2193
  * limitations under the License.
2174
2194
  */
2195
+ /** The I (independent frame) bit of the RFC 9626 flag octet. */
2196
+ const INDEPENDENT = 32;
2175
2197
  var VideoFrameMarking = class VideoFrameMarking {
2176
2198
  value;
2177
- static TYPE = 10;
2199
+ static TYPE = 9;
2200
+ /** The RFC 9626 frame-marking octets (1 to 4), without the length prefix. */
2178
2201
  constructor(value) {
2179
2202
  this.value = value;
2180
2203
  }
2204
+ /** True if the frame decodes without temporally prior frames (the I bit). */
2205
+ get independent() {
2206
+ return ((this.value[0] ?? 0) & INDEPENDENT) !== 0;
2207
+ }
2181
2208
  toKeyValuePair() {
2182
- return KeyValuePair.tryNewVarInt(VideoFrameMarking.TYPE, this.value);
2209
+ return KeyValuePair.tryNewBytes(VideoFrameMarking.TYPE, this.value);
2183
2210
  }
2184
2211
  static fromKeyValuePair(pair) {
2185
- if (Number(pair.typeValue) === VideoFrameMarking.TYPE && typeof pair.value === "bigint") return new VideoFrameMarking(pair.value);
2212
+ if (Number(pair.typeValue) === VideoFrameMarking.TYPE && pair.value instanceof Uint8Array) return new VideoFrameMarking(pair.value);
2186
2213
  }
2187
2214
  };
2188
2215
  //#endregion
@@ -2246,11 +2273,41 @@ var VideoConfig = class VideoConfig {
2246
2273
  }
2247
2274
  };
2248
2275
  //#endregion
2276
+ //#region src/model/property/audio_config.ts
2277
+ /**
2278
+ * Copyright 2026 The MOQtail Authors
2279
+ *
2280
+ * Licensed under the Apache License, Version 2.0 (the "License");
2281
+ * you may not use this file except in compliance with the License.
2282
+ * You may obtain a copy of the License at
2283
+ *
2284
+ * http://www.apache.org/licenses/LICENSE-2.0
2285
+ *
2286
+ * Unless required by applicable law or agreed to in writing, software
2287
+ * distributed under the License is distributed on an "AS IS" BASIS,
2288
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2289
+ * See the License for the specific language governing permissions and
2290
+ * limitations under the License.
2291
+ */
2292
+ var AudioConfig = class AudioConfig {
2293
+ config;
2294
+ static TYPE = 15;
2295
+ constructor(config) {
2296
+ this.config = config;
2297
+ }
2298
+ toKeyValuePair() {
2299
+ return KeyValuePair.tryNewBytes(AudioConfig.TYPE, this.config);
2300
+ }
2301
+ static fromKeyValuePair(pair) {
2302
+ if (Number(pair.typeValue) === AudioConfig.TYPE && pair.value instanceof Uint8Array) return new AudioConfig(pair.value);
2303
+ }
2304
+ };
2305
+ //#endregion
2249
2306
  //#region src/model/property/loc.ts
2250
2307
  let LOCProperty;
2251
2308
  (function(_LOCProperty) {
2252
2309
  function fromKeyValuePair(pair) {
2253
- return Timestamp.fromKeyValuePair(pair) || Timescale.fromKeyValuePair(pair) || VideoFrameMarking.fromKeyValuePair(pair) || AudioLevel.fromKeyValuePair(pair) || VideoConfig.fromKeyValuePair(pair);
2310
+ return Timestamp.fromKeyValuePair(pair) || Timescale.fromKeyValuePair(pair) || VideoFrameMarking.fromKeyValuePair(pair) || AudioLevel.fromKeyValuePair(pair) || VideoConfig.fromKeyValuePair(pair) || AudioConfig.fromKeyValuePair(pair);
2254
2311
  }
2255
2312
  _LOCProperty.fromKeyValuePair = fromKeyValuePair;
2256
2313
  function toKeyValuePair(header) {
@@ -2277,6 +2334,10 @@ let LOCProperty;
2277
2334
  return header instanceof VideoConfig;
2278
2335
  }
2279
2336
  _LOCProperty.isVideoConfig = isVideoConfig;
2337
+ function isAudioConfig(header) {
2338
+ return header instanceof AudioConfig;
2339
+ }
2340
+ _LOCProperty.isAudioConfig = isAudioConfig;
2280
2341
  })(LOCProperty || (LOCProperty = {}));
2281
2342
  var LOCProperties = class {
2282
2343
  kvps = [];
@@ -2288,8 +2349,9 @@ var LOCProperties = class {
2288
2349
  this.kvps.push(new Timescale(BigInt(timescale)).toKeyValuePair());
2289
2350
  return this;
2290
2351
  }
2291
- addVideoFrameMarking(marking) {
2292
- this.kvps.push(new VideoFrameMarking(BigInt(marking)).toKeyValuePair());
2352
+ /** Marks a whole, non-scalable frame (RFC 9626 short form): S and E set, I set on a keyframe. */
2353
+ addVideoFrameMarking(isKey) {
2354
+ this.kvps.push(new VideoFrameMarking(new Uint8Array([isKey ? 224 : 192])).toKeyValuePair());
2293
2355
  return this;
2294
2356
  }
2295
2357
  addAudioLevel(audioLevel) {
@@ -2300,6 +2362,10 @@ var LOCProperties = class {
2300
2362
  this.kvps.push(new VideoConfig(config).toKeyValuePair());
2301
2363
  return this;
2302
2364
  }
2365
+ addAudioConfig(config) {
2366
+ this.kvps.push(new AudioConfig(config).toKeyValuePair());
2367
+ return this;
2368
+ }
2303
2369
  addRaw(pair) {
2304
2370
  this.kvps.push(pair);
2305
2371
  return this;
@@ -6754,6 +6820,7 @@ function propertiesPass(required, properties) {
6754
6820
  return true;
6755
6821
  }
6756
6822
  //#endregion
6823
+ exports.AudioConfig = AudioConfig;
6757
6824
  exports.AudioLevel = AudioLevel;
6758
6825
  exports.Authority = Authority;
6759
6826
  exports.AuthorizationToken = AuthorizationToken;
package/dist/model.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as PropertyRange, $n as isVarInt, $t as Expires, A as RequestError, An as LocationFilterType, At as RequestIdError, B as GoAway, Bn as ObjectDatagramType, Bt as NewGroupRequest, C as Timestamp, Cn as MAX_FULL_TRACK_NAME_LENGTH, Ct as InvalidTypeError, D as CMSFTrack, Dn as FetchObjectContext, Dt as MOQtailError, E as CMSFCatalog, En as FetchObject, Et as LengthExceedsMaxError, F as RequestUpdate, Fn as TrackStatusCode, Ft as FillParameters, G as DynamicGroupsProperty, Gn as ReasonPhrase, Gt as resolveTransportUrl, H as FetchOk, Hn as ObjectStatus, Ht as Redirect, I as SubscribeOk, In as FetchHeader, It as SwitchFrom, J as ObjectDeliveryTimeoutProperty, Jn as Location, Jt as greaseValue, K as ImmutablePropertiesTrackProperty, Kn as Tuple, Kt as GREASE_BASE, L as Publish, Ln as Datagram, Lt as LocationFilter, M as SubscribeTracks, Mn as RequestErrorCode, Mt as TimeoutError, N as SubscribeNamespace, Nn as SUPPORTED_VERSIONS, Nt as TrackNameError, O as StreamResetCode, On as ControlMessageType, Ot as NotEnoughBytesError, P as TrackStatus, Pn as SwitchMode, Pt as VarIntOverflowError, Q as LOCPropertyId, Qn as isBytes, Qt as Forward, R as PublishDone, Rn as DEFAULT_PUBLISHER_PRIORITY, Rt as SubscriberPriority, S as Timescale, Sn as FullTrackName, St as InvalidEnumValue, T as CMSF, Tn as EndOfRangeKind, Tt as KeyValueFormattingError, U as DefaultPublisherGroupOrderProperty, Un as SubgroupHeaderType, Ut as MoqtFragment, V as MAX_NEW_SESSION_URI_LENGTH, Vn as ObjectForwardingPreference, Vt as LargestObject, W as DefaultPublisherPriorityProperty, Wn as MAX_REASON_PHRASE_LEN, Wt as MoqtUrl, X as TrackProperty, Xn as deserializeKvpList, Xt as GroupOrderParam, Y as SubgroupDeliveryTimeoutProperty, Yn as KeyValuePair, Yt as isGrease, Z as UnknownTrackProperty, Zn as deserializeKvpListUntilEmpty, Zt as IncludeProperties, _ as LOCProperties, _n as Header, _t as RangeFilter, a as SstsAlgorithms, an as AuthorizationToken, at as Setup, b as AudioLevel, bn as MoqtObject, bt as CastingError, c as MaxFilterRanges, cn as SetupOptionType, ct as PublishNamespace, d as Path, dn as setupOptionTypeFromNumber, dt as applyMessageParameterUpdate, en as SubgroupDeliveryTimeout, er as serializeKvpList, et as PropertyRanges, f as ImmutablePropertiesObjectProperty, fn as tokenAliasTypeFromNumber, ft as deserializeMessageParameterKvps, g as UnknownObjectProperty, gn as FrozenByteBuffer, gt as RangeDelta, h as PriorObjectIdGapProperty, hn as ByteBuffer, ht as Range, i as assertNoAuthorityOverWebTransport, in as AuthTokenVariant, it as Fetch, j as RequestOk, jn as PublishDoneStatusCode, jt as TerminationError, k as ControlMessage, kn as GroupOrder, kt as ProtocolViolationError, l as Authority, ln as TokenAliasType, lt as MessageParameter, m as PriorGroupIdGapProperty, mn as BaseByteBuffer, mt as InvalidFilterError, n as SetupOption, nn as ObjectDeliveryTimeout, nt as isApplicationSpecificProperty, o as MaxRequestUpdates, on as Parameter, ot as NamespaceDone, p as ObjectProperty, pn as PublishSkipped, pt as serializeMessageParameterKvps, q as MaxCacheDurationProperty, qn as TupleField, qt as GREASE_STEP, r as SetupOptions, rn as FillTimeout, rt as locPropertyIdFromNumber, s as MoqtImplementation, sn as MessageParameterType, st as Namespace, t as CombinedFilter, tn as RendezvousTimeout, tt as TrackPropertyType, u as MaxAuthTokenCacheSize, un as messageParameterTypeFromNumber, ut as MessageParameters, v as LOCProperty, vn as RequestIdMap, vt as RangeFilterKind, w as TerminationCode, wn as MAX_NAMESPACE_TUPLE_COUNT, wt as InvalidUTF8Error, x as VideoFrameMarking, xn as SubgroupObject, xt as InternalError, y as VideoConfig, yn as SubgroupHeader, yt as encodeRanges, z as Subscribe, zn as FetchHeaderType, zt as SwitchingSetAssignment } from "./index-DBbxKcc1.cjs";
2
- export { AudioLevel, AuthTokenVariant, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSF, CMSFCatalog, CMSFTrack, CastingError, CombinedFilter, ControlMessage, ControlMessageType, DEFAULT_PUBLISHER_PRIORITY, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchObjectContext, FetchOk, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, Location, LocationFilter, LocationFilterType, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailError, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MessageParameter, MessageParameterType, MessageParameters, MoqtFragment, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NewGroupRequest, NotEnoughBytesError, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Parameter, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRange, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishSkipped, Range, RangeDelta, RangeFilter, RangeFilterKind, ReasonPhrase, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestUpdate, SUPPORTED_VERSIONS, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeOk, SubscribeTracks, SubscriberPriority, SwitchFrom, SwitchMode, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, TrackNameError, TrackProperty, TrackPropertyType, TrackStatus, TrackStatusCode, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };
1
+ import { $ as LOCPropertyId, $n as isBytes, $t as Forward, A as ControlMessage, An as GroupOrder, At as ProtocolViolationError, B as Subscribe, Bn as FetchHeaderType, Bt as SwitchingSetAssignment, C as Timescale, Cn as FullTrackName, Ct as InvalidEnumValue, D as CMSFCatalog, Dn as FetchObject, Dt as LengthExceedsMaxError, E as CMSF, En as EndOfRangeKind, Et as KeyValueFormattingError, F as TrackStatus, Fn as SwitchMode, Ft as VarIntOverflowError, G as DefaultPublisherPriorityProperty, Gn as MAX_REASON_PHRASE_LEN, Gt as MoqtUrl, H as MAX_NEW_SESSION_URI_LENGTH, Hn as ObjectForwardingPreference, Ht as LargestObject, I as RequestUpdate, In as TrackStatusCode, It as FillParameters, J as MaxCacheDurationProperty, Jn as TupleField, Jt as GREASE_STEP, K as DynamicGroupsProperty, Kn as ReasonPhrase, Kt as resolveTransportUrl, L as SubscribeOk, Ln as FetchHeader, Lt as SwitchFrom, M as RequestOk, Mn as PublishDoneStatusCode, Mt as TerminationError, N as SubscribeTracks, Nn as RequestErrorCode, Nt as TimeoutError, O as CMSFTrack, On as FetchObjectContext, Ot as MOQtailError, P as SubscribeNamespace, Pn as SUPPORTED_VERSIONS, Pt as TrackNameError, Q as UnknownTrackProperty, Qn as deserializeKvpListUntilEmpty, Qt as IncludeProperties, R as Publish, Rn as Datagram, Rt as LocationFilter, S as VideoFrameMarking, Sn as SubgroupObject, St as InternalError, T as TerminationCode, Tn as MAX_NAMESPACE_TUPLE_COUNT, Tt as InvalidUTF8Error, U as FetchOk, Un as ObjectStatus, Ut as Redirect, V as GoAway, Vn as ObjectDatagramType, Vt as NewGroupRequest, W as DefaultPublisherGroupOrderProperty, Wn as SubgroupHeaderType, Wt as MoqtFragment, X as SubgroupDeliveryTimeoutProperty, Xn as KeyValuePair, Xt as isGrease, Y as ObjectDeliveryTimeoutProperty, Yn as Location, Yt as greaseValue, Z as TrackProperty, Zn as deserializeKvpList, Zt as GroupOrderParam, _ as LOCProperties, _n as FrozenByteBuffer, _t as RangeDelta, a as SstsAlgorithms, an as AuthTokenVariant, at as Fetch, b as VideoConfig, bn as SubgroupHeader, bt as encodeRanges, c as MaxFilterRanges, cn as MessageParameterType, ct as Namespace, d as Path, dn as messageParameterTypeFromNumber, dt as MessageParameters, en as Expires, er as isVarInt, et as PropertyRange, f as ImmutablePropertiesObjectProperty, fn as setupOptionTypeFromNumber, ft as applyMessageParameterUpdate, g as UnknownObjectProperty, gn as ByteBuffer, gt as Range, h as PriorObjectIdGapProperty, hn as BaseByteBuffer, ht as InvalidFilterError, i as assertNoAuthorityOverWebTransport, in as FillTimeout, it as locPropertyIdFromNumber, j as RequestError, jn as LocationFilterType, jt as RequestIdError, k as StreamResetCode, kn as ControlMessageType, kt as NotEnoughBytesError, l as Authority, ln as SetupOptionType, lt as PublishNamespace, m as PriorGroupIdGapProperty, mn as PublishSkipped, mt as serializeMessageParameterKvps, n as SetupOption, nn as RendezvousTimeout, nt as TrackPropertyType, o as MaxRequestUpdates, on as AuthorizationToken, ot as Setup, p as ObjectProperty, pn as tokenAliasTypeFromNumber, pt as deserializeMessageParameterKvps, q as ImmutablePropertiesTrackProperty, qn as Tuple, qt as GREASE_BASE, r as SetupOptions, rn as ObjectDeliveryTimeout, rt as isApplicationSpecificProperty, s as MoqtImplementation, sn as Parameter, st as NamespaceDone, t as CombinedFilter, tn as SubgroupDeliveryTimeout, tr as serializeKvpList, tt as PropertyRanges, u as MaxAuthTokenCacheSize, un as TokenAliasType, ut as MessageParameter, v as LOCProperty, vn as Header, vt as RangeFilter, w as Timestamp, wn as MAX_FULL_TRACK_NAME_LENGTH, wt as InvalidTypeError, x as AudioLevel, xn as MoqtObject, xt as CastingError, y as AudioConfig, yn as RequestIdMap, yt as RangeFilterKind, z as PublishDone, zn as DEFAULT_PUBLISHER_PRIORITY, zt as SubscriberPriority } from "./index-BY6e1obL.cjs";
2
+ export { AudioConfig, AudioLevel, AuthTokenVariant, Authority, AuthorizationToken, BaseByteBuffer, ByteBuffer, CMSF, CMSFCatalog, CMSFTrack, CastingError, CombinedFilter, ControlMessage, ControlMessageType, DEFAULT_PUBLISHER_PRIORITY, Datagram, DefaultPublisherGroupOrderProperty, DefaultPublisherPriorityProperty, DynamicGroupsProperty, EndOfRangeKind, Expires, Fetch, FetchHeader, FetchHeaderType, FetchObject, FetchObjectContext, FetchOk, FillParameters, FillTimeout, Forward, FrozenByteBuffer, FullTrackName, GREASE_BASE, GREASE_STEP, GoAway, GroupOrder, GroupOrderParam, Header, ImmutablePropertiesObjectProperty, ImmutablePropertiesTrackProperty, IncludeProperties, InternalError, InvalidEnumValue, InvalidFilterError, InvalidTypeError, InvalidUTF8Error, KeyValueFormattingError, KeyValuePair, LOCProperties, LOCProperty, LOCPropertyId, LargestObject, LengthExceedsMaxError, Location, LocationFilter, LocationFilterType, MAX_FULL_TRACK_NAME_LENGTH, MAX_NAMESPACE_TUPLE_COUNT, MAX_NEW_SESSION_URI_LENGTH, MAX_REASON_PHRASE_LEN, MOQtailError, MaxAuthTokenCacheSize, MaxCacheDurationProperty, MaxFilterRanges, MaxRequestUpdates, MessageParameter, MessageParameterType, MessageParameters, MoqtFragment, MoqtImplementation, MoqtObject, MoqtUrl, Namespace, NamespaceDone, NewGroupRequest, NotEnoughBytesError, ObjectDatagramType, ObjectDeliveryTimeout, ObjectDeliveryTimeoutProperty, ObjectForwardingPreference, ObjectProperty, ObjectStatus, Parameter, Path, PriorGroupIdGapProperty, PriorObjectIdGapProperty, PropertyRange, PropertyRanges, ProtocolViolationError, Publish, PublishDone, PublishDoneStatusCode, PublishNamespace, PublishSkipped, Range, RangeDelta, RangeFilter, RangeFilterKind, ReasonPhrase, Redirect, RendezvousTimeout, RequestError, RequestErrorCode, RequestIdError, RequestIdMap, RequestOk, RequestUpdate, SUPPORTED_VERSIONS, Setup, SetupOption, SetupOptionType, SetupOptions, SstsAlgorithms, StreamResetCode, SubgroupDeliveryTimeout, SubgroupDeliveryTimeoutProperty, SubgroupHeader, SubgroupHeaderType, SubgroupObject, Subscribe, SubscribeNamespace, SubscribeOk, SubscribeTracks, SubscriberPriority, SwitchFrom, SwitchMode, SwitchingSetAssignment, TerminationCode, TerminationError, TimeoutError, Timescale, Timestamp, TokenAliasType, TrackNameError, TrackProperty, TrackPropertyType, TrackStatus, TrackStatusCode, Tuple, TupleField, UnknownObjectProperty, UnknownTrackProperty, VarIntOverflowError, VideoConfig, VideoFrameMarking, applyMessageParameterUpdate, assertNoAuthorityOverWebTransport, deserializeKvpList, deserializeKvpListUntilEmpty, deserializeMessageParameterKvps, encodeRanges, greaseValue, isApplicationSpecificProperty, isBytes, isGrease, isVarInt, locPropertyIdFromNumber, messageParameterTypeFromNumber, resolveTransportUrl, serializeKvpList, serializeMessageParameterKvps, setupOptionTypeFromNumber, tokenAliasTypeFromNumber };