We have found out the possible cause of the crash, but we did not reproduce the crash under our sample. We hope you can provide a video to help confirm the problem so as to fix it in the next version.
Thanks for the reply. I have added the bridge header then i can access the MobileRTCScreenShare class.
Now I have following issues while using MobileRTCScreenShare.
I have added the Broadcast extension and it’s created the SampleHandler class but the problem is SampleHandler class not getting called:frowning:. While I tap on the start broadcasting. I don’t why it’s not called ?
Also one more thing, I have disabled the Screen recording option in my device. I can not see the following views while I start sharing the page. Those are,
We are able to reproduce this issue on your MobileRTCSample app on iOS 13.x simulators and devices. You need to setup a webinar, not a regular meeting. This webinar should contain at least two panelists. In the sample app disable a drive mode as disableDriveMode(true) of MobileRTCMeetingSettings. Then run the app and join to the webinar as an attendee. When one of the panelists turns on the video - the app crashes.
Thanks for the reply and pardon the late response. Regarding the screen share not working issue, I have forwarded to the engineering team for further investigation. Will update you shortly.
Regarding the question:
Our SDK does not have any interfaces to detect that. Maybe it needs to use some system interfaces to check that.
Will get back to you shortly regarding your other questions. Thanks!
did you find anything regarding above clarifications ? it’s urgent for me to complete the share screen process. So please share your thoughts as soon as possible.
Thanks for waiting and pardon the late response. The recent emerging demand for support is squeezing our bandwidth and causing a little bit of delay. Sorry about that.
You will also need to implement the callback onClickShareScreen so that the screen sharing picker will be able to pick the broadcasting session when the broadcasting starts.
Here is a code snippet that I got the extension working(Based on the code you were sharing):
class SampleHandler: RPBroadcastSampleHandler, MobileRTCScreenShareServiceDelegate {
private var screenShareService:MobileRTCScreenShareService?;
override init() {
super.init();
let service = MobileRTCScreenShareService();
self.screenShareService = service;
self.screenShareService?.appGroup = "group ID";
self.screenShareService?.delegate = self;
}
deinit {
screenShareService = nil;
}
override func broadcastStarted(withSetupInfo setupInfo: [String : NSObject]?) {
// User has requested to start the broadcast. Setup info from the UI extension can be supplied but optional.
self.screenShareService?.broadcastStarted(withSetupInfo: setupInfo);
}
override func broadcastPaused() {
// User has requested to pause the broadcast. Samples will stop being delivered.
self.screenShareService?.broadcastPaused();
}
override func broadcastResumed() {
// User has requested to resume the broadcast. Samples delivery will resume.
self.screenShareService?.broadcastResumed();
}
override func broadcastFinished() {
// User has requested to finish the broadcast.
self.screenShareService?.broadcastFinished();
}
override func processSampleBuffer(_ sampleBuffer: CMSampleBuffer, with sampleBufferType: RPSampleBufferType) {
self.screenShareService?.processSampleBuffer(sampleBuffer, with: sampleBufferType);
}
func mobileRTCScreenShareServiceFinishBroadcastWithError(_ error: Error!) {
self.finishBroadcastWithError(error);
}
}
Note: Please watch the video and my audio comments.
Another thing that I need to tell you, Once I started the broadcast, all active members of current meeting can see my shared screen but the problem is below,
Meeting is going on
I have started to share my screen
Now I just tap the iPhone home button and app went background (But meeting is going on)
Now the share screen process not working, Once I back to app foreground mode and share screen process working good
So, seems share screen process not working in while app went background
@carson.zoom Please check this and share your thoughts. it’s really urgent one for me to implement.
Thanks for the info and the video. It looks like the broadcast extension is working(that’s great!) and the issue you are facing is the breakpoints and the logs are not being printed in the console. This is because the broadcast extension is running as a separate process so you will need some configurations in Xcode in order to debug the extension. Below are some contents that I found online that could be helpful:
Glad to hear that it is working. Regarding your questions:
No, this view cannot be hidden.
The remote control is only available on iPad(iPhone’s screen is too small for remote control) and it could only be used under the following circumstances: The desktop client starts sharing, and then give the remote control permission to the iPad user. The iPad user cannot start remote control by itself. Thus it is a passive feature in iOS SDK. In Zoom default UI, you do not need to do anything, if the desktop client provides the remote control permission to the iPad user, the remote control will automatically start.
Our client still reporting one issue in zoom call. We already discussed about that issue. The issue was
→ Our client said, we need to fix this issue. The exact problem is video not get enabled while device is locked state. So we need to start the video by manually.
So could you please tell me is there any alternate way to fix this issue ? and also please answer the following questions:
is there possible to start/enable video manually ?
is there possible to refresh/reload the meeting page ?
is there possible to reset video section ? (like you already have the resetaudio function)
Thanks for the reply. Are you facing issues when integrating Zoom SDK with CallKit? Or just the video is not enabled while the screen is locked?
I believe the video is turned off when the screen is locked is expected behavior. This is to protect privacy. The behavior that I am seeing right now is:
When I am in the meeting with video on, then lock the screen, the video is off
When I unlocked the screen, the video turns back on again automatically.
So I don’t think it is possible to force the video to be on when the screen is locked. If I misunderstood your questions, could you provide some steps of how could I reproduce this with our demo so that we could better help?