-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Screen Sharing problem on iOS below 16 #170
Comments
Sorry we've never tried that. Why would you not use the broadcast extension model? |
In our business scenario we don’t want to share entire iOS screen but only our app’s screen. This can’t be done using broadcast extension. |
Right. Sorry, I don't know the answer to your question then. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've try to use
RPScreenRecorder startCaptureWithHandler:completionHandler:
in order to record screen and send the frames using app groups container, like described in guide: https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-ios-sdk/#setting-up-the-socket-connection but without using broadcast extension and recording only my application screen (not the whole device's screen).On iOS 16 this solution is working perfectly, but on iOS 15 got an error when using
startCapture
method incompletionHandler
:ReplayKit error: Code=-5833 "Failed to start due to audio/video capture failure"
This error only occurs when there is active JitsiMeetView on the screen.
Can you help me?
part of my code:
RPScreenRecorder.shared().startCapture { sampleBuffer, sampleBufferType, error in if let error { return } guard sampleBufferType == .video else { return } sampleHandler.processSampleBuffer(sampleBuffer, with: sampleBufferType) } completionHandler: { [weak self] error in if let error { } else { sampleHandler.broadcastStarted() } }
The text was updated successfully, but these errors were encountered: