(playback)
Operations related to playback api
- get - Retrieve Playback Info
Retrieve Playback Info
from livepeer import Livepeer
s = Livepeer(
api_key="<YOUR_BEARER_TOKEN_HERE>",
)
res = s.playback.get(id="<id>")
if res.playback_info is not None:
# handle response
pass
Parameter | Type | Required | Description |
---|---|---|---|
id |
str | ✔️ | The playback ID from the asset or livestream, e.g. eaw4nk06ts2d0mzb . |
retries |
Optional[utils.RetryConfig] | ➖ | Configuration to override the default retry behavior of the client. |
operations.GetPlaybackInfoResponse
Error Object | Status Code | Content Type |
---|---|---|
errors.Error | 404 | application/json |
errors.SDKError | 4xx-5xx | / |