Lots of performance fixes

This commit is contained in:
Håvar Aambø Fosstveit
2019-04-03 16:20:17 +02:00
parent 168affbc57
commit e84af94544
16 changed files with 219 additions and 117 deletions
+3 -11
View File
@@ -378,19 +378,11 @@ export const setConsumerTrack = (consumerId, track) =>
};
};
export const setConsumerVolume = (consumerId, volume) =>
export const setPeerVolume = (peerName, volume) =>
{
return {
type : 'SET_CONSUMER_VOLUME',
payload : { consumerId, volume }
};
};
export const setProducerVolume = (producerId, volume) =>
{
return {
type : 'SET_PRODUCER_VOLUME',
payload : { producerId, volume }
type : 'SET_PEER_VOLUME',
payload : { peerName, volume }
};
};