Browse Source

Also show the constraints as object in debugger.

pull/129/head
Simon Eisenmann 11 years ago
parent
commit
513ab291f9
  1. 2
      static/js/mediastream/usermedia.js

2
static/js/mediastream/usermedia.js

@ -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;

Loading…
Cancel
Save