Add support for blurring streams

This commit is contained in:
Max Goodman
2020-06-22 13:31:18 -07:00
committed by Max Goodhart
parent 3759b05915
commit e861071599
6 changed files with 108 additions and 34 deletions

View File

@@ -83,6 +83,8 @@ async function main() {
streamWindow.setViews(new Map(msg.views))
} else if (msg.type === 'set-listening-view') {
streamWindow.setListeningView(msg.viewIdx)
} else if (msg.type === 'set-view-blurred') {
streamWindow.setViewBlurred(msg.viewIdx, msg.blurred)
} else if (msg.type === 'set-custom-streams') {
const customIDGen = new StreamIDGenerator(idGen)
clientState.customStreams = customIDGen.process(msg.streams)