Group calls: Make renderVideoFrame generate less garbage
This commit is contained in:
parent
fed84be0b6
commit
683823a114
6 changed files with 30 additions and 21 deletions
|
@ -35,7 +35,7 @@ const allRemoteParticipants = times(MAX_PARTICIPANTS).map(index => ({
|
|||
const story = storiesOf('Components/GroupCallOverflowArea', module);
|
||||
|
||||
const defaultProps = {
|
||||
getFrameBuffer: memoize(() => new ArrayBuffer(FRAME_BUFFER_SIZE)),
|
||||
getFrameBuffer: memoize(() => Buffer.alloc(FRAME_BUFFER_SIZE)),
|
||||
getGroupCallVideoFrameSource: fakeGetGroupCallVideoFrameSource,
|
||||
i18n,
|
||||
onParticipantVisibilityChanged: action('onParticipantVisibilityChanged'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue