...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Flashphoner.getMediaDevices(null, true).then(function (list) { list.audio.forEach(function (device) { ... }); ... }).catch(function (error) { $("#notifyFlash").text("Failed to get media devices"); }); |
...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
$("#switchMicBtn").click(function (){ publishStream.switchMic(); }).prop('disabled', !($('#sendAudio').is(':checked'))); |
...