add screencast to connection state.

This commit is contained in:
Miroslav Šedivý
2021-07-14 14:30:55 +02:00
parent 15a8b3908e
commit 28e6c25f4b
4 changed files with 5 additions and 1 deletions

View File

@ -76,6 +76,7 @@ export class NekoMessages extends EventEmitter<NekoEvents> {
this._log.debug('EVENT.SYSTEM_INIT')
Vue.set(this._state, 'session_id', conf.session_id)
Vue.set(this._state.control, 'implicit_hosting', conf.implicit_hosting)
Vue.set(this._state.connection, 'screencast', conf.screencast_enabled)
Vue.set(this._state.connection.webrtc, 'videos', conf.webrtc.videos)
for (const id in conf.sessions) {