feat(remotecontrol): Implement requesting remote control permissions

This commit is contained in:
hristoterezov
2017-01-23 15:29:25 -06:00
parent 0f33e59e4d
commit 846fb9abb0
7 changed files with 221 additions and 60 deletions
+2 -2
View File
@@ -56,8 +56,8 @@ function initCommands() {
"video-hangup": () => APP.conference.hangup(),
"email": APP.conference.changeLocalEmail,
"avatar-url": APP.conference.changeLocalAvatarUrl,
"remote-control-supported": isSupported =>
APP.remoteControl.onRemoteControlSupported(isSupported)
"remote-control-event": event =>
APP.remoteControl.onRemoteControlAPIEvent(event)
};
Object.keys(commands).forEach(function (key) {
postis.listen(key, args => commands[key](...args));