peer.signal() should return a promise
Open
feature request
- Dominant language
- JavaScript
- Stars
- 7.8k
- Forks
- 983
- PR merge metrics
- No merged PRs in 30d
Description
Since setting local or remote description is an asynchronous operation, we should probably change `peer.signal()` and maybe `peer.negotiate()` too to become asynchronous and return a `Promise`.
This will help in case of tweaking `RTCRtpSender`s after negotiation to change bitrate as a useful example. It will also match native API more closely.
Thoughts?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.