We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6035cb3 commit 61b2068Copy full SHA for 61b2068
2 files changed
js/watch/package.json
@@ -1,7 +1,7 @@
1
{
2
"name": "@moq/watch",
3
"type": "module",
4
- "version": "0.2.3",
+ "version": "0.2.4",
5
"description": "Watch Media over QUIC broadcasts",
6
"license": "(MIT OR Apache-2.0)",
7
"repository": "github:moq-dev/moq",
js/watch/src/audio/decoder.ts
@@ -228,6 +228,10 @@ export class Decoder {
228
const { frame } = next;
229
if (!frame) continue;
230
231
+ // Mark that we received this frame right now.
232
+ const timestamp = Time.Milli.fromMicro(frame.timestamp as Time.Micro);
233
+ this.source.sync.received(timestamp, "audio");
234
+
235
this.#stats.update((stats) => ({
236
bytesReceived: (stats?.bytesReceived ?? 0) + frame.data.byteLength,
237
}));
0 commit comments