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/rooms/includes/rooms-quickstart-call-ios.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,10 +25,10 @@ In Xcode, create a new iOS project and select the Single View App template. This
25
25
:::image type="content" source="../../voice-video-calling/media/ios/xcode-new-ios-project.png" alt-text="Screenshot showing the New Project window within Xcode.":::
26
26
27
27
### Installing CocoaPods
28
-
Please use this guide to [install CocoaPods](https://guides.cocoapods.org/using/getting-started.html) on your Mac.
28
+
Use this guide to [install CocoaPods](https://guides.cocoapods.org/using/getting-started.html) on your Mac.
29
29
30
30
### Install the package and dependencies with CocoaPods
31
-
1. To create a Podfile for your application open the terminal and navigate to the project folder and run pod init.
31
+
1. To create a Podfile for your application, open the terminal and navigate to the project folder and run pod init.
32
32
33
33
2. Add the following code to the Podfile and save:
34
34
@@ -43,11 +43,11 @@ end
43
43
44
44
3. Run pod install.
45
45
46
-
4. Open the .xcworkspace with Xcode.
46
+
4. Open the `.xcworkspace` file with Xcode.
47
47
48
48
49
49
### Request access to the microphone and camera
50
-
To access the device's microphone and camera, you need to update your app's Information Property List with an `NSMicrophoneUsageDescription` and `NSCameraUsageDescription`. You set the associated value to a string that will be included in the dialog the system uses to request access from the user.
50
+
To access the device's microphone and camera, you need to update your app's Information Property List with `NSMicrophoneUsageDescription` and `NSCameraUsageDescription`. Set the associated value to a string that will be included in the dialog the system uses to request access from the user.
51
51
52
52
Right-click the `Info.plist` entry of the project tree and select Open As > Source Code. Add the following lines the top level `<dict>` section, and then save the file.
53
53
@@ -74,11 +74,11 @@ The following classes and interfaces handle some of the major features of the Az
74
74
| CallClient | The CallClient is the main entry point to the Calling SDK. |
75
75
| CallAgent | The CallAgent is used to start and manage calls. |
76
76
| CommunicationTokenCredential | The CommunicationTokenCredential is used as the token credential to instantiate the CallAgent. |
77
-
| CommunicationIdentifier | The CommunicationIdentifier is used to represent the identity of the user which can be one of the following: CommunicationUserIdentifier/PhoneNumberIdentifier/CallingApplication. |
77
+
| CommunicationIdentifier | The CommunicationIdentifier is used to represent the identity of the user, and can have one of the following values: CommunicationUserIdentifier/PhoneNumberIdentifier/CallingApplication. |
78
78
| RoomCallLocator | The RoomCallLocator is used by CallAgent to join a Room call|
79
79
80
80
## Create the Call Agent
81
-
Replace the implementation of the ContentView struct with some simple UI controls that enable a user to initiate and end a call. We will attach business logic to these controls in this quickstart.
81
+
Replace the implementation of the ContentView struct with some simple UI controls that enable a user to initiate and end a call. We'll attach business logic to these controls in this quickstart.
In order to initialize a CallAgent instance we need a User Access Token which will enable us to join Room calls.
203
+
In order to initialize a CallAgent instance, we need a User Access Token which will enable us to join Room calls.
204
204
205
-
Once you have a token, Add the following code to the `onAppear` callback in `ContentView.swift`. You will need to replace `<USER ACCESS TOKEN>` with a valid user access token for your resource:
205
+
Once you have a token, add the following code to the `onAppear` callback in `ContentView.swift`. You need to replace `<USER ACCESS TOKEN>` with a valid user access token for your resource:
All remote participants are represented by the `RemoteParticipant` type and are available through the `remoteParticipants` collection on a call instance. We can implement a `Participant` class to manage the updates on remote video streams of remote participants amongst other things.
425
+
All remote participants are represented by the `RemoteParticipant` type and are available through the `remoteParticipants` collection on a call instance. We can implement a `Participant` class to manage the updates on remote video streams of remote participants among other things.
0 commit comments