Skip to content

Commit 30d41b1

Browse files
authored
Update get-started-ios.md startCall code snippet
1 parent 79a0bf9 commit 30d41b1

File tree

1 file changed

+2
-2
lines changed
  • articles/communication-services/quickstarts/voice-video-calling/includes

1 file changed

+2
-2
lines changed

articles/communication-services/quickstarts/voice-video-calling/includes/get-started-ios.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ func startCall()
160160
AVAudioSession.sharedInstance().requestRecordPermission { (granted) in
161161
if granted {
162162
// start call logic
163-
let callees:[CommunicationIdentifier] = [CommunicationUserIdentifier(identifier: self.callee)]
164-
self.call = self.callAgent?.startCall(participants: callees, options: StartCallOptions()) { (call, error) in
163+
let callees:[CommunicationIdentifier] = [CommunicationUserIdentifier(self.callee)]
164+
self.callAgent?.startCall(participants: callees, options: StartCallOptions()) { (call, error) in
165165
if (error == nil) {
166166
self.call = call
167167
} else {

0 commit comments

Comments
 (0)