Skip to content

Commit

Permalink
[doc] daily update 2023-9-23
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Sep 23, 2023
1 parent a73ad95 commit 7b6cbb0
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 38 deletions.
8 changes: 4 additions & 4 deletions lib/src/agora_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ class VideoEncoderConfiguration {
@JsonKey(name: 'frameRate')
final int? frameRate;

/// The encoding bitrate (Kbps) of the video. : (Recommended) Standard bitrate mode. In this mode, the bitrates of the live broadcasting profile is higher than that of the communication profile. : Adaptive bitrate mode In this mode, the bitrates of the live broadcasting profile equals that of the communication profile. If this mode is selected, the video frame rate of live broadcasting scenarios may be lower than the set value.
/// The encoding bitrate (Kbps) of the video. (0): (Recommended) Standard bitrate mode. In this mode, the bitrates of the live broadcasting profile is higher than that of the communication profile. (-1): Adaptive bitrate mode. In this mode, the bitrates of the live broadcasting profile equals that of the communication profile. If this mode is selected, the video frame rate of live broadcasting scenarios may be lower than the set value.
@JsonKey(name: 'bitrate')
final int? bitrate;

Expand Down Expand Up @@ -2654,7 +2654,7 @@ enum LocalAudioStreamError {
@JsonValue(2)
localAudioStreamErrorDeviceNoPermission,

/// 3: (Android and iOS only) The local audio capture device is used. Remind your users to check whether another application occupies the microphone. Local audio capture automatically resumes after the microphone is idle for about five seconds. You can also try to rejoin the channel after the microphone is idle.
/// 3: (Android and iOS only) The local audio capture device is already in use. Remind your users to check whether another application occupies the microphone. Local audio capture automatically resumes after the microphone is idle for about five seconds. You can also try to rejoin the channel after the microphone is idle.
@JsonValue(3)
localAudioStreamErrorDeviceBusy,

Expand Down Expand Up @@ -4198,7 +4198,7 @@ enum ConnectionChangedReasonType {
@JsonValue(13)
connectionChangedClientIpAddressChanged,

/// 14: Timeout for the keep-alive of the connection between the SDK and the Agora edge server. The connection state changes to .
/// 14: Timeout for the keep-alive of the connection between the SDK and the Agora edge server. The SDK tries to reconnect to the server automatically.
@JsonValue(14)
connectionChangedKeepAliveTimeout,

Expand Down Expand Up @@ -4393,7 +4393,7 @@ enum NetworkType {
@JsonValue(5)
networkTypeMobile4g,

/// 6: The network type is mobile 5G.
/// @nodoc
@JsonValue(6)
networkTypeMobile5g,
}
Expand Down
2 changes: 1 addition & 1 deletion lib/src/agora_media_engine.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ abstract class MediaEngine {
/// Ensure that you call this method before joining a channel.
/// When handling the video data returned in the callbacks, pay attention to the changes in the width and height parameters, which may be adapted under the following circumstances:
/// When network conditions deteriorate, the video resolution decreases incrementally.
/// If the user adjusts the video profile, the resolution of the video returned in the callbacks also changes. After registering the raw video observer, you can use the obtained raw video data in various video pre-processing scenarios, such as implementing virtual backgrounds and image enhacement scenarios by yourself, Agora provides some open source sample projects on GitHub for your reference.
/// If the user adjusts the video profile, the resolution of the video returned in the callbacks also changes.
///
/// * [observer] The observer instance. See VideoFrameObserver.
///
Expand Down
Loading

0 comments on commit 7b6cbb0

Please sign in to comment.