mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Don't add clients to the broadcast set until they're authenticated. Note
that actual, real auth is not checked yet.
This commit is contained in:
parent
bff4b7bafe
commit
5cc27a86ad
2 changed files with 6 additions and 3 deletions
|
@ -110,9 +110,11 @@ module.exports = syrup.serial()
|
|||
connState.sentFrameTime = connState.lastFrameTime
|
||||
}
|
||||
|
||||
screenStream.broadcastSet.insert(id, {
|
||||
onStart: vncStartListener
|
||||
, onFrame: vncFrameListener
|
||||
conn.on('authenticated', function() {
|
||||
screenStream.broadcastSet.insert(id, {
|
||||
onStart: vncStartListener
|
||||
, onFrame: vncFrameListener
|
||||
})
|
||||
})
|
||||
|
||||
conn.on('fbupdaterequest', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue