如果可以的话,我们不能早点听会议。
使用的代码段是这个
client.addEventListener('callStatus', evt => {
if (!call || call.callId === evt.call.callId) {
output(`callStatus event received. reason: ${evt.reason}, state: ${evt.call.state}`);
call = evt.call;
convList.disabled = !call.isRemote && call.isEstablished;
enableVideo.disabled = !(!call.isRemote && call.isEstablished);
enableScreenShare.disabled = !(!call.isRemote && call.isEstablished);
enableRecording.disabled = !(!call.isRemote && call.isEstablished);
// Set local video stream
localVideo.src = call.localVideoUrl || '';
// Enable video checkbox
if (call.isEstablished) {
//remoteAudio.src = call.remoteAudioUrl.substring(5);
remoteAudio.src = call.remoteAudioUrl;
// Set remote video streams (up to two in this example)
if (call.participants && call.participants.length > 0) {
remoteVideo1.src = call.participants[0].videoUrl;
}
if (call.participants && call.participants.length > 1) {
remoteVideo2.src = call.participants[1].videoUrl;
}
} else {
remoteAudio.src = '';
remoteVideo1.src = '';
remoteVideo2.src = '';
}
}
});
我们需要知道自从上个月以来有什么变化吗