|
|
@ -105,7 +105,7 @@ define(['jquery', 'underscore', 'audiocontext', 'webrtc.adapter'], function($, _ |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
try { |
|
|
|
console.log('Requesting access to local media with mediaConstraints:\n' + |
|
|
|
console.log('Requesting access to local media with mediaConstraints:\n' + |
|
|
|
' \'' + JSON.stringify(mediaConstraints) + '\''); |
|
|
|
' \'' + JSON.stringify(mediaConstraints) + '\'', mediaConstraints); |
|
|
|
getUserMedia(mediaConstraints, _.bind(this.onUserMediaSuccess, this), _.bind(this.onUserMediaError, this)); |
|
|
|
getUserMedia(mediaConstraints, _.bind(this.onUserMediaSuccess, this), _.bind(this.onUserMediaError, this)); |
|
|
|
this.started = true; |
|
|
|
this.started = true; |
|
|
|
return true; |
|
|
|
return true; |
|
|
|