mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-30 01:12:39 +00:00
Restore canonical watch history snapshot format
This commit is contained in:
1 parent
af7738b4d8
commit
ecd3f4026e
6 files changed
+122
-8
No files matched your search
@@ -64,10 +64,12 @@ builders inherit the same debugging knobs.
|
||||
### Watch history identifiers
|
||||
|
||||
Watch-history snapshots now publish a dedicated index event with
|
||||
`#d ${WATCH_HISTORY_LIST_IDENTIFIER}` (defaults to `watch-history:v2:index`). The
|
||||
`#d ${WATCH_HISTORY_LIST_IDENTIFIER}` (defaults to `watch-history`). The
|
||||
index advertises the active snapshot id, total chunk count, and a pointer to
|
||||
each chunk via `a` tags so clients can fetch the encrypted payloads without
|
||||
guessing identifiers.
|
||||
guessing identifiers. Deployments that previously used
|
||||
`watch-history:v2:index` continue to resolve thanks to the legacy identifier
|
||||
list.
|
||||
|
||||
Every chunk event uses a unique `d` tag such as
|
||||
`watch-history:v2/<snapshot>/<chunkIndex>`. Legacy snapshots created before the
|
||||
|
||||
Reference in new issue
Block a user