Sorry Ankur, I only just saw your reply.
I'm reproducing the error again - this is the output when I follow your instructions to turn on debugging info in the console:
[DEBUG] opentok: OpenTok JavaScript library v1.1.1 TB.min.js:36
[DEBUG] opentok: Release notes:
http://www.tokbox.com/opentok/api/tools ... Notes.html TB.min.js:36
[DEBUG] opentok: Known issues:
http://www.tokbox.com/opentok/api/tools ... nownIssues TB.min.js:36
[DEBUG] opentok: TB.setLogLevel(4) TB.min.js:36
undefined
[DEBUG] opentok: TB.resize TB.min.js:36
[DEBUG] opentok: TB.deviceAccessHandler: accessAllowed TB.min.js:36
[DEBUG] opentok: TB.dispatchEvent(accessAllowed)
Not many clues there, unfortunately. However, I noticed a couple things that may help:
-- This seems to happen when the browser has been open for some time. Restarting Chrome solves the problem temporarily.
-- Disabling the Pepper plugin solves the problem.
-- If I call the recorder's startRecording() method in javascript (rather than clicking the record button in the UI), I get this error:
"Error: Error calling method on NPObject.
at aq.startRecording (
https://swww.tokbox.com/v1.1/js/TB.min.js:36:24870)
at <anonymous>:2:54
at Object.InjectedScript._evaluateOn (<anonymous>:444:39)
at Object.InjectedScript._evaluateAndWrap (<anonymous>:403:52)
at Object.InjectedScript.evaluate (<anonymous>:339:21)"