-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
palava-client/coffee/remote_peer.coffee
Lines 230 to 234 in 14c0436
| # TODO: what is this? | |
| # | |
| # @nodoc | |
| # | |
| oaError: (error) => |
There is a "oaError" with a comment "What is this". oaError stands for offer/answer Error and is used as the failureCallback handler in RTCPeerConnections methods createOffer and createAnswer. This is a deprecated interface for these methods.
Task: use instead the promise based interface
From MDN:
In older code and documentation, you may see a callback-based version of this function. This has been deprecated and its use is strongly discouraged. You should update any existing code to use the Promise-based version of createOffer() instead. The parameters for this form of createOffer() are described below, to aid in updating existing code.
Metadata
Metadata
Assignees
Labels
No labels