Skip to content

HarmonyCandies/audio_streamer_ohos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

audio_streamer_ohos

pub package GitHub stars GitHub forks GitHub license GitHub issues harmony-candies

Streaming of Pulse-code modulation (PCM) audio from OpenHarmony

The OpenHarmony implementation of the audio_streamer

audio_streamer 在 OpenHarmony 平台上的实现

Usage (使用方法)

dependencies:
  audio_streamer: 4.1.1
  audio_streamer_ohos: 0.0.2

refer to audio_streamer for more details

更多细节请参考 audio_streamer

Permissions (权限)

Add ohos.permission.MICROPHONE to your OpenHarmony project's module.json file.

在 OpenHarmony 项目的 module.json 文件中添加 ohos.permission.MICROPHONE 权限

{
  "module": {
    "requestPermissions": [
      {
        "name": "ohos.permission.MICROPHONE",
        "reason": "Microphone permission is required to record audio."
      }
    ]
  }
}

About

Streaming of Pulse-code modulation (PCM) audio from OpenHarmony with a customizable sampling rate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published