diff --git a/en/application-dev/media/Readme-EN.md b/en/application-dev/media/Readme-EN.md index 6949606c73c67956d204680c9ccea34764c0df7a..512b228d028b5cde17ffcb0b6d62bce1e65880e1 100755 --- a/en/application-dev/media/Readme-EN.md +++ b/en/application-dev/media/Readme-EN.md @@ -1,10 +1,25 @@ # Media - Audio + - [Audio Overview](audio-overview.md) + - [Audio Playback Development](audio-playback.md) + - [Audio Playback Development Using AudioRenderer](audio-renderer.md) + - [Audio Management Development](audio-management.md) - [Audio Recording Development](audio-recorder.md) + - [Audio Recorder Development Using AudioCapturer](audio-capturer) + +- Video + + - [Video Playback Development](video-playback.md) + + - [Video Recording Development](video-recorder.md) + +- Sound + + - [SoundManager Development](sound-manager.md) diff --git a/en/application-dev/media/audio-recorder.md b/en/application-dev/media/audio-recorder.md index 7d2e040abcc077e9a428b46936dcc36d4d7b2cf5..8468c7e8151733d29175432d8e2427c8b4e19f3b 100644 --- a/en/application-dev/media/audio-recorder.md +++ b/en/application-dev/media/audio-recorder.md @@ -1,264 +1,133 @@ -# Audio Recording Development +# Audio Recording Development -## When to Use +## When to Use -During audio recording, audio signals are recorded and saved. You can set the sampling rate, number of audio channels, bit rate, encoding format, encapsulation format, and file path for audio recording. +During audio recording, audio signals are captured, encoded, and saved to files. You can specify parameters such as the sampling rate, number of audio channels, encoding format, encapsulation format, and file path for audio recording. -## Available APIs +**Figure 1** Audio recording state transition -**Table 1** APIs for audio recording + - -
- | -- | -
---|---|
- | -- | -
- | -- | -
- | -- | -
- | -- | -
---|---|
audioEncoder?: AudioEncoder - |
-- | -
- | -- | -
- | -Sampling rate for audio encoding. The default value is 48000. - |
-
- | -- | -
format?: AudioOutputFormat - |
-- | -
- | -Audio output path, which starts with file://path or file://fd. - |
-
- | -- | -
---|---|
- | -- | -
- | -- | -
---|---|
- | -- | -
- | -- | -