fix(screenshare): size dispatch fails due to wrong scope
This commit is contained in:
parent
f86f6fd756
commit
b40a88cf69
@ -101,9 +101,10 @@ class ScreenshareComponent extends React.Component {
|
||||
this.onSwitched = this.onSwitched.bind(this);
|
||||
this.handleOnVolumeChanged = this.handleOnVolumeChanged.bind(this);
|
||||
this.handleOnMuted = this.handleOnMuted.bind(this);
|
||||
this.dispatchScreenShareSize = this.dispatchScreenShareSize.bind(this);
|
||||
this.debouncedDispatchScreenShareSize = debounce(
|
||||
{ delay: SCREEN_SIZE_DISPATCH_INTERVAL },
|
||||
this.dispatchScreenShareSize
|
||||
this.dispatchScreenShareSize,
|
||||
);
|
||||
this.volume = getVolume();
|
||||
this.mobileHoverSetTimeout = null;
|
||||
|
Loading…
Reference in New Issue
Block a user