> For the complete documentation index, see [llms.txt](https://docs.firework.com/firework-for-developers/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.firework.com/firework-for-developers/ios-sdk/integration-guide-for-ios-sdk/live-stream-support.md).

# 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.

```swift
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.

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