This page contains the following information:
You can designate and create a specific thread for the Calls SDK. For example, the
SendBirdCall instance can call the delegate methods of the
DirectCallDelegate on a custom background thread to keep your main thread running without disruption.
To specify a thread of your choice, call
SendBirdCall.executeOn(queue: YOUR_QUEUE). If a thread to run on isn’t specified, the
SendBirdCall instance will run asynchronously on the
Note: However, because
PushKitis designed to require immediate and synchronous handling of event callbacks, the completion handler of the
SendBirdCallDelegate.didStartRinging(_)method will run synchronously on the thread that you called them. In other words, these two are not allowed to run on the thread you specified in the
Sendbird Calls uses the custom-built
WebRTC framework to provide internet-based communication. The default
WebRTC framework from Google does not have bitcode enabled, so when you try to build it with your bitcode-enabled app, errors will return. However, our custom-built
WebRTC framework called
SendBirdWebRTC is bitcode-enabled and about 1GB in size. If your loaded
SendBirdWebRTC framework is smaller than that, check your
Git Large File Storage settings and download again.
If you don’t plan to use bitcode, you can choose to use bitcode-disabled framework to save development time during the development phase.
SendBirdWebRTC framework has the following architectures:
arm64. To extract the framework which runs on a specific architecture, use the following command in the
lipo WebRTC -extract ARCHITECTURE -o OUTPUT_FILENAME
To remove bitcode from the framework, use the following command in the
xcrun bitcode_strip -r WebRTC -o OUTPUT_FILENAME
If you can’t download the
SendBirdWebRTC framework, use
GoogleWebRTC temporarily but the Calls SDK may not function properly.