From f8d54975c83cf4945700b3bbfaa203ff0630db97 Mon Sep 17 00:00:00 2001 From: Nero-Hu Date: Fri, 21 Jul 2023 07:21:32 +0000 Subject: [PATCH] [AUTO] Generate comments by iris-doc --- src/IAgoraMediaPlayer.ts | 4 ++-- src/IAgoraRtcEngine.ts | 17 ++++++++--------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/IAgoraMediaPlayer.ts b/src/IAgoraMediaPlayer.ts index 11ff046f..e87c278d 100644 --- a/src/IAgoraMediaPlayer.ts +++ b/src/IAgoraMediaPlayer.ts @@ -96,7 +96,7 @@ export abstract class IMediaPlayer { /** * Seeks to a new playback position. * - * fter successfully calling this method, you will receive the onPlayerEvent callback, reporting the result of the seek operation to the new playback position. To play the media file from a specific position, do the following: + * After successfully calling this method, you will receive the onPlayerEvent callback, reporting the result of the seek operation to the new playback position. To play the media file from a specific position, do the following: * Call this method to seek to the position you want to begin playback. * Call the play method to play the media file. * @@ -180,7 +180,7 @@ export abstract class IMediaPlayer { * * Call this method after calling open. * - * @param speed The playback speed. Agora recommends that you limit this value to between 50 and 400, defined as follows: + * @param speed The playback speed. Agora recommends that you limit this value to a range between 50 and 400, which is defined as follows: * 50: Half the original speed. * 100: The original speed. * 400: 4 times the original speed. diff --git a/src/IAgoraRtcEngine.ts b/src/IAgoraRtcEngine.ts index e8418193..c4abb240 100644 --- a/src/IAgoraRtcEngine.ts +++ b/src/IAgoraRtcEngine.ts @@ -2895,7 +2895,6 @@ export abstract class IRtcEngine { * @returns * 0: Success. * < 0: Failure. - * -2: The parameter is invalid. For example, the token is invalid. You need to pass in a valid parameter and join the channel again. * -7: The IRtcEngine object has not been initialized. You need to initialize the IRtcEngine object before calling this method. * -102: The channel name is invalid. You need to pass in a valid channel name and join the channel again. */ @@ -2930,12 +2929,12 @@ export abstract class IRtcEngine { * The 26 uppercase English letters: A to Z. * All numeric characters: 0 to 9. * Space - * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "= ", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," + * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," * * @returns * 0: Success. * < 0: Failure. - * -2: The parameter is invalid. For example, an invalid token or User Account is used. You need to pass in a valid parameter and join the channel again. + * -2: The parameter is invalid. For example, the User Account is empty. You need to pass in a valid parameter and join the channel again. * -7: The IRtcEngine object has not been initialized. You need to initialize the IRtcEngine object before calling this method. * -102: The channel name is invalid. You need to pass in a valid channel name and join the channel again. */ @@ -2975,7 +2974,7 @@ export abstract class IRtcEngine { * All uppercase English letters: A to Z. * All numeric characters: 0 to 9. * Space - * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "= ", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," + * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," * @param uid The user ID. This parameter is used to identify the user in the channel for real-time audio and video interaction. You need to set and manage user IDs yourself, and ensure that each user ID in the same channel is unique. This parameter is a 32-bit unsigned integer. The value range is 1 to 2 32 -1. If the user ID is not assigned (or set to 0), the SDK assigns a random user ID and returns it in the onJoinChannelSuccess callback. Your application must record and maintain the returned user ID, because the SDK does not do so. * @param options The channel media options. See ChannelMediaOptions. * @@ -6199,7 +6198,7 @@ export abstract class IRtcEngine { * The 26 uppercase English letters: A to Z. * All numeric characters: 0 to 9. * Space - * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "= ", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," + * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," * * @returns * 0: Success. @@ -6220,13 +6219,13 @@ export abstract class IRtcEngine { * All uppercase English letters: A to Z. * All numeric characters: 0 to 9. * Space - * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "= ", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," + * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," * @param userAccount The user account. This parameter is used to identify the user in the channel for real-time audio and video engagement. You need to set and manage user accounts yourself and ensure that each user account in the same channel is unique. The maximum length of this parameter is 255 bytes. Ensure that you set this parameter and do not set it as NULL. Supported characters are (89 in total): * The 26 lowercase English letters: a to z. * The 26 uppercase English letters: A to Z. * All numeric characters: 0 to 9. * Space - * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "= ", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," + * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," * @param options The channel media options. See ChannelMediaOptions. * * @returns @@ -6260,13 +6259,13 @@ export abstract class IRtcEngine { * All uppercase English letters: A to Z. * All numeric characters: 0 to 9. * Space - * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "= ", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," + * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," * @param userAccount The user account. This parameter is used to identify the user in the channel for real-time audio and video engagement. You need to set and manage user accounts yourself and ensure that each user account in the same channel is unique. The maximum length of this parameter is 255 bytes. Ensure that you set this parameter and do not set it as NULL. Supported characters are (89 in total): * The 26 lowercase English letters: a to z. * The 26 uppercase English letters: A to Z. * All numeric characters: 0 to 9. * Space - * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "= ", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," + * "!", "#", "$", "%", "&", "(", ")", "+", "-", ":", ";", "<", "=", ".", ">", "?", "@", "[", "]", "^", "_", "{", "}", "|", "~", "," * @param options The channel media options. See ChannelMediaOptions. * * @returns