Skip to content

Commit

Permalink
align with cn FAQs
Browse files Browse the repository at this point in the history
  • Loading branch information
hussain-khalid committed Jun 25, 2024
1 parent 3e72a94 commit 501c8e7
Show file tree
Hide file tree
Showing 31 changed files with 360 additions and 61 deletions.
10 changes: 5 additions & 5 deletions account-and-billing/billing_free.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,28 +19,28 @@ Agora gives each <Link to="{{Global.AGORA_CONSOLE_URL}}">Agora Account</Link> 10
8. Interactive live streaming standard HD video minutes
9. Voice call, video call, and interactive live streaming premimum HD video minutes
10. On-premise recording HD video minutes
11. Cloud recording HD video minutes
11. Single-stream and mixed-stream recording audio transcoding minutes
12. Web page recording HD video minutes
13. Cloud Proxy HD video minutes
14. Voice call, video call, and interactive live streaming premimum HD+ video minutes
15. On-premise recording HD+ video minutes
16. Cloud recording HD+ video minutes
16. Single-stream and composite-stream recording video HD+ minutes
17. Web page recording HD+ video minutes
18. Cloud Proxy HD+ video minutes
19. Interactive live streaming standard Full HD video minutes
20. Voice call, video call, and interactive live streaming premimum Full HD video minutes
21. On-premise recording Full HD video minutes
22. Cloud recording Full HD video minutes
22. Single-stream and composite recording video full HD minutes
23. Web page recording Full HD video minutes
24. Cloud Proxy Full HD video minutes
25. Interactive live streaming standard 2K video minutes
26. Voice call, video call, and interactive live streaming premimum 2K video minutes
27. On-premise recording 2K video minutes
28. Cloud recording 2K video minutes
28. Single-stream and mixed-stream 2K video recording minutes
29. Interactive live streaming standard 2K+ video minutes
30. Voice call, video call, and interactive live streaming premimum 2K+ video minutes
31. On-premise recording 2K+ video minutes
32. Cloud recording 2K+ video minutes
32. Single-stream and mixed-stream recording for 2K+ video minutes
33. Cloud proxy 2K+ video minutes

If your total service minutes do not exceed 10,000 minutes, the service is free of charge. After the 10,000 free-of-charge minutes are fully deducted, Agora charges you for the additional service minutes.
Expand Down
22 changes: 21 additions & 1 deletion account-and-billing/console_account_faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,24 @@ Users that do not fall into the above two categories can use the Agora services

**Solution**

You do not need ID authentication if your phone number or IP address is not from mainland China. If you need ID authenticationn for getting an invoice, ensure that your phone number or IP address is from mainland China.
If your verified phone number or network IP address does not belong to mainland China, real-name authentication is not required. If you wish to submit real-name authentication information, please modify your phone number or network IP address in the console to one belonging to mainland China.

## How to Switch from the International Console Account to the Domestic Console Account?

**Issue description**

