You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From what I can tell the right approach would be something like this:
const f = function(one, ...arguments) {}
which retains the mandatory argument but gives us access to the optional ones, without modifying the signature. Can you give that a try in the PR?
This probably happens in a number of places...
I wonder if there is more here... the "legacy" createOffer stuff might be affected as well, did you test that?
I didn't have the chance to test this, but probably will have the same problem for every function in Safari is using arguments, or caller/callee, while using strict. So, I could open a new issue and a PR fixing the others as well.
Please read first!
Please use discuss-webrtc for general technical discussions and questions.
Note: If the checkboxes above are not checked (which you do after the issue is posted), the issue will be closed.
Versions affected
Browser name including version (e.g. Chrome 64.0.3282.119)
Safari Version: 13.0.5 and all 13.x.x versions
adapter.js (e.g. 6.1.0)
Version 7.5.0
Description
When trying to use the
RTCPeerConnection.addTrack(track)
method, I am receiving this errorSteps to reproduce
Expected results
No errors
Actual results
TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.
The text was updated successfully, but these errors were encountered: