JavaScripture
Contribute via GitHub Feedback

JavaScript Navigator : Object

Available through window.navigator.

Instance Methods

getUserMedia(constraints : Object, successCallback : Function, errorCallback : Function) : undefined
constraints : {
videoObjectMust be either a Boolean or MediaTrackConstraint
audioObjectMust be either a Boolean or MediaTrackConstraint
}
successCallback(stream : MediaStream) : undefined
errorCallback(error : MediaStreamError) : undefined