Home / Companies / Agora / Blog / Post Details
Content Deep Dive

How to Create an iOS or macOS Video Streaming Application with 3 Lines of Code

Blog post from Agora

Post Details
Company
Date Published
Author
Max Cobb
Word Count
2,165
Language
English
Hacker News Points
-
Summary

Agora UIKit simplifies the process of creating a macOS or iOS streaming application by allowing developers to place a UIView, NSView, or SwiftUI View. The prerequisites include an Agora developer account, Xcode 11.0 or later, an iOS device running on iOS 13.0, or macOS minimum 10.14, and a basic understanding of iOS development. CocoaPods is also required if not using Swift Package Manager. The setup process involves creating an iOS or macOS project in Xcode, adding the URL of the repository to the Xcode project for Swift Package Manager, or installing the CocoaPod AgoraUIKit_iOS or AgoraUIKit_macOS. Developers can then add video streaming functionality and customize settings using AgoraSettings. Advanced customization options include adding more buttons with AgoraVideoViewerDelegate and creating custom stream layouts.