`replaceTrack` should return a Promise
Open
feature request
- Dominant language
- JavaScript
- Stars
- 7.8k
- Forks
- 983
- PR merge metrics
- No merged PRs in 30d
Description
According to the specs, `sender.replaceTrack` [should return a Promise](https://developer.mozilla.org/en-US/docs/Web/API/RTCRtpSender/replaceTrack) which will resolve when track replacement has finished.
`SimplePeer`, on the contrary, returns `void` which makes it harder to await track replacement completion.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.