Azure Communication Calling iOS SDK version 2.0.0
Azure Communication Calling iOS SDK version 2.0.0
.
Breaking Changes
Call.addParticipant
API is now a throwable type when trying to add a participant that is already to the call or when a participant is added to an unconnected call.didChangeRecordingState
anddidChangeTranscriptionState
are moved out ofCallDelegate
intoRecordingFeatureDelegate
and intoTranscriptionFeatureDelegate
.
More documentation on extensions and the breaking change can be found here.
Features Added
- Added support for specifying emergency country code when creating
CallAgent
by setting the propertyemergencyCountryCode
inCallAgentOptions
. - Join Teams calls either using a Teams meeting link or using Teams meeting coordinates.
Recording
andTranscription
features are decoupled fromCall
object and now can only be used via extensions.
Usage example:
let recordingFeature = self.call!.feature(RecordingFeature.self)
recordingFeature.delegate = self.callObserver
Bugs fixed
- Fix for when camera preview is rotating even if the app supports only portrait mode. GH#338
- Fix for the event
didUpdateRemoteParticipant
event not firing sometimes whencall.AddParticipant
API is called by the application. - Fix when the camera switch button is pressed several times, the preview of the client's camera can be blocked.
- Fix for crash when signing out and signing in repeatedly.
IncomingCall.accept
will now throw errors when trying to accept a terminated call or if already in an active call.