FS-8401 refactor the sinkid function into verto lib

This commit is contained in:
Anthony Minessale
2015-11-18 14:43:29 -06:00
parent fb8d4a2b99
commit ae05a19edf
6 changed files with 59 additions and 52 deletions

View File

@@ -36,7 +36,10 @@
});
$rootScope.$on('changedSpeaker', function(event, speakerId) {
attachSinkId(myVideo, speakerId);
// This should provide feedback
//setAudioPlaybackDevice(<id>[,<callback>[,<callback arg>]]);
// if callback is set it will be called as callback(<bool success/fail>, <device name>, <arg if you supplied it>)
verto.data.call.setAudioPlaybackDevice(speakerId);
});
/**