Agora React Native UI KIT

Agora React Native UI KIT

  • Docs
  • API Reference
  • GitHub

›Interfaces

Introduction

  • Globals
  • Globals

External Modules

  • AgoraView.native
  • RtcEngine.native
  • index
  • types

Classes

  • AgoraView
  • RtcEngine

Enums

  • AgoraViewMode
  • AudioChannelStereo
  • AudioCodecProfile
  • AudioSampleRate
  • VideoCodecProfile

Interfaces

  • AgoraUserInfo
  • AgoraViewProps
  • AudioFrameOption
  • AudioMixingOption
  • AudioRecordingOption
  • BackgroundImage
  • BeautyOption
  • CameraCapturerConfiguration
  • ChannelMediaConfiguration
  • ChannelMediaInfo
  • Color
  • DataStreamOption
  • DefaultVideoStreamOption
  • ImageOption
  • InjectStreamOption
  • LastmileProbeConfig
  • LiveTranscodingOption
  • MixedAudioFrameOption
  • Option
  • PlayEffectOption
  • PositionOption
  • PublishStreamOption
  • PublisherConfig
  • RemoveInjectStreamOption
  • RemovePublishStreamOption
  • Size
  • TranscodingUser
  • VideoEncoderConfig
  • VideoOption
  • VideoStreamOption
  • VoiceDecorator

MixedAudioFrameOption

rn-agora-docs › "types" › MixedAudioFrameOption

Hierarchy

  • MixedAudioFrameOption

Index

Properties

  • sampleRate
  • samplesPerCall

Properties

sampleRate

• sampleRate: number

Defined in types.ts:455

Sets the sample rate (samplesPerSec) returned in the onMixedAudioFrame callback, which can be set as 8000, 16000, 32000, 44100, or 48000 Hz.


samplesPerCall

• samplesPerCall: number

Defined in types.ts:459

Sets the sample points (samples) returned in the onMixedAudioFrame callback. samplesPerCall is usually set as 1024 for stream pushing. samplesPerCall = (int)(samplesPerSec × sampleInterval × numChannels), where sampleInterval ≥ 0.01 in seconds.

← LiveTranscodingOptionOption →
  • Hierarchy
  • Index
    • Properties
  • Properties
    • sampleRate
    • samplesPerCall
Agora React Native UI KIT
Docs
Getting Started (or other categories)Guides (or other categories)API Reference (or other categories)
Community
User ShowcaseStack OverflowProject ChatTwitter
More
BlogGitHubStar