Interface CustomAudioTrackInitConfig

Configurations for the custom audio track. Set these configurations when calling AgoraRTC.createCustomAudioTrack.

Hierarchy

  • CustomAudioTrackInitConfig

Index

Properties

Optional encoderConfig

The audio encoder configurations.

You can set the audio encoder configurations in either of the following ways:

Firefox does not support setting the audio encoding rate.

mediaStreamTrack

mediaStreamTrack: MediaStreamTrack

Your MediaStreamTrack object.