Fix initial audio level
This commit is contained in:
1 parent
f17deb2589
commit
78bdf80cea
1 file changed
+2
-2
@@ -10,13 +10,13 @@ const peerVolumes = (state = initialState, action) =>
|
|||||||
peerId
|
peerId
|
||||||
} = action.payload;
|
} = action.payload;
|
||||||
|
|
||||||
return { ...state, [peerId]: 0 };
|
return { ...state, [peerId]: -100 };
|
||||||
}
|
}
|
||||||
case 'ADD_PEER':
|
case 'ADD_PEER':
|
||||||
{
|
{
|
||||||
const { peer } = action.payload;
|
const { peer } = action.payload;
|
||||||
|
|
||||||
return { ...state, [peer.id]: 0 };
|
return { ...state, [peer.id]: -100 };
|
||||||
}
|
}
|
||||||
|
|
||||||
case 'REMOVE_PEER':
|
case 'REMOVE_PEER':
|
||||||
|
|||||||
Reference in new issue
Block a user