A supporting library for the Amazon IVS SDK for use with FireworkVideo live stream playback. Using this library enables low latency live streaming.
This supporting library assumes basic familiarity with Amazon IVS. If needed, read over the IVS User Guide before diving in.
This supporting library is intended to be used alongside FireworkVideo SDK. Read over the FireworkVideo SDK documentation and sample code to ensure smooth integration with IVS SDK.
Ensure your Firework content is configured and apply correct styling and/or layout before integrating the IVS supporting library. This will ensure your testing conditions will match your production environment.
- Add FireworkVideoSDK to your project; follow the Firework Video installation instructions.
- Add FireworkVideoIVSSupport library to your project; follow the instructions below.
Swift Package Manager is the recommended way to install the FireworkVideo IVS Supporting Library.
We also support using Cocoapods to install this library. For example, add the following code snippet in the Podfile.
pod 'FireworkVideoIVSSupport'
Note: alternatively you can download the binary directly and install it manually.
Set up the SDK alongside FireworkVideo as soon as possible after app launch. See below code snippet.
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// First initialize the FireworkVideoSDK
FireworkVideoSDK.initializeSDK()
FireworkVideoSDK.enableIVSPlayback()
return true
}
FireworkVideo after both SDKs are initialized, FireworkVideo will make internal requests to the supporting library as determined by the Firework configuration for your App ID.