Swiftpack.co - Package - pbj-apps/Live-ios-sdk

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.


Stream your PBJ.live content from your iOS App.

Live Player

Live Platform: iOS 13+ Language: Swift 5 Swift Package Manager compatible GitHub tag

Stream your PBJ.live content from your iOS App.


1. Import the Live-ios-sdk package

Xcode > File > Swift packages > Add Package Dependency


2. Initialize the LivePlayerSDK with your credentials on App start

A good place to do this is typically the AppDelegate.

import Live

// [...]

LiveSDK.initialize(withDomain: "YOUR_DOMAIN", apiKey: "YOUR_API_KEY")

3. Create a LivePlayerViewController

let livePlayerVC = LivePlayerViewController() // Optionally pass a liveStreamId.
livePlayerVC.delegate = self

4. Present it like you would any `UIViewController

present(livePlayerVC, animated: true, completion: nil)

Example App

Checkout the example App provided in this repository to see a typical integration.

Got a question? Found an issue?

Create a github issue and we'll help you from there ❤️


Stars: 0
Last commit: 2 days ago


0.2.0-beta - 2021-01-21T16:23:01

  • Authenticate SDK via Guest auth.