feat: time in manifest

This commit is contained in:
TrèsAbhi committed 2024-04-16 13:45:03 -05:00
1 parent a0d78f89ff
commit fae9f8bded
2 files changed
+4 -1

No files matched your search

+2
View File
@@ -33,6 +33,7 @@ export class RtsmReadStream extends ReadStream {
body() {
return {
time: this.uint32(),
base: this.uint8(),
};
}
@@ -56,6 +57,7 @@ export class RtsmWriteStream extends WriteStream {
}
body(base: number) {
this.uint32(Math.round(Date.now() / 1000));
this.uint8(base);
}
}