Skip to content

Commit 902fadb

Browse files
committed
Update iOS mic and camera API
Signed-off-by: Mohtasim <[email protected]>
1 parent 608d05d commit 902fadb

File tree

1 file changed

+4
-4
lines changed
  • articles/communication-services/how-tos/ui-library-sdk/includes/skip-setup-screen

1 file changed

+4
-4
lines changed

articles/communication-services/how-tos/ui-library-sdk/includes/skip-setup-screen/ios.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ callComposite.launch(remoteOptions: remoteOptions, localOptions: localOptions)
2828

2929
### Default Camera and Microphone Options
3030

31-
By default, setup screen gives the user an option to configure the camera and microphone settings before joining a call. When you try to skip the setup screen to join a call, user doesn't have that option unless they join the call already. We're providing more options to set default behavior of the camera and microphone so that developers get more control over default state of camera and microphone. You can pass a boolean value with `startWithCameraOn` and `startWithMicrophoneOn` to turn camera and microphone ON or OFF. These attributes empower developers to have control over camera and microphone controls prior to join a call. Default camera and microphone state control functionality isn't affected if user grants the permission for each of them respectively.
31+
By default, setup screen gives the user an option to configure the camera and microphone settings before joining a call. When you try to skip the setup screen to join a call, user doesn't have that option unless they join the call already. We're providing more options to set default behavior of the camera and microphone so that developers get more control over default state of camera and microphone. You can pass a boolean value with `cameraOn` and `microphoneOn` to turn camera and microphone ON or OFF. These attributes empower developers to have control over camera and microphone controls prior to join a call. Default camera and microphone state control functionality isn't affected if user grants the permission for each of them respectively.
3232

33-
By default, both `startWithCameraOn` and `startWithMicrophoneOn` are set to false. You can use this functionality even with UI Libraries default call join experience. In that case, setup screen camera and microphone are turned ON or OFF according to the configuration that you set.
33+
By default, both `cameraOn` and `microphoneOn` are set to false. You can use this functionality even with UI Libraries default call join experience. In that case, setup screen camera and microphone are turned ON or OFF according to the configuration that you set.
3434

3535
To use camera and microphone default state feature, pass the boolean value with
36-
`startWithCameraOn` and `startWithMicrophoneOn` to `LocalOptions` and inject it to `callComposite.launch`.
36+
`cameraOn` and `microphoneOn` to `LocalOptions` and inject it to `callComposite.launch`.
3737

3838
```swift
39-
let localOptions = LocalOptions(startWithCameraOn: true, startWithMicrophoneOn: true)
39+
let localOptions = LocalOptions(cameraOn: true, microphoneOn: true)
4040

4141
callComposite.launch(remoteOptions: remoteOptions, localOptions: localOptions)
4242
```

0 commit comments

Comments
 (0)