iOS Player SDK: sideloaded subtitles, fullscreen rotation, and precision seek
The FastPix iOS Player SDK adds three capabilities for richer playback control: sideloaded subtitles, fullscreen rotation that reports what actually happened, and precision seeking.
What’s new:
-
Sideload external subtitles: register a WebVTT or SubRip file that is not in the HLS manifest, served from your own storage, and select it alongside in-manifest tracks. SubRip is converted to WebVTT on the device, registration is synchronous with no I/O, and load faults are reported through the delegate. External cues render through the host, so you draw them yourself. See Sideload external subtitles.
-
Rotate video for fullscreen: rotation is requested through
UIWindowScene.requestGeometryUpdate(public API, iOS 16+, no private KVC), and the SDK reads back the orientation the system actually settled on. Every request, granted or refused, is reported with a reason, andvideoFillModechooses how the picture fills the frame. See Rotate video for fullscreen. -
Seek with precision: ask how precisely a seek should land with
.exactor.nearestKeyframe(tolerance:), then read back where it actually landed, computed in rational media time. Scrub gestures coalesce into a single seek, frame stepping refuses with a typed reason instead of guessing, and wall-clock and live-edge seeking are supported for date-addressable live streams. See Seek with precision.