Play live and on-demand streams
Play live and on-demand streams
Play live and on-demand streams
Learn how to configure the FastPix iOS Player for live and on-demand video playback.
The streamType parameter controls how the FastPix iOS Player handles media. Set it based on the type of content you’re streaming.
The FastPix iOS Player supports two stream types:
on-demand: For pre-recorded, non-live content. This is the default.live: For real-time streaming content.To play an on-demand video, set the streamType to "on-demand" in PlaybackOptions. If you don’t specify a stream type, the player defaults to on-demand.
Note: If you omit the
streamType, the player treats the content as on-demand by default.
To play a live stream, set the streamType to "live" and provide the playback ID for the live stream.