mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-15 15:17:50 +00:00
fix(settings) Fixes missing previews after device permissions are granted.
This commit is contained in:
@@ -194,6 +194,13 @@ class VideoDeviceSelection extends AbstractDialogTab<IProps, IState> {
|
||||
!== this.props.selectedVideoInputId) {
|
||||
this._createVideoInputTrack(this.props.selectedVideoInputId);
|
||||
}
|
||||
|
||||
if (!prevProps.hasVideoPermission && this.props.hasVideoPermission) {
|
||||
this._createVideoInputTrack(this.props.selectedVideoInputId)
|
||||
?.then(() => {
|
||||
this.props.dispatch(getAvailableDevices());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user