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. | 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-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/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. 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.