1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-08-03 15:57:01 +00:00

Receivers: Fixed protocol v3 volume field in play message

This commit is contained in:
Michael Hollister 2025-06-11 18:46:15 -05:00
parent 1bc8e15406
commit 920bde9179
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ function onPlayerLoad(value: PlayMessage) {
player.setPlaybackRate(value.speed);
playerCtrlStateUpdate(PlayerControlEvent.SetPlaybackRate);
}
if (value.volume) {
if (value.volume !== null && value.volume >= 0) {
volumeChangeHandler(value.volume);
}
else {