mirror of
https://github.com/streamwall/streamwall.git
synced 2026-01-27 07:22:50 -05:00
Add ability to set stream audio playing in background
This commit is contained in:
@@ -29,6 +29,9 @@ function Overlay({ config, views, streams }) {
|
||||
const isListening = viewState.matches(
|
||||
'displaying.running.audio.listening',
|
||||
)
|
||||
const isBackgroundListening = viewState.matches(
|
||||
'displaying.running.audio.background',
|
||||
)
|
||||
const isBlurred = viewState.matches('displaying.running.video.blurred')
|
||||
const isLoading = viewState.matches('displaying.loading')
|
||||
return (
|
||||
@@ -51,7 +54,7 @@ function Overlay({ config, views, streams }) {
|
||||
</>
|
||||
)}
|
||||
</span>
|
||||
{isListening && <SoundIcon />}
|
||||
{(isListening || isBackgroundListening) && <SoundIcon />}
|
||||
</StreamTitle>
|
||||
)}
|
||||
{isLoading && <LoadingSpinner />}
|
||||
|
||||
Reference in New Issue
Block a user