fix(iframe_api): toggleScreenSharing command
This commit is contained in:
parent
dcf2d64067
commit
dc43135980
|
@ -50,7 +50,8 @@ function initCommands() {
|
||||||
"toggle-film-strip": APP.UI.toggleFilmStrip,
|
"toggle-film-strip": APP.UI.toggleFilmStrip,
|
||||||
"toggle-chat": APP.UI.toggleChat,
|
"toggle-chat": APP.UI.toggleChat,
|
||||||
"toggle-contact-list": APP.UI.toggleContactList,
|
"toggle-contact-list": APP.UI.toggleContactList,
|
||||||
"toggle-share-screen": APP.conference.toggleScreenSharing,
|
"toggle-share-screen":
|
||||||
|
APP.conference.toggleScreenSharing.bind(APP.conference),
|
||||||
"video-hangup": () => APP.conference.hangup()
|
"video-hangup": () => APP.conference.hangup()
|
||||||
};
|
};
|
||||||
Object.keys(commands).forEach(function (key) {
|
Object.keys(commands).forEach(function (key) {
|
||||||
|
|
Loading…
Reference in New Issue