You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/voice-video-calling/includes/custom-teams-endpoint/voice-video-calling-cte-ios.md
+19-15Lines changed: 19 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -295,17 +295,16 @@ The `startCall` method is set as the action that is performed when the Start Cal
295
295
296
296
```Swift
297
297
let startTeamsCallOptions =StartTeamsCallOptions()
298
-
if(sendingVideo)
299
-
{
300
-
if (self.localVideoStream==nil) {
298
+
if sendingVideo {
299
+
ifself.localVideoStream ==nil {
301
300
self.localVideoStream= [LocalVideoStream]()
302
301
}
303
302
let videoOptions =VideoOptions(localVideoStreams: localVideoStream!)
304
303
startTeamsCallOptions.videoOptions= videoOptions
305
304
}
306
-
let callees:[CommunicationIdentifier] = [CommunicationUserIdentifier(self.callee)]
305
+
let callees:[CommunicationIdentifier] = [CommunicationUserIdentifier(self.callee)]
307
306
self.teamsCallAgent?.startCall(participants: callees, options: startTeamsCallOptions) { (call, error) in
0 commit comments