Add missing import and fix Info.plist permissions

This commit is contained in:
Tiago Jacobs
2022-04-11 13:31:36 -03:00
parent f1c64a8186
commit 622da30e59
4 changed files with 32 additions and 8 deletions

View File

@@ -1,3 +1,9 @@
//
// AppDelegate.swift
//
// Created by Tiago Daniel Jacobs on 11/03/22.
//
import UIKit
import bigbluebutton_mobile_sdk

View File

@@ -10,6 +10,8 @@
<string>$(PRODUCT_MODULE_NAME).SampleHandler</string>
<key>RPBroadcastProcessMode</key>
<string>RPBroadcastProcessModeSampleBuffer</string>
<key>NSMicrophoneUsageDescription</key>
<string>BigBlueButton needs microphone access to allow you to share your microphone during a meeting.</string>
</dict>
</dict>
</plist>

View File

@@ -1,8 +1,16 @@
import bigbluebutton_mobile_sdk_common
//
// SampleHandler.swift
// BigBlueButtonMobileSdkBroadcastExample
//
// Created by Tiago Daniel Jacobs on 15/02/22.
//
import ReplayKit
import bigbluebutton_mobile_sdk_broadcast_upload_extension
class SampleHandler: BBBSampleHandler {
override func broadcastStarted(withSetupInfo setupInfo: [String : NSObject]?) {
super.setAppGroupName(appGroupName: Constants.appGroupName)
super.broadcastStarted(withSetupInfo: setupInfo)
}
override func broadcastStarted(withSetupInfo setupInfo: [String : NSObject]?) {
super.setAppGroupName(appGroupName: Constants.appGroupName)
super.broadcastStarted(withSetupInfo: setupInfo)
}
}

View File

@@ -33,7 +33,17 @@
</dict>
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string/>
<string></string>
<key>UIAppFonts</key>
<array/>
<key>NSMicrophoneUsageDescription</key>
<string>BigBlueButton needs microphone access to allow you to share your microphone during a meeting.</string>
<key>NSCameraUsageDescription</key>
<string>BigBlueButton needs camera access to allow you to share your camera during a meeting.</string>
<key>UIBackgroundModes</key>
<array>
<string>audio</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
@@ -48,7 +58,5 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>UIAppFonts</key>
<array/>
</dict>
</plist>