remove duplicate API endpoints.

This commit is contained in:
Miroslav Šedivý 2020-12-28 17:34:51 +01:00
parent eeb82c09b3
commit 67d0c7eb78

View File

@ -221,31 +221,6 @@
Vue.set(this.state.control.scroll, 'sensitivity', value)
}
public setClipboardData(text: string) {
const clipboardData = { text }
this.api.room.clipboardWrite({ clipboardData })
}
public requestControl() {
this.api.room.controlRequest()
}
public releaseControl() {
this.api.room.controlRelease()
}
public takeControl() {
this.api.room.controlTake()
}
public giveControl(memberId: string) {
this.api.room.controlGive({ memberId })
}
public resetControl() {
this.api.room.controlReset()
}
public setScreenSize(width: number, height: number, rate: number) {
//this.api.room.screenConfigurationChange({ screenConfiguration: { width, height, rate } })
this.websocket.send('screen/set', { width, height, rate })