Due to business requirements or operational errors, some users need to switch their console account from the [International version](https://console.agora.io) to the [Domestic version](https://console.shengwang.cn/), but cannot find the switch settings in the console.

**Reason**

To comply with data security and compliance requirements, Agora's international and domestic console versions have data isolation, so users cannot switch account regions on their own.

**Solution**

- If there is minimal project data in your account, Agora recommends registering a new domestic version account. See [Account Registration](/doc/console/general/quickstart#register-account) for details.
- If there is significant project data in your account, contact sales at [[email protected]](mailto:[email protected]) for assistance with account switching and data migration.

<Admonition type="danger" title="Warning">
- Agora only supports switching from an International console account to a Domestic console account; reverse operations are not supported.
- Once you switch your International console account to a Domestic console account, this operation cannot be undone. Therefore, please proceed with caution.
</Admonition>
50 changes: 50 additions & 0 deletions data/help-contents.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,45 @@ export const data = {
],
popular: false,
},
rtm_token_expiration: {
platforms: ['all-platforms', 'web'],
products: [
'all-products',
'signaling',
],
popular: false,
},
rtm2_rtc_integration_issue: {
platforms: ['all-platforms', 'ios', 'android'],
products: [
'all-products',
'video-calling',
'interactive-live-streaming',
'broadcast-streaming',
'signaling',
],
popular: false,
},
flutter_pod: {
platforms: ['all-platforms', 'flutter'],
products: [
'all-products',
'video-calling',
'voice-calling',
'interactive-live-streaming',
],
popular: false,
},
ios_sign: {
platforms: ['all-platforms', 'ios'],
products: [
'all-products',
'video-calling',
'voice-calling',
'interactive-live-streaming',
],
popular: false,
},
video_profile: {
platforms: [
'all-platforms',
Expand Down Expand Up @@ -736,6 +775,16 @@ export const data = {
},
},
'quality-issues': {
ios_background: {
platforms: [ 'all-platforms', 'ios'],
products: ['all-products', 'video-calling', 'interactive-live-streaming'],
popular: false,
},
flutter_debug: {
platforms: [ 'all-platforms', 'flutter'],
products: ['all-products', 'video-calling', 'interactive-live-streaming'],
popular: false,
},
web_screen_share_issues: {
platforms: ['all-platforms', 'web'],
products: ['all-products', 'video-calling', 'interactive-live-streaming'],
Expand Down Expand Up @@ -775,6 +824,7 @@ export const data = {
platforms: [
'all-platforms',
'web',

'android',
'ios',
'macos',
Expand Down
Binary file added data/images/ios-backgroundmodes.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions integration-issues/android_audio_routing_change.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ products: []

export const toc = [{}];

## Issue description

When using an app integrated with an Agora SDK (an "SDK app") for real-time communication on an Android device, if you switch to another app that has audio input and/or output and return to the SDK app, the audio routing of the SDK changes.

For example, during a video call in the SDK app through the speaker, you answer a voice call with the earpiece in another app. When you end the voice call and return to the SDK app, the video call's audio is now routed to the earpiece.
Expand Down
2 changes: 0 additions & 2 deletions integration-issues/android_startaudiomixing_permission.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ products: []

export const toc = [{}];

## Issue description

Cannot play an mp3, mp4, or any other music format using `startAudioMixing` or `playEffect` on Android 9.

## Reason
Expand Down
2 changes: 0 additions & 2 deletions integration-issues/call_duration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ platforms: []
products: []
---

## Introduction

During a call, a user may join and leave a Video SDK channel for multiple times, and the user's call duration is the actual time when the user is in the channel. You can use the the Agora Video SDK or Agora Analytics to get a user's call duration.

## Implementation
Expand Down
2 changes: 0 additions & 2 deletions integration-issues/empty_deviceId.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ products: []

export const toc = [{}];

## Problem

On Chrome 81, the `deviceId` field that the `getDevices` method returns is empty.

<div class="alert info">You may also encounter this issue on Safari and Firefox.</div>
Expand Down
26 changes: 26 additions & 0 deletions integration-issues/flutter_pod.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
title: 'How to handle errors when running the `pod install` command?'
sidebar_position: 1016
platforms: []
products: []
---

export const toc = [{}];

When running `pod install`, the following error occurs:

```shell
[!] Invalid Podfile file: /xxx/ios/Flutter/Generated.xcconfig must exist. If you’re running pod install manually, make sure flutter pub get is executed first.
```

## Reason

The error message indicates that the `Generated.xcconfig` file is missing. This file is necessary for building the Flutter app on iOS devices. If you do not run `flutter pub get` to generate this file before executing `pod install`, you will encounter this error.

## Solution

To resolve this issue, follow these steps:

1. Open the terminal and navigate to the root directory of your Flutter project.
1. Run the `flutter pub get` command to fetch and update the project's dependencies. This command will also generate the `Generated.xcconfig` file and other necessary configuration files.
1. Re-run pod install.
4 changes: 0 additions & 4 deletions integration-issues/host_set_role.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ platforms: []
products: []
---



## Introduction

In a live interactive streaming channel, the host can invite an audience to take on the role of co-host, or change role back to audience.

You can implement this function by combining the following features:
Expand Down
23 changes: 23 additions & 0 deletions integration-issues/ios_sign.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: 'How to resolve Xcode project compilation failure due to missing development team configuration information?'
sidebar_position: 952
platforms: []
products: []
---

export const toc = [{}];

When deploying the Xcode project to an iOS device for debugging, the following error occurs:

```shell
Error: Signing for "Runner" requires a development team. Select a development team in the Signing & Capabilities editor. (in target 'Runner' from project 'Runner')
```
## Reason
On the iOS platform, all apps require a developer signature certified by Apple to verify the source and security of the app. If Xcode fails to detect a valid development team or certificate, it will not be able to complete the compilation and deployment of the app.
## Solution
Refer to [Apple's official instructions](https://help.apple.com/xcode/mac/current/#/dev60b6fbbc7) to configure a valid development team and certificate.
2 changes: 0 additions & 2 deletions integration-issues/music_pause.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ products: []

export const toc = [{}];

## Issue description

The `startAudioMixing` method is called to play a music file on an Android device. During the playback process, the system's built-in phone software is used to answer or make a call. After hanging up the phone, the music file does not automatically resume playback.

## Reason
Expand Down
2 changes: 0 additions & 2 deletions integration-issues/no_stereo_audio.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ products: []

export const toc = [{}];

## Issue description

When calling `startAudioMixing` or `playEffect` to play a stereo file, the user might encounter the issue of not being able to hear audio in stereo.

## Reason
Expand Down
78 changes: 78 additions & 0 deletions integration-issues/rtm2_rtc_integration_issue.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
---
title: 'How do I handle issues when integrating the Signaling SDK and RTC SDK simultaneously?'
sidebar_position: 664
platforms: []
products: []
---

export const toc = [{}];

When integrating Signaling SDK version 2.2.0 and above with RTC SDK version 4.3.0 and above, the following errors may appear in the IDE:

- **Android:**
```java
com.android.builder.merge.DuplicateRelativeFileException: More than one file was found with OS independent path 'lib/x86/libaosl.so'
```

- **IOS:**

```objc
Unexpected duplicate tasks
Multiple commands produce <your_app_build_path>/Contents/Frameworks/aosl.framework/Versions/A'
```
## Reason
Both Signaling SDK versions 2.2.0 and above and RTC SDK versions 4.3.0 and above use the same library:
- **Android SDK**: `lib/x86/libaosl.so`
- **IOS SDK**: `libs/aosl.xcframework`
As a result, the IDE detects multiple files with the same path during the build process, leading to errors.
## Solution
### Android SDK
Depending on your integration method, follow the corresponding solution below:
- **Using CDN**
1. Manually delete the following files in the SDK package:
- `lib/x86/libaosl.so`
- `lib/x86_64/libaosl.so`
- `lib/armeabi-v7a/libaosl.so`
- `lib/arm64-v8a/libaosl.so`
2. Rebuild the project.
- **Using Maven**
1. Add the `packagingOptions` node to the `android` node in the `build.gradle` file to specify that the first matching file is preferred during the build process:
```groovy
android {
// ...
packagingOptions {
pickFirst 'lib/x86/libaosl.so'
pickFirst 'lib/x86_64/libaosl.so'
pickFirst 'lib/armeabi-v7a/libaosl.so'
pickFirst 'lib/arm64-v8a/libaosl.so'
}
}
```
2. After the Gradle file synchronization is complete, rebuild the project.
### IOS SDK
Depending on your integration method, follow the corresponding solution below:
- **Using CDN**
1. Manually delete the `libs/aosl.xcframework` file in the SDK package.
2. Rebuild the project.
- **Using CocoaPods**
1. After successfully running the `pod install` command to install the SDK, manually delete the `aosl.xcframework` file in the project's `/Pods/AgoraRtm` path.
2. Rebuild the project.






Loading

0 comments on commit 501c8e7

Please sign in to comment.