文件最后提交记录最后更新时间
!1032 横屏适配 * update code 3 年前
!937 README_zh.md整改 * update README_zh.md 3 年前
!744 翻译完成:全量翻译---JSRecorder * Added JSRecorder readme EN 3 年前
!966 README整改 * update README_zh.md 3 年前
!655 新增JSRecorder * update code * update code * update the code * add new sample JSRecorder 4 年前
!655 新增JSRecorder * update code * update code * update the code * add new sample JSRecorder 4 年前
!855 适配工程901 * 适配901工程 修改readme 修改readme deviceType修改为default 3 年前
README.md

JS Recorder

Introduction

This sample shows how to implement audio recording and playback by calling media-related APIs.

How to Use

  1. Start the sample app, and then touch the Record button at the bottom of the home screen to start recording. During the recording, you can touch the Pause button in the lower right corner to pause the recording, or touch the Stop button to stop the recording and return to the home screen. The recorded audio file is displayed on the home screen.

  2. Touch an audio file to play it. On the audio playback screen, you can touch the corresponding button to pause or resume the playback.

  3. Touch and hold an audio file, and then touch Rename or Delete to rename or delete the file, respectively.

Constraints

  1. This sample can only be run on standard-system devices.

  2. The DevEco Studio version used in this sample must be 3.0.0.900 or later.