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 - [2.1.0]
Breaking
Media duration is now a float (seconds) instead of an "HH:MM:SS" string,
matching the updated API. Affects the media response models returned by media.list, manageVideos.get, media.getClips, liveStreams.listClips, manageVideos.update, media.updateSourceAccess, manageVideos.updateMp4Support,
and the mediaList items in every playlist response.
Added
enableRecording on live stream creation (inputMediaSettings); when omitted
the API default (recording on) applies.
accessRestrictions (domain and user-agent allow/deny policies) on live playback
ID create/get and live stream playbackSettings.
livePlayback.updateDomainRestrictions for PATCH /live/streams/{streamId}/playback-ids/{playbackId}/domains.
livePlayback.updateUserAgentRestrictions for PATCH /live/streams/{streamId}/playback-ids/{playbackId}/user-agents.
Fixed
Live validation harness now captures raw responses from the dev API host,
not only the .com/.io hosts.
Tests & tooling
Added an offline model-contract test suite (vitest, no credentials): media duration, enableRecording, and accessRestrictions serialization, and
mocked-transport tests for the two new restriction endpoints.
Added a full API-surface smoke test asserting every resource method exists.
Added a return-type contract test asserting each resource method's declared
return type matches the envelope class it deserializes.
Added an async error-path test asserting 4XX/5XX reject with the typed error.