mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-02 05:55:08 +00:00
feat(remote): license each track locally with --cdm-only over remote
This commit is contained in:
@@ -22,6 +22,7 @@ SEGMENTS_ROUTE = SESSION_ROUTE + "/segments"
|
||||
SEGMENT_FILTER_ROUTE = SESSION_ROUTE + "/segment_filter"
|
||||
SAMPLES_ROUTE = SESSION_ROUTE + "/samples"
|
||||
LICENSE_ROUTE = SESSION_ROUTE + "/license"
|
||||
KEYS_ROUTE = SESSION_ROUTE + "/keys"
|
||||
BAD_KEY_ROUTE = SESSION_ROUTE + "/keys/bad"
|
||||
LOGS_ROUTE = SESSION_ROUTE + "/logs"
|
||||
PROMPT_ROUTE = SESSION_ROUTE + "/prompt"
|
||||
@@ -207,6 +208,11 @@ class BadKeyReport(TypedDict):
|
||||
key: str
|
||||
|
||||
|
||||
class TrackKeys(TypedDict):
|
||||
track_id: str
|
||||
keys: dict[str, str]
|
||||
|
||||
|
||||
class PromptReply(TypedDict, total=False):
|
||||
"""The login state of a remote session, and the prompt or CDM call that waits for the client."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user