我正在我的应用程序中实现 Agora v4。当我尝试发布我的本地曲目时,它成功发生,但随后我收到以下错误:
01:21:17:806 Agora-SDK [DEBUG]: [client-9e8ac] 收到异常消息,代码:2001,消息:AUDIO_INPUT_LEVEL_TOO_LOW,uid:4082215569 index.ts:269 01:21:17:807 Agora-SDK [ DEBUG]: [client-9e8ac] 接收异常消息,code: 2003, msg: SEND_AUDIO_BITRATE_TOO_LOW, uid: 4082215569 index.ts:269 01:21:17:807 Agora-SDK [DEBUG]: [client-9e8ac] 接收异常消息,代码:1003,消息:SEND_VIDEO_BITRATE_TOO_LOW,uid:4082215569
const agoraAccessToken = await actions.auth.getAgoraAccessToken({ requestParams: {channel: props.config.channel}});
console.log(agoraAccessToken);
let uid = await AgoraClient.join(props.config.appId, props.config.channel, agoraAccessToken);
console.log(uid);
let audioTrack = await AgoraRTC.createMicrophoneAudioTrack();
let videoTrack = await AgoraRTC.createCameraVideoTrack();
await AgoraClient.publish([audioTrack, videoTrack]);