Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
RTCRtpSender send should return a promise #469
Not sure if it is duplicated, but just in cae.
Currently, RTCRtpSender.send() returns void and error is launched if
According to the promise best practices (https://www.w3.org/2001/tag/doc/promises-guide), about when to use promises this should be changed to a promise instead of an error handler
@murillo128 ;) not in this bug -- but nice try! I know that was a semi-serious-joking but let's keep the issues separate.
FYI - I am personally in favour of it, but I would prefer a
UPDATE: To be clear, a method like
I don't want to restart the trending topic :) but getting the full parameters once
rtpSender.setParameters(params); var fullParams = rtpSender.getParameters(); // Signal them if needed rtpSender.send();
Don't reply please! :)