Lots of performance fixes
This commit is contained in:
@@ -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 }
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user