webrtc

testing#

Get some y4m files from here to mock your web cameras.

Run Chrome with the following options:

  • --use-fake-device-for-media-stream
  • --use-fake-ui-for-media-stream
  • --use-file-for-fake-video-capture=<filename>

More info

blank device labels#

Response from navigator.mediaDevices.enumerateDevices in firefox sometimes shows blank labels, even when permission has been granted.

via MediaDeviceInfo.label docs:

Only available during active MediaStream use, or when persistent permissions have been granted.

If streams are stopped, labels will be blank, even if permission was temporarily granted.

See working example (in firefox) here.

bluetooth microphone add/remove broken#

In Chrome, when a bluetooth microphone is default and selected, perform the following:

  1. Bluetooth microphone selected - works
  2. Remove bluetooth microphone
  3. New default is now system microphone - works
  4. Connect bluetooth microhpone
  5. New default is now bluetooth microphone - broken - system microphone still enabled

See more: