Jump to content
  • 1

Resolution selection on embedded iframe


Mustafa
 Share

Question

  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Top Posters For This Question

Posted Images

1 answer to this question

Recommended Posts

  • 0
On 4/5/2022 at 6:30 PM, Mustafa said:

how can we add resolution selection in embedded player by the entered adaptive bitrate values? There is hardcoded way but not enough for our technical specification.

51968437384_85d43a9629.jpg

Hi @Mustafa,

How are you!

 

We have this option to force the stream resolution in the webrtc player (player.html)

Here we are calling forceStreamQuality in the webRTC Adaptor.

I think you can call this method to force the resolution 

https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/player.html#L111

https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/player.html#L413

 

I hope it helps.

 

Thank you

Link to comment
Share on other sites

 Share


×
×
  • Create New...