Jump to content
  • 0

AMS 2.2 low video quality


Anurag Goel1648581704
 Share

Question

  • Answers 3
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

3 answers to this question

Recommended Posts

  • 0

Hİ,

Are you using our sample player and publisher? The newest version of our samples show the frame width and height at the bottom, can you try that and share the results. Also, there is a forceStreamQuality method for forcing the player but if you can't send high quality videos it doesn't matter to force player to play higher quality.

Thanks

 

Link to comment
Share on other sites

  • 0
Hey,
We have build our custom solution using AMS 2.2 EE.
I have tried you publisher too, where are getting decent width, height etc.
But when same stream is received at AMS, its getting downscale by browser(chrome). to 360p or 180p.
Can you clarify on this ? and our should i force RTMP player (push) to again upscale this 480p , 720p etc.

I think its browser's webRTC client force this.i think some similar problems are referred on these threads =>

Link to comment
Share on other sites

  • 0

Hi,

WebRTC is not build for the high quality video priority, it is built for keeping ultra low latency intact. For some reason if high quality videos can't be transferred, webrtc will scale down the resolution, it is true. However for you it will not be the case if your network is good enough. For the mediaConstraints under our index.html page ( /usr/local/webapps/LiveApp/index.html ) change it like;

var mediaConstraints = {
video : {
width: { ideal: 1280 },
height: { ideal: 720 }
} ,
audio : true
};

Webrtc will give you 720p video, you can see the source quality an sent quality from index.html like;

On-going is also 1280x720 as you can see since my network is good enough to achieve  this bitrate and quality.

Thank you

 

 

1235527505_Screenshotfrom2021-02-0413-58-28.thumb.png.dfb0607bb190383d96f396f35d90a17d.png

Link to comment
Share on other sites

 Share

×
×
  • Create New...