You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Version - [1.2.0]
Breaking
Media duration is now a float (seconds) instead of an "HH:MM:SS"
string, matching the updated API. Affects the media responses returned by get_media, list_media, list_live_clips, updated_media, updated_source_access, updated_mp4_support, get_media_clips, and the
playlist mediaList items.
Publish this version only once production returns the numeric duration.
Added
enable_recording on live stream creation (inputMediaSettings,
defaults to true) — controls whether the livestream is recorded to a VOD
asset.
access_restrictions (domain and user-agent allow/deny policies) on
live playback ID create/get and on live stream playbackSettings.
Async variants for the on-demand update_domain_restrictions and update_user_agent_restrictions, which were sync-only.
Model contract test suite (tests/test_models.py).
Fixed
Async error handling never raised — _raise_for_status_async was called
without await across the async methods, so failed responses returned None instead of raising typed errors.
Return annotations for live playback ID create/get, list_media, and list_live_clips corrected to the actual response envelopes
(PlaybackIDSuccessResponse, ListMediaResponse, ListLiveClipsResponse).
Return annotations across all resource methods — 104 methods declared the
inner data type or a list where the SDK actually returns the {success, data}
envelope, so type checkers rejected .data access. All now match the returned
class; a test enforces this.