Skip to content

Commit 61c8fbf

Browse files
committed
address acrolinx issues
1 parent 48181e4 commit 61c8fbf

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

articles/communication-services/quickstarts/rooms/includes/rooms-quickstart-call-ios.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ In Xcode, create a new iOS project and select the Single View App template. This
2525
:::image type="content" source="../../voice-video-calling/media/ios/xcode-new-ios-project.png" alt-text="Screenshot showing the New Project window within Xcode.":::
2626

2727
### 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.
2929

3030
### 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.
3232

3333
2. Add the following code to the Podfile and save:
3434

@@ -43,11 +43,11 @@ end
4343

4444
3. Run pod install.
4545

46-
4. Open the .xcworkspace with Xcode.
46+
4. Open the `.xcworkspace` file with Xcode.
4747

4848

4949
### 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.
5151

5252
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.
5353

@@ -74,11 +74,11 @@ The following classes and interfaces handle some of the major features of the Az
7474
| CallClient | The CallClient is the main entry point to the Calling SDK. |
7575
| CallAgent | The CallAgent is used to start and manage calls. |
7676
| 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. |
7878
| RoomCallLocator | The RoomCallLocator is used by CallAgent to join a Room call|
7979

8080
## 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.
8282

8383
```Swift
8484
struct ContentView: View {
@@ -200,9 +200,9 @@ struct HomePageView_Previews: PreviewProvider {
200200
```
201201

202202
### Authenticate the client
203-
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.
204204

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:
206206

207207
```Swift
208208
var userCredential: CommunicationTokenCredential?
@@ -325,7 +325,7 @@ private func leaveRoomCall() {
325325
```
326326

327327
## Broadcasting video
328-
During a Room call we can use `startVideo` or `stopVideo` to start or stop sending `LocalVideoStream` to remote participants.
328+
During a Room call, we can use `startVideo` or `stopVideo` to start or stop sending `LocalVideoStream` to remote participants.
329329

330330
```Swift
331331
func toggleLocalVideo() {
@@ -422,7 +422,7 @@ self.callAgent!.delegate = callHandler
422422
```
423423

424424
## Remote participant management
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 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.
426426

427427
```swift
428428
class Participant: NSObject, RemoteParticipantDelegate, ObservableObject {

0 commit comments

Comments
 (0)