Zoom share screen option not working

Description
I implemented the zoom SDK in iOS app and it’s working completely fine. Now we have requirement of screen sharing option in SDK so I implement the MobileRTCScreenShare in app. Yes I do follow all the steps mention in [this] link, I implement upto topic number 6. I run both main target and screenshare target in my iPhone 6 but there is no screen recording option found in brodcast.

SDK Version
5.2.42037.1112

Meeting SDK Code Snippets

App Delegate

func setupSDK(sdkKey: String, sdkSecret: String) {
        
        let context = MobileRTCSDKInitContext()
        context.domain = "zoom.us"
        context.enableLog = true
        context.appGroupId = "group.com.***"
        
        let sdkInitializedSuccessfully = MobileRTC.shared().initialize(context)
        
        if sdkInitializedSuccessfully == true, let authorizationService = MobileRTC.shared().getAuthService() {
            authorizationService.clientKey = "**************"
            authorizationService.clientSecret = "***************"
            authorizationService.delegate = self
            authorizationService.sdkAuth()
        }
    }

SampleHandler

var screenShareService: MobileRTCScreenShareService?
    
    override init() {
        super.init()
        
        screenShareService = MobileRTCScreenShareService()
        screenShareService?.delegate = self
        screenShareService?.appGroup = "group.com.******"

    }

Start Meeting parameter

let ms = MobileRTC.shared().getMeetingService()
            var param: MobileRTCMeetingStartParam? = nil
            if let ms = ms {
                
                let user = MobileRTCMeetingStartParam4WithoutLoginUser()
                user.meetingNumber = self.Selectedmeeting_id
                //user.userType = MobileRTCUserType_APIUser
                user.userType = .apiUser
                user.userName = Global.user!.empFullName
                user.userID = Global.user!.emp_zoom_user_id
                user.isAppShare = true
                user.zak = self.SelectedmeetingZAK
                
                param = user
                _ = ms.startMeeting(with: param!)
            }

Device (please complete the following information):

  • Device: iPhone 6
  • OS: iOS 12.5

Can you please guide me what’s issue with the implementations.

Hello, Can you please check and help me to resolve issue.

Hey @officialmakkar,

Thanks for using the dev forum!

When you pull up the broadcast menu from control center, you do not see your application listed?

Thanks!
Michael

Hey,

Yes I that’s correct that, I can not find the app listed in Control Center list.

Hey @officialmakkar,

Can you check that you have a valid deployment iOS version set in your broadcast extension?

Thanks!
Michael

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.