Skip to content

v2.1.0

Latest

Choose a tag to compare

@FastPix-dev FastPix-dev released this 10 Sep 11:05
· 1 commit to main since this release
500d607

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.