Fix initial audio level
parent
f17deb2589
commit
78bdf80cea
|
|
@ -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':
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue