Jump to content
  • 0

Request bitrate paramter in embedd iframe


Amir Hazan
 Share

Question

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...