Jump to content
  • 0

how to control bandwith with screen share


robertosamayoa
 Share

Question

10 answers to this question

Recommended Posts

  • 0

hi, the issue i have is bad quality video streaming game using screen share .

i tested changing aspect ratio on media constants but didnt work, seems screen share has automatic limitation on bandwith and fps used.

Long time triyng to find a solution for these and seems impossible, any suggestion?

Link to comment
Share on other sites

  • 0
19 hours ago, WebinarKit said:

I'm having similar issues with very poor screen sharing/canvas sharing quality. Not sure how to fix this.

Hi,

How are you?

Are you using adaptive steaming on the server side?

If you can write a stepwise reproduce case for me then it'll be very helpful.

Thank you

Link to comment
Share on other sites

  • 0

Hi @Mohit, no I'm not using adapting streaming.

We have a origin/edge cluster setup in AWS (c5.xlarge instances). Using the javascript sdk, from 2 different tabs I'm joining the room. With 1 of the participants, I call:
WebRTCAdaptor.setCustomVideoSource(publisher_stream_id, canvas.captureStream(FRAME_RATE));

When creating the WebRTCAdaptor object, I'm setting bandwidth to 6000 but I have tried various settings including 'unlimited'. The canvas I'm trying to stream is 1280x720. Frame rate is 10. 

In many side by side comparisons between Ant Media and my old streaming solution, Ant Media is showing intermittent quality drops where the video gets very blurry. But on our old solution, the quality remains stable and text in slides/screen sharing is fully readable.

Please see the attached photo of what the screen/canvas share looks like when viewing the stream.

image.thumb.png.b95ab7a3f25f743a21075c933be1695a.png

Link to comment
Share on other sites

  • 0
On 2/10/2023 at 3:06 AM, WebinarKit said:

Hi @Mohit, no I'm not using adapting streaming.

We have a origin/edge cluster setup in AWS (c5.xlarge instances). Using the javascript sdk, from 2 different tabs I'm joining the room. With 1 of the participants, I call:
WebRTCAdaptor.setCustomVideoSource(publisher_stream_id, canvas.captureStream(FRAME_RATE));

When creating the WebRTCAdaptor object, I'm setting bandwidth to 6000 but I have tried various settings including 'unlimited'. The canvas I'm trying to stream is 1280x720. Frame rate is 10. 

In many side by side comparisons between Ant Media and my old streaming solution, Ant Media is showing intermittent quality drops where the video gets very blurry. But on our old solution, the quality remains stable and text in slides/screen sharing is fully readable.

Please see the attached photo of what the screen/canvas share looks like when viewing the stream.

image.thumb.png.b95ab7a3f25f743a21075c933be1695a.png

Hi @WebinarKit,

Thank you.

Let me check this again on my side to see if  could reproduce the issue.

 

Link to comment
Share on other sites

  • 0

Hi @Mohit, I was able to fix the quality right away by enabling adaptive streaming, and setting a higher resolution and bitrate. 

What is the default bitrate and resolution when adaptive streaming is turned off? Is there a way to change the default?

Link to comment
Share on other sites

  • 0

Well just a. Side note... even without abr the key is to use higher resolution and accordingly a bitrate. The stream will automatically be constrained within the bitrate before it is transmitted.

The more details and motion your expect, the more bandwidth you are going to need to be a let o express all that.

Edited by Connessione
Link to comment
Share on other sites

 Share

×
×
  • Create New...