Warning when no camera/microphone is connected?

Ask questions about the JavaScript API here

Warning when no camera/microphone is connected?

Postby enrique-ramirez » Mon Nov 26, 2012 12:43 pm

Is there anyway to warn the user that TokBox could not detect any cameras or microphone (or both) installed? Currently, all we get is a black window and would like to just warn them that they need a camera (however obvious that might be...)
Was this post helpful? (0)
enrique-ramirez
 
Posts: 3
Joined: Tue Oct 23, 2012 2:11 pm
Thumbs Up: 0

Re: Warning when no camera/microphone is connected?

Postby ankur » Mon Nov 26, 2012 3:09 pm

Hey Enrique,

Take a look at the detectDevices method: http://www.tokbox.com/opentok/api/tools ... ectDevices. Sounds like exactly what you need.

-- Ankur
Was this post helpful? (0)
ankur
 
Posts: 315
Joined: Thu Jun 02, 2011 12:37 am
Thumbs Up: 12


Return to JavaScript



Who is online

Users browsing this forum: No registered users and 1 guest

cron