Integrating The SDK
HMSSDK is distributed via Cocoapods and Swift Package Manager.
Swift Package Manager
Use https://github.com/100mslive/100ms-ios-sdk.git as the package source.
Cocoapods
Add the pod 'HMSSDK'
to your Podfile as follows:
// Podfile platform :ios, '10.0' target 'MyAwesomeApp' do pod 'HMSSDK' end
Add the entitlements for video, audio and network access to your Info.plist
<key>NSCameraUsageDescription</key> <string>Allow access to Camera to enable video calling.</string> <key>NSLocalNetworkUsageDescription</key> <string>Allow access to Camera to network to enable video calling.</string> <key>NSMicrophoneUsageDescription</key> <string>Allow access to Camera to mic to enable video calling.</string>