From 3580245a6037330c85dc26817fafdbee395da01e Mon Sep 17 00:00:00 2001 From: Dasun Nirmitha Date: Thu, 20 Jul 2023 20:40:24 +0530 Subject: [PATCH 1/3] 1423 changes. --- .../get-started-sdk/project-implementation/swift.mdx | 5 +---- .../get-started/get-started-sdk/reference/macos.mdx | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/shared/video-sdk/get-started/get-started-sdk/project-implementation/swift.mdx b/shared/video-sdk/get-started/get-started-sdk/project-implementation/swift.mdx index 1c3edb6e0..0763363dd 100644 --- a/shared/video-sdk/get-started/get-started-sdk/project-implementation/swift.mdx +++ b/shared/video-sdk/get-started/get-started-sdk/project-implementation/swift.mdx @@ -23,7 +23,7 @@ To create this UI, in `ViewController`, replace the contents of the file with th ### Handle the system logic -When your launches, ensure that the permissions necessary to insert feature into the are granted. If the permissions are not granted, use the built-in iOS feature to request them; if they are, return `true`. +When your launches, ensure that the permissions necessary to insert feature into the are granted. If the permissions are not granted, use the built-in feature to request them; if they are, return `true`. 1. **Import ** @@ -170,9 +170,6 @@ To implement this logic, take the following steps:
You can enable both cameras using enableMultiCamera.
- -
You can enable both cameras using enableMultiCamera.
-
5. **Join and leave a channel** diff --git a/shared/video-sdk/get-started/get-started-sdk/reference/macos.mdx b/shared/video-sdk/get-started/get-started-sdk/reference/macos.mdx index dde16eeb3..a22a2224d 100644 --- a/shared/video-sdk/get-started/get-started-sdk/reference/macos.mdx +++ b/shared/video-sdk/get-started/get-started-sdk/reference/macos.mdx @@ -1,8 +1,4 @@ - - For a more complete example, see the [open source example project] on GitHub. - -### API reference - -- enableMultiCamera +- For a more complete example, see the open source example project on GitHub. From 128d61f5808ebdfd7f2b1b584adb3757235f5639 Mon Sep 17 00:00:00 2001 From: Dasun Nirmitha Date: Fri, 21 Jul 2023 18:24:02 +0530 Subject: [PATCH 2/3] 1426 changes. --- shared/variables/platform.js | 6 ++++-- .../get-started/get-started-sdk/project-setup/swift.mdx | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/shared/variables/platform.js b/shared/variables/platform.js index 75c4bbaff..71f046872 100644 --- a/shared/variables/platform.js +++ b/shared/variables/platform.js @@ -15,14 +15,16 @@ const data = { NAME: 'iOS', PATH: 'ios', CLIENT: 'app', - PACKAGE_NAME: 'AgoraRtcEngine_iOS' + PACKAGE_NAME: 'AgoraRtcEngine_iOS', + PACKAGE_PRODUCT_NAME: 'RtcBasic' }, 'macos': { NAME: 'macOS', PATH: 'macos', CLIENT: 'app', - PACKAGE_NAME: 'AgoraRtcEngine_macOS' + PACKAGE_NAME: 'AgoraRtcEngine_macOS', + PACKAGE_PRODUCT_NAME: 'RtcBasic' }, 'react-native': { diff --git a/shared/video-sdk/get-started/get-started-sdk/project-setup/swift.mdx b/shared/video-sdk/get-started/get-started-sdk/project-setup/swift.mdx index ad7e41278..76f40cec4 100644 --- a/shared/video-sdk/get-started/get-started-sdk/project-setup/swift.mdx +++ b/shared/video-sdk/get-started/get-started-sdk/project-setup/swift.mdx @@ -47,7 +47,7 @@ You see the available packages. Add the **** package and any other functionality that you want to integrate into your app. For example, _AgoraAINoiseSuppressionExtension_. Choose a version later than 4.0.0. - 1. Click **Add Package**. In the new window, click **Add Package**. + 1. Click **Add Package**. In the new window, make sure to choose **** and click **Add Package**. You see **AgoraRtcKit** in **Package Dependencies** for your project. From 84ece261e21509f866e65f96a51b1678825258b1 Mon Sep 17 00:00:00 2001 From: Dasun Nirmitha Date: Fri, 21 Jul 2023 19:14:56 +0530 Subject: [PATCH 3/3] 1434 changes. --- shared/media-push/develop/_restful-api.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/media-push/develop/_restful-api.mdx b/shared/media-push/develop/_restful-api.mdx index fa52bfdc4..b2cea2c9f 100644 --- a/shared/media-push/develop/_restful-api.mdx +++ b/shared/media-push/develop/_restful-api.mdx @@ -78,7 +78,7 @@ Details for these fields are shown in the following table: | transcodeOptions.videoOptions.layout.RtcStreamView element | None | The video screen of each user on the canvas. See [RtcStreamView](../reference/restful-type-definition#layout) for details. | | transcodeOptions.videoOptions.layout.ImageView element | None | The video image on the canvas, which can be used as a watermark. See [ImageView](../reference/restful-type-definition#layoutimageview) for details. | |transcodeOptions.videoOptions.vertical | (Optional) JSON Object | Vertical layout. This parameter must be set when `layoutType` is 1. See [vertical](../reference/restful-type-definition#vertical) for details.| -| transcodeOptions.videoOptions.defaultPlaceholderImageUrl | (Required) String | The default user screen background image URL address. Supports images in JPG, PNG and GIF formats. This controls what happens when a user in a channel stops publishing their video stream:
  • If this field is set, the user's window switches to this background image.
  • If this field is not set, the user's window initially displays the last frame of the user's video. Once the layout refreshes, the window displays the background color of the canvas.
  • | +| transcodeOptions.videoOptions.defaultPlaceholderImageUrl | (Optional) String | The default user screen background image URL address. Supports images in JPG, PNG and GIF formats. This controls what happens when a user in a channel stops publishing their video stream:
  • If this field is set, the user's window switches to this background image.
  • If this field is not set, the user's window initially displays the last frame of the user's video. Once the layout refreshes, the window displays the background color of the canvas.
  • | | transcodeOptions.videoOptions.bitrate | (Required) Number | The encoding bitrate (Kbps) of the video. The value range is [1,10000]. | |transcodeOptions.videoOptions.gop|(Optional) Number|The GOP of the video. The defalt value is the value of `frameRate` * 2。| | transcodeOptions.videoOptions.frameRate | (Optional) Number | The encoding frame rate (fps) of the video. The value range is [1,30]. The default value is 15. |