[webrtc-extensions] RTCRtpSender.getCapabilities() may not return correct information in sync (#49)

alvestrand has just created a new issue for https://github.com/w3c/webrtc-extensions:

== RTCRtpSender.getCapabilities() may not return correct information in sync ==
Chrome has found a [case](https://bugs.chromium.org/p/chromium/issues/detail?id=1047994) where getCapabilities() is going to have issues with delivering correct capability information about codec availability synchronously.

The two immediately obvious workarounds are:

- Fail the call with a LATER error code (but since it's a static method, there's no place to fire a "later has arrived" event at)
- Change the signature to async

The latter would be preferable from an architectural viewpoint, but has some compatibility issues.


Please view or discuss this issue at https://github.com/w3c/webrtc-extensions/issues/49 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 27 August 2020 14:23:55 UTC