mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-04-26 03:10:29 +02:00
Create messagechan for proxy clients.
This commit is contained in:
parent
2b02a2f929
commit
b8b46264c1
|
@ -139,6 +139,7 @@ func (c *Client) SetConn(conn *websocket.Conn, remoteAddress string) {
|
|||
c.conn = conn
|
||||
c.addr = remoteAddress
|
||||
c.closeChan = make(chan bool, 1)
|
||||
c.messageChan = make(chan *bytes.Buffer, 16)
|
||||
c.OnLookupCountry = func(client *Client) string { return unknownCountry }
|
||||
c.OnClosed = func(client *Client) {}
|
||||
c.OnMessageReceived = func(client *Client, data []byte) {}
|
||||
|
|
Loading…
Reference in a new issue