Fires whenever an error occurs when call.js encounters an issue with setting up the call.
The error given will have a code equal to either `MatrixCall.ERR_LOCAL_OFFER_FAILED` or
`MatrixCall.ERR_NO_USER_MEDIA`. `ERR_LOCAL_OFFER_FAILED` is emitted when the local client
fails to create an offer. `ERR_NO_USER_MEDIA` is emitted when the user has denied access
to their audio/video hardware.
Fires whenever an error occurs when call.js encounters an issue with setting up the call.
The error given will have a code equal to either `MatrixCall.ERR_LOCAL_OFFER_FAILED` or `MatrixCall.ERR_NO_USER_MEDIA`. `ERR_LOCAL_OFFER_FAILED` is emitted when the local client fails to create an offer. `ERR_NO_USER_MEDIA` is emitted when the user has denied access to their audio/video hardware.
module:webrtc/call~MatrixCall#"error"
Param
The error raised by MatrixCall.
Example