Anurag Goel1648581704 Posted February 2, 2021 Share Posted February 2, 2021 Hey antmedia, I'm trying to ingest webrtc stream from my browser , but always getting a 360p video in stream info. My bandwidth:'2000' Canvas frame size: 1080*720 FPS: 20 with this setting i'm getting , poor quality video in RTMP player. With some streams, its going to 180p ? Link to comment Share on other sites More sharing options...
0 Tahir Posted February 3, 2021 Share Posted February 3, 2021 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 More sharing options...
0 Anurag Goel1648581704 Posted February 3, 2021 Author Share Posted February 3, 2021 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 => https://community.jitsi.org/t/resolution-problem-and-cpu-problem/35328/22 https://jitsi.org/blog/new-off-stage-layer-suppression-feature/ https://blog.mozilla.org/webrtc/fiddle-week-downscale-video-peerconnection/. Link to comment Share on other sites More sharing options...
0 Tahir Posted February 4, 2021 Share Posted February 4, 2021 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 Link to comment Share on other sites More sharing options...
Question
Anurag Goel1648581704
Hey antmedia,
Link to comment
Share on other sites
Top Posters For This Question
2
2
Popular Days
Feb 3
2
Feb 2
1
Feb 4
1
Top Posters For This Question
Tahir 2 posts
Anurag Goel1648581704 2 posts
Popular Days
Feb 3 2021
2 posts
Feb 2 2021
1 post
Feb 4 2021
1 post
Posted Images
3 answers to this question
Recommended Posts