FS-8401 refactor the sinkid function into verto lib

This commit is contained in:
Anthony Minessale committed 2015-11-18 14:43:29 -06:00
1 parent fb8d4a2b99
commit ae05a19edf
6 files changed
+59 -52

No files matched your search

@@ -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);
});
/**