get https://api.fastpix.io/v1/on-demand/
By calling this endpoint, you can retrieve detailed information about a specific media item, including its current status and a playbackId. This is particularly useful for retrieving specific media details when managing large content libraries.
How it works
-
Send a GET request to this endpoint. Use the
<mediaId>you received after uploading the media file. -
The response includes details about the media:
- status – Indicates whether the media is still Processing or has transitioned to Ready.
- playbackId – A unique identifier that allows you to stream the media once it is Ready.
You can construct the stream URL as follows:
https://stream.fastpix.io/<playbackId>.m3u8
Example
If your platform provides users with a dashboard to manage uploaded content, a user might want to check whether a video has finished processing and is ready for playback. You can use the media ID to retrieve the information from FastPix and display it in the user’s dashboard.