Jump to content
  • 0

Request bitrate paramter in embedd iframe

Amir Hazan


2 answers to this question

Recommended Posts

  • 0
On 4/4/2022 at 1:14 PM, Mohit said:

Hi @Amir Hazan,
How are you!

Let me check on this and I will write back to you.

Thank you.

Hi @Amir Hazan
If you see the webrtc player player.html, it shows the stream stats.

The updated_stats callback provides the bitrate information .

So after the playback has started, you can call the enableStats method as here https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/player.html#L365

and after it has been enabled, the SDK will send the updated_stats callback https://github.com/ant-media/StreamApp/blob/master/src/main/webapp/player.html#L424

I hope it helps.


Thank you

  • Like 1
Link to comment
Share on other sites


  • Create New...