Skip to content

[Feature request]: Polling Bandwith Estimation #2161

@geoffviola

Description

@geoffviola

Please confirm you have already done the following

  • I have searched the repository for related/existing feature requests
  • I have all the details the issue requires

Describe the feature

I see that there are two APIs rtcPeerConnectionGetMetrics and peerConnectionOnSenderBandwidthEstimation. rtcPeerConnectionGetMetrics is synchronous and peerConnectionOnSenderBandwidthEstimation is asynchronous. Is it possible to get all the bandwidth estimation out of rtcPeerConnectionGetMetrics. I'm not sure if RTC_STATS_TYPE_TRANSPORT would be helpful, but it isn't implemented.

Use Case

It would be nice to use only rtcPeerConnectionGetMetrics instead of a mix of both synchronous and asynchronous calls.

Proposed Solution

Have all data available via a synchronous call like rtcPeerConnectionGetMetrics.

Other Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions