@3dsource/angular-unreal-module 0.0.185 → 0.0.186

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dsource/angular-unreal-module",
3
- "version": "0.0.185",
3
+ "version": "0.0.186",
4
4
  "description": "Angular integration for Unreal Engine Pixel Streaming",
5
5
  "keywords": [
6
6
  "3dsource",
@@ -1129,6 +1129,27 @@ interface SampleData extends TelemetryEventEnvelope {
1129
1129
  readonly jitter: WindowAggregate;
1130
1130
  readonly rtt: WindowAggregate;
1131
1131
  readonly packetsLost?: number;
1132
+ /**
1133
+ * Bytes the video stream delivered DURING this window — how far
1134
+ * `inbound-rtp.bytesReceived` moved since the previous window closed, not a
1135
+ * running total.
1136
+ *
1137
+ * What turns a bandwidth figure on the receiving end into a measurement.
1138
+ * Volume needs the window's MEAN bitrate; {@link bitrate} carries
1139
+ * p50/p95/min/max and no mean, so without this a consumer has to work the
1140
+ * volume out from the median — which runs low on a stream that spikes at
1141
+ * every keyframe.
1142
+ *
1143
+ * A delta rather than the cumulative counter on purpose: a cumulative value
1144
+ * is only usable if the previous sample survived the trip, so one dropped
1145
+ * POST would move bytes silently into the next window.
1146
+ *
1147
+ * Omitted when the counter is missing or went backwards (a renegotiation
1148
+ * restarts it) — see `CounterWindow`. A consumer reads the gap as "estimate
1149
+ * this window from the bitrate", which is the honest reading; it must never
1150
+ * treat a missing value as zero bytes.
1151
+ */
1152
+ readonly bytes?: number;
1132
1153
  readonly viewPort: {
1133
1154
  readonly width?: number;
1134
1155
  readonly height?: number;