DEV Community

ZEGOCLOUD Dev
ZEGOCLOUD Dev

Posted on

How To Use Live Stream SDK iOS Build App

Given the rapid growth of the live streaming market, many companies have launched their own iOS live stream SDK.

The development of the live streaming SDK is evolving in a simple and convenient direction, from providing the underlying audio and video transmission capability for a complete live streaming solution to the current compact solution. ZEGOCLOUD’s latest iOS Live Streaming SDK Kit constitutes a compact, independent component solution that provides rich UI custom interfaces. Users select components according to their own needs and customize the UI.

How to build an app with live streaming SDK

1) Add ZegoUIKitPrebuiltLiveStreaming as dependencies

Integrate ZegoUIKitPrebuiltLiveStreaming SDK through the pod; add pod ZegoUIKitPrebuiltLiveStreaming in the Podfile file. Then execute the command pod and install it in Terminal. For detailed operation, please refer to Quick Access Documentation

**
2) Import ZegoUIKitSDK & ZegoUIKitPrebuiltCall to your project**

In the file that needs to be called the SDK interface, import the SDK through import.

3) Using the ZegoUIKitPrebuiltLiveStreamingVC in your project

Go to ZEGOCLOUD Admin Console, get the appID and appSign of your project.
Specify the userID and username for connecting to the Live Streaming Kit service.
liveID represents the live streaming you want to start or watch (it only supports single-host live streaming for now).

Then, you can start live streaming by presenting the liveVC.
**
4) Configure your project**

Open the Info. plist add the following code inside the dict part:
Run the demo ----> https://www.youtube.com/watch?v=TXoIJXTGjEA

Check the tutorial on our blog: https://www.zegocloud.com/blog/live-stream-sdk-ios.

Android SDK iOS Application Development Livestream

Top comments (0)