fix(logging) Remove logs that are very chatty.
The receiver video constraints that are actually sent to the bridge are logged in LJM and need not be logged in the application.
This commit is contained in:
parent
28904e18f8
commit
d66f23ca4a
|
@ -82,7 +82,6 @@ const _updateLastN = debounce(({ dispatch, getState }) => {
|
|||
lastNSelected = 1;
|
||||
}
|
||||
|
||||
logger.info(`Setting last N to: ${lastNSelected}`);
|
||||
dispatch(setLastN(lastNSelected));
|
||||
}, 1000); /* Don't send this more often than once a second. */
|
||||
|
||||
|
|
|
@ -31,14 +31,12 @@ import { LocalVideoMenuTriggerButton, RemoteVideoMenuTriggerButton } from '../..
|
|||
import { setVolume } from '../../actions.web';
|
||||
import {
|
||||
DISPLAY_MODE_TO_CLASS_NAME,
|
||||
DISPLAY_MODE_TO_STRING,
|
||||
DISPLAY_VIDEO,
|
||||
DISPLAY_VIDEO_WITH_NAME,
|
||||
VIDEO_TEST_EVENTS,
|
||||
SHOW_TOOLBAR_CONTEXT_MENU_AFTER
|
||||
} from '../../constants';
|
||||
import { isVideoPlayable, computeDisplayMode } from '../../functions';
|
||||
import logger from '../../logger';
|
||||
|
||||
const JitsiTrackEvents = JitsiMeetJS.events.track;
|
||||
|
||||
|
@ -333,11 +331,8 @@ class Thumbnail extends Component<Props, State> {
|
|||
*/
|
||||
_onDisplayModeChanged() {
|
||||
const input = Thumbnail.getDisplayModeInput(this.props, this.state);
|
||||
const displayModeString = DISPLAY_MODE_TO_STRING[this.state.displayMode];
|
||||
const id = this.props._participant?.id;
|
||||
|
||||
this._maybeSendScreenSharingIssueEvents(input);
|
||||
logger.debug(`Displaying ${displayModeString} for ${id}, data: [${JSON.stringify(input)}]`);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -229,7 +229,6 @@ function _updateReceiverVideoConstraints({ getState }) {
|
|||
}
|
||||
}
|
||||
|
||||
logger.info(`Setting receiver video constraints to ${JSON.stringify(receiverConstraints)}`);
|
||||
try {
|
||||
conference.setReceiverConstraints(receiverConstraints);
|
||||
} catch (error) {
|
||||
|
|
Loading…
Reference in New Issue