repo: janusweb action: commit revision: path_from: revision_from: 4eb5f7447d20f17fff3a5bbd0f2ffb8537cf525b: path_to: revision_to:
commit 4eb5f7447d20f17fff3a5bbd0f2ffb8537cf525b Author: James BaicoianuDate: Sat Apr 16 13:01:08 2016 -0700 Pass VOIP data to remoteplayer objects when available diff --git a/scripts/janusweb.js b/scripts/janusweb.js
--- a/scripts/janusweb.js
+++ b/scripts/janusweb.js
@@ -273,6 +273,10 @@ console.log('new player!', userId);
}
}
+ if (data.position.speaking && data.position.audio) {
+ remote.speak(data.position.audio);
+ }
+
//remote.set('position', movepos, true);
remote.properties.position.fromArray(movepos);
remote.objects.dynamics.updateState();
-----END OF PAGE-----