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:

mediaStreamTrack

mediaStreamTrack: MediaStreamTrack

Your MediaStreamTrack object.