mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:13:31 +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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user