iOS Broadcast SDK

Swiftarrow-up-right

UZBroadcast is a framework helps you to broadcast livestream

Link to the Source code here: https://github.com/uizaio/snake.sdk.ios-broadcastarrow-up-right

Compatibility

UZBroadcast requires Swift 4.2+ and iOS 9+

Installation

CocoaPods

To integrate UZBroadcast into your Xcode project using CocoaPodsarrow-up-right, specify it in your Podfile:

Then run the following command:

Livestream

let broadcaster = UZBroadcastViewController()
let config = UZBroadcastConfig(cameraPosition: .front, videoResolution: ._720, videoBitrate: ._3000, videoFPS: ._30, audioBitrate: ._128Kbps, audioSampleRate: ._44_1khz, adaptiveBitrate: true)
broadcaster.prepareForBroadcast(withConfig: config)
//...
broadcaster.startBroadcast(broadcastURL: BROADCAST_URL)
present(broadcaster, animated: true, completion: nil)

Screen broadcast

Remember to add these usage description keys into Info.plist file:

Reference

API Referencearrow-up-right

Support

[email protected]envelope

License

UZBroadcast is released under the BSD license. See LICENSEarrow-up-right for details.

Last updated

Was this helpful?