Is Audio priority in poor network?

  1. Is Audio a priority in the poor network? I hope audio works fine in the poor network.
  2. How to config it? or is it supported by default?

Thanks sincerely.

You have mediasoup API to set priority. Search dtx too.

I have set dtx to true, and I am sure it’s set correctly, cause I log out the value in MediaSoupLibrary.

params.useDtx = true;

the useDtx is used in MediaSoupLibrary, and it’s true.

But in the poor network, I found the video is still switching, and the audio is discontinuous.
I hope the video will be stopped but the audio works fine in poor network.
Is it possible?

Do it within your app. Listen for producer and/or consumer “score” events and pause video if audio score is not good.

Please don’t ask mediasoup to run business logic for you. Others may prefer to prioritize video instead of audio.

1 Like

Yes, it’s a good solution, I’ve tested it, I found the audio score >7, the audio will have good quality.