Adjusts values based on the provided options and the number of participants.
The options for auto adjustment.
A promise that resolves to an array containing the adjusted values.
import { autoAdjust } from 'mediasfu-reactjs';const options = { n: 10, eventType: 'conference', shareScreenStarted: false, shared: false,};autoAdjust(options) .then(values => { console.log('Adjusted values:', values); }) .catch(error => { console.error('Error adjusting values:', error); }); Copy
import { autoAdjust } from 'mediasfu-reactjs';const options = { n: 10, eventType: 'conference', shareScreenStarted: false, shared: false,};autoAdjust(options) .then(values => { console.log('Adjusted values:', values); }) .catch(error => { console.error('Error adjusting values:', error); });
Adjusts values based on the provided options and the number of participants.