Live Stream Support (iOS)

We support live stream on iOS by default. And you could also follow the instructions below to enhance the function of live stream.

Support low latency live stream

Install support library

Firstly, you need to install FireworkVideoIVSSupport. Please refer to https://github.com/loopsocial/firework_ios_sdk_ivs_support#installation

Integration

In your iOS project, you need to call FireworkVideoSDK.enableIVSPlayback() in application(:, didFinishLaunchingWithOptions:) -> Bool method.

import FireworkVideo
import FireworkVideoIVSSupport

func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
    FireworkVideoSDK.initializeSDK()
    FireworkVideoSDK.enableIVSPlayback()
    
    return true
}

Use modern (v2) livestream player design

The modern (v2) livestream player offers a more extensive feature set than the classic (v1) version. For instance, features such as Giveaway, Trivia Giveaway, and AI Copilot are available exclusively in the modern player, and are not supported in the classic player.

// Use modern (v2) livestream player
FireworkVideoSDK.livestreamPlayerDesignVersion = .v2

Last updated

Was this helpful?