Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc] daily update 2024-5-13 #1764

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions lib/src/agora_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@ extension VideoMirrorModeTypeExt on VideoMirrorModeType {
}
}

/// The bit mask that indicates the device codec capability.
/// The bit mask of the codec type.
@JsonEnum(alwaysCreate: true)
enum CodecCapMask {
/// (0): The device does not support encoding or decoding.
Expand Down Expand Up @@ -1782,7 +1782,7 @@ class CodecCapLevels {
Map<String, dynamic> toJson() => _$CodecCapLevelsToJson(this);
}

/// The codec capability of the device.
/// The codec capability of the SDK.
@JsonSerializable(explicitToJson: true, includeIfNull: false)
class CodecCapInfo {
/// @nodoc
Expand All @@ -1792,11 +1792,11 @@ class CodecCapInfo {
@JsonKey(name: 'codecType')
final VideoCodecType? codecType;

/// The bit mask of the codec type. See CodecCapMask.
/// Bit mask of the codec types in SDK. See CodecCapMask.
@JsonKey(name: 'codecCapMask')
final int? codecCapMask;

/// The level of the codec capability. See CodecCapLevels.
/// Codec capability of the SDK. See CodecCapLevels.
@JsonKey(name: 'codecLevels')
final CodecCapLevels? codecLevels;

Expand Down Expand Up @@ -1859,7 +1859,7 @@ class VideoEncoderConfiguration {
@JsonKey(name: 'frameRate')
final int? frameRate;

/// The encoding bitrate (Kbps) of the video. This parameter does not need to be set; keeping the default value standardBitrate is sufficient. The SDK automatically matches the most suitable bitrate based on the video resolution and frame rate you have set. For the correspondence between video resolution, frame rate, and bitrate, please refer to. standardBitrate (0): (Recommended) Standard bitrate mode. compatibleBitrate (-1): Adaptive bitrate mode. In general, Agora suggests that you do not use this value.
/// The encoding bitrate (Kbps) of the video. This parameter does not need to be set; keeping the default value standardBitrate is sufficient. The SDK automatically matches the most suitable bitrate based on the video resolution and frame rate you have set. For the correspondence between video resolution and frame rate, see. standardBitrate (0): (Recommended) Standard bitrate mode. compatibleBitrate (-1): Adaptive bitrate mode. In general, Agora suggests that you do not use this value.
@JsonKey(name: 'bitrate')
final int? bitrate;

Expand Down
4 changes: 2 additions & 2 deletions lib/src/agora_media_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1317,12 +1317,12 @@ class AudioFrameObserver extends AudioFrameObserverBase {
onEarMonitoringAudioFrame: onEarMonitoringAudioFrame,
);

/// Retrieves the audio frame of a specified user before mixing.
/// Retrieves the audio frame before mixing of subscribed remote users.
///
/// Due to framework limitations, this callback does not support sending processed audio data back to the SDK.
///
/// * [channelId] The channel ID.
/// * [uid] The user ID of the specified user.
/// * [uid] The ID of subscribed remote users.
/// * [audioFrame] The raw audio data. See AudioFrame.
final void Function(String channelId, int uid, AudioFrame audioFrame)?
onPlaybackAudioFrameBeforeMixing;
Expand Down
Loading
Loading