mirror of
https://github.com/m1k1o/neko.git
synced 2025-06-24 21:48:10 +02:00
Implicit control gain (#108)
* add client side implicit hosting. * add server side implicit hosting. * update changelog. * allow clipboard & keybaord access.
This commit is contained in:
parent
f08ed0fc28
commit
7d1fa28d88
21 changed files with 125 additions and 38 deletions
|
@ -15,7 +15,7 @@ func (h *MessageHandler) SessionCreated(id string, session types.Session) error
|
|||
// send initialization information
|
||||
if err := session.Send(message.SystemInit{
|
||||
Event: event.SYSTEM_INIT,
|
||||
ImplicitHosting: true,
|
||||
ImplicitHosting: h.webrtc.ImplicitControl(),
|
||||
Locks: h.locked,
|
||||
}); err != nil {
|
||||
h.logger.Warn().Str("id", id).Err(err).Msgf("sending event %s has failed", event.SYSTEM_INIT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue