fix(events): emit TRACK_DOWNLOADED once per track after decryption

This commit is contained in:
imSp4rky
2026-11-28 14:15:31 -07:00
parent 053d83874d
commit 4743e2f32c
7 changed files with 118 additions and 34 deletions
+2 -1
View File
@@ -687,7 +687,8 @@ See the [DRM & CDM reference](../guide/drm-and-cdm.md) for the full picture.
Override any of these to react to pipeline stages (all no-ops by default):
`on_segment_downloaded`, `on_track_downloaded`, `on_track_decrypted`,
`on_track_repacked`, `on_track_multiplex`. Also override `search()` to yield
`on_track_repacked`, `on_track_multiplex`. `on_track_downloaded` runs once per track, after
unshackle decrypted the `drm` of the track. Also override `search()` to yield
`SearchResult` objects for `unshackle search`.
!!! warning "Set `ANONYMOUS_SEARCH` only for a search that needs no account"