You may wish to use getStreamSources() to get the list of available camera and microphone sources.