FastPix PHP SDK moves to fastpix.com, with metrics and track-parity fixes
FastPix PHP SDK moves to fastpix.com, with metrics and track-parity fixes
The FastPix PHP SDK (fastpix/sdk) now defaults to the fastpix.com hosts, fixes Data metrics calls that threw during deserialization, and corrects track parsing. For most integrations, updating the dependency is enough.
What’s new:
-
Default hosts moved to fastpix.com: the default server URL is now
https://api.fastpix.com/v1/. If you rely on the defaults, just runcomposer update fastpix/sdk. If you pass an explicit.ioserver-URL override (setServerUrl(...)), change it to.com, and update any hard-coded.ioplayback, image, or dashboard URLs before the.iohosts are decommissioned. -
Fixed throwing Data metrics calls:
metrics.listOverallValuesandmetrics.getTimeseriesDatathrew during deserialization because of a PSR-4 autoload filename-casing mismatch. These now resolve correctly. -
Fixed track parsing: audio tracks now retain
languageCodeandlanguageName(union deserialization previously resolved every track to the video-track type and discarded the language fields), and media-list tracks now includeframeRate. -
Corrected response fields: playback
createMediaPlaybackIddata.resolutionis now correctly modelled as nullable (it isnullwhen no resolution constraint was set), and delete-signing-key responses now include the optionaldata.messageconfirmation. -
Maintenance (v1.0.4): refreshed the SDK version identifiers (the
sdkVersionconstant and theUser-Agentheader) with no functional or API changes.