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:
parent
1bc8e15406
commit
920bde9179
2 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue