NavigatorUserMediaSuccessCallback object

This callback is invoked when there is an error or if the user denies permission to their local media device such as webcam or headset.

Syntax


function permissionError(stream) {
   ...
}

object.errorCallback = permissionError;

Members

The NavigatorUserMediaSuccessCallback object has these types of members:

Properties

The NavigatorUserMediaSuccessCallback object has these properties.

PropertyAccess typeDescription

error

Read-only

The MediaStreamError describing the error that triggered the event.

 

 

 

Show: