Skip to main content

How to deal with audio and video related issues in Flexible Classroom?

Why can't I turn on the camera or microphone in the web client?

Check your browser's permission to use your camera and microphone. If the permissions are granted but the camera or microphone still don't work, take the following steps:

  1. Clear your browser cache
  2. Restart the browser
  3. Update your browser

How to adjust the video resolution?

Video resolution in a classroom

Use launchOption.MediaOptions configurations of the web client to adjust the resolution in a classroom:

  • launchOption.MediaOptions.lowStreamCameraEncoderConfiguration: Adjust the small stream resolution.
  • launchOption.mediaOptions.cameraEncoderConfiguration: Adjust the large stream resolution.
  • launchOption.mediaOptions.screenShareEncoderConfiguration: Adjust the screen sharing resolution.

The following sample code illustrates how to modify the resolution of small and large streams:


_24
AgoraEduSDK.launch(appRef.current, {
_24
...launchOption,
_24
recordUrl,
_24
courseWareList,
_24
uiMode: homeStore.theme,
_24
virtualBackgroundImages,
_24
virtualBackgroundVideos,
_24
mediaOptions: {
_24
cameraEncoderConfiguration: {
_24
width: 1280,
_24
height: 720,
_24
frameRate: 30,
_24
bitrate: 1710,
_24
},
_24
lowStreamCameraEncoderConfiguration:{
_24
width: 1280,
_24
height: 720,
_24
frameRate: 30,
_24
bitrate: 1710,
_24
}
_24
},
_24
listener: (evt: AgoraEduClassroomEvent, type) => {
_24
,
_24
});

Recording video resolution

Adjust the resolution of class recordings in the web client by changing the recording state parameters in RESTful API, specifically webRecordConfig:


_13
get recordArgs() {
_13
const { recordUrl, rteEngineConfig, recordRetryTimeout } = EduClassroomConfig.shared;
_13
const args = {
_13
webRecordConfig: {
_13
rootUrl: `${recordUrl}?language=${rteEngineConfig.language}`,
_13
videoBitrate: 3000,
_13
videoWidth:1280,
_13
videoHeight:720,
_13
videoFps:15
_13
},
_13
mode: RecordMode.Web,
_13
retryTimeout: recordRetryTimeout,
_13
};

When using screen sharing, the error 'Please enable screen recording permission first' is reported.

If you encounter this error when you enable screen sharing, it means that you have not granted the screen recording permission.

Taking the macOS system as an example, you can enable the corresponding permission in System Settings > Privacy and Security > Screen Recording.

Are there any specific network bandwidth requirements for live streaming?

  • Teacher's device: Exclusive broadband and uplink speed of at least 10 Mbps and 4 Mbps, respectively.
  • Student's device: Exclusive broadband of at least 4 Mbps.

What should a user do if they get stuck frequently during class, can’t hear the audio clearly, have a white or black screen, or fail to load courseware?

If a user has the above network problems, they should take the following steps to check their network:

  • Restart the router and reconnect to the network.
  • Move the device away from the router, make sure it is separated by a wall.
  • Turn off other programs and disconnect devices that occupy the network speed, such as download programs, online playback programs, cloud disk software, TV network set-top boxes, or others.
  • Switch networks, for example, switch from WiFi to a 4G hotspot and re-enter the classroom.
  • Reboot the device.
  • Turn off VPN or web proxy.

What if the students can't hear the teacher's voice?

The teacher should:

  • Check whether their microphone is turned on.

The students should:

  • Check their network status.
  • Check that their speakers, including the volume mixer, and browsers are muted.
  • Check whether their speaker devices have been selected correctly.
  • Exit and re-enter the classroom or restart the device.

What if the teacher cannot hear the students?

The student should:

  • Check that they are on stage and have their microphone turned on.

The teacher should:

  • Check that their speakers, including the volume mixer, and browser are muted.
  • Check whether their speaker device is selected correctly.
  • Exit and re-enter the classroom or restart the device.
vundefined