Fix initial audio level

This commit is contained in:
Stefan Otto
2020-05-19 15:06:12 +02:00
parent f17deb2589
commit 78bdf80cea
+2 -2
View File
@@ -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':