Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 81e1099

Browse files
authored
Doc updates for SDK 3.10 (#407)
* Doc updates for SDK 3.10 * Incorporated review feedback * Updated the release notes
1 parent 36443b7 commit 81e1099

File tree

5 files changed

+28
-18
lines changed

5 files changed

+28
-18
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## 3.10.0-beta.1
2+
3+
### Features
4+
5+
- Introduced the ability to change the [capture mode](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/LocalAudio/setCaptureMode.html) in non-Dolby Voice conferences and use either the [Standard](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/AudioCaptureMode.html#standard) or [Unprocessed](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/AudioCaptureMode.html#unprocessed) mode.
6+
7+
- Introduced a new [voiceFont](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/AudioCaptureOptions/voicefont.html) property to [AudioCaptureOptions](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/AudioCaptureOptions-class.html) that is supported in the [Standard](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/AudioCaptureMode.html#standard) audio capture mode. [Voice fonts](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/AudioCaptureOptions/voicefont.html) allow participants to modify their voices in real time to improve social interaction in entertainment scenarios. For more information about this feature, see the [Using Voice Fonts](https://docs.dolby.io/interactivity/docs/guides-using-voice-fonts) guide.
8+
9+
- Introduced a new [preview](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/LocalAudio/preview.html) service that allows the local participant to test different capture modes and voice fonts before a conference. The service records the participant's audio and plays it back. Before playing the recorded audio, set the [captureMode](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/LocalAudio/setCaptureMode.html) to a preferred setting that you wish to try.
10+
11+
- Introduced a new [updateParticipantInfo](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/SessionService/updateParticipantInfo.html) method that lets participants modify their names and avatars while they are in a conference.
12+
13+
- The SDK now supports receiving two shared screens in one conference.
14+
15+
### Changes
16+
17+
Changed the default value of the audio capture mode in non-Dolby Voice conferences to [Standard](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/AudioCaptureMode.html#standard) with [high](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/NoiseReduction.html#high) noise reduction. This setting optimizes captured audio for speech by aggressively removing non-speech content. If you want to transmit non-stationary background sounds to a conference and create a more natural audio experience, you can set noise reduction to [low](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/NoiseReduction.html#low), which offers a similar experience as the default setting in previous releases. If you wish to transmit non-voice audio to a conference as well and use input device setting without any processing, use the [Unprocessed](https://api-references.dolby.io/comms-sdk-flutter/dolbyio_comms_sdk_flutter/AudioCaptureMode.html#unprocessed) mode.
18+
119
## 3.8.3
220

321
### Bug Fixes

lib/src/sdk_api/audio/audio_preview.dart

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,7 @@ import 'package:dolbyio_comms_sdk_flutter/src/mapper/mapper.dart';
44
import '../../dolbyio_comms_sdk_flutter_platform_interface.dart';
55
import '../../dolbyio_comms_sdk_native_events.dart';
66

7-
/// The AudioPreview allows to test audio settings (voice font, noise reduction, capture mode) before join to conference.
8-
///
9-
/// This feature is available in SDK 3.10 and later.
7+
/// The AudioPreview model allows the local participant to test different capture modes and voice fonts before a conference. The model is supported only in SDK 3.10 and later.
108
class AudioPreview {
119
/// @internal
1210
final _methodChannel = DolbyioCommsSdkFlutterPlatform.createMethodChannel(
@@ -19,22 +17,19 @@ class AudioPreview {
1917
.receiveBroadcastStream();
2018

2119
/// Gets the recording status.
22-
/// Returns RecorderStatus enum
2320
Future<RecorderStatus> status() async {
2421
var status = await _methodChannel.invokeMethod("status");
2522
return Future(() => RecorderStatus.decode(status));
2623
}
2724

2825
/// Gets an audio capture mode for the audio preview.
29-
/// @returns AudioCaptureModeOptions
3026
Future<AudioCaptureOptions> getCaptureMode() async {
3127
var result = await _methodChannel.invokeMethod("getCaptureMode");
3228
return AudioCaptureOptionsMapper.fromMap(result);
3329
}
3430

3531
/// Sets an audio capture mode for the audio preview.
3632
/// [captureMode] - a capture mode to test
37-
/// Returns void
3833
Future<void> setCaptureMode(AudioCaptureOptions captureMode) async {
3934
return await _methodChannel.invokeMethod(
4035
"setCaptureMode", captureMode.toJson());
@@ -46,21 +41,18 @@ class AudioPreview {
4641
return await _methodChannel.invokeMethod("play", {"loop": loop});
4742
}
4843

49-
/// Plays back the recorded audio sample. To test how your audio sounds while using different capture modes and voice fonts,
50-
/// set the captureMode to a preferred setting before using the method.
44+
/// Starts recording an audio sample if no recording is in progress.
5145
/// [duration] - The preferred recording duration, in seconds.
5246
Future<void> record(int duration) async {
5347
return await _methodChannel.invokeMethod("record", {"duration": duration});
5448
}
5549

5650
/// Cancels recording or playing an audio sample.
57-
/// @returns true for success, false when failed
5851
Future<bool> cancel() async {
5952
return await _methodChannel.invokeMethod("cancel");
6053
}
6154

6255
/// Release the internal memory and restart the audio session configuration.
63-
/// Returns void
6456
Future<void> release() async {
6557
return await _methodChannel.invokeMethod("release");
6658
}

lib/src/sdk_api/audio/local_audio.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class LocalAudio {
1414
"local_audio",
1515
);
1616

17-
/// Audio preview module to test participant audio settings.
17+
/// Allows the local participant to test different capture modes and voice fonts before a conference. The method sets a preview recorder that records the participant's audio and plays it back. Before playing the recorded audio, set the [captureMode](#setCaptureMode) to a preferred setting that you wish to try. The method is supported only in SDK 3.10 and later.
1818
final preview = AudioPreview();
1919

2020
/// Sets the local participant's audio capture mode in Dolby Voice conferences.

lib/src/sdk_api/models/audio.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
/// The AudioCaptureModeOptions model allows selecting the preferred audio capture mode and the preferred noise reduction level.
1+
/// The AudioCaptureModeOptions model allows selecting the preferred audio capture mode and additional options for the preferred mode.
22
///
33
/// This model is available in SDK 3.7 and later.
44
///
55
/// {@category Models}
66
class AudioCaptureOptions {
7-
/// The preferred audio mode that allows enabling and disabling audio processing.
7+
/// The preferred audio mode for capturing the local participant's audio.
88
AudioCaptureMode mode;
99

10-
/// The preferred level of noise reduction.
10+
/// The preferred level of noise reduction. This property is supported only in the Standard mode.
1111
NoiseReduction? noiseReduction;
1212

13-
/// The preferred voice modification effect that you can use to change the local participant's voice in real time.
13+
/// The preferred voice modification effect that you can use to change the local participant's voice in real time. This property is supported only in the Standard mode in SDK 3.10 and later.
1414
VoiceFont voiceFont;
1515

1616
AudioCaptureOptions(this.mode, this.noiseReduction,
@@ -29,7 +29,7 @@ class AudioCaptureOptions {
2929
///
3030
/// {@category Models}
3131
enum AudioCaptureMode {
32-
/// Optimizes captured audio for speech by aggressively removing non-speech content, such as background noise. This mode additionally enhances speech perceptibility to create a conversation-focused conference environment.
32+
/// The default mode aimed at enhancing speech to create a conversation-focused conference environment. This mode optimizes captured audio for speech by aggressively removing non-speech content, such as background noise.
3333
standard('standard'),
3434

3535
/// Disables audio processing to allow transmitting non-voice audio to a conference.
@@ -58,7 +58,7 @@ enum AudioCaptureMode {
5858
///
5959
/// {@category Models}
6060
enum NoiseReduction {
61-
/// Removes all background sounds to improve voice quality. Use this mode if you want to send only voice to a conference.
61+
/// The default level that removes all background sounds to improve voice quality. Use this mode if you want to send only voice to a conference.
6262
high('high'),
6363

6464
/// Removes stationary background sounds, such as the sound of a computer fan, air conditioning, or microphone hum, from audio transmitted to a conference. In this mode, non-stationary sounds are transmitted to give participants full context of other participants' environments and create a more realistic audio experience. If you want to send only voice to a conference, use the [High](#high) level.

lib/src/sdk_api/session_service.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class SessionService {
2323
return Future.value();
2424
}
2525

26-
/// Update actual participant name and avatarUrl
26+
/// Updates the local participant's name and avatar URL. This method is supported in SDK 3.10 and later.
2727
Future<void> updateParticipantInfo(String name, String avatarUrl) async {
2828
var params = {"name": name, "avatarUrl": avatarUrl};
2929
await _methodChannel.invokeMethod<void>('updateParticipantInfo', params);

0 commit comments

Comments
 (0)