Function requestScreenShare

  • Requests to start screen sharing.

    Parameters

    Returns Promise<void>

    A promise that resolves when the screen share request is processed.

    Throws an error if there is an issue during the screen share request process.

    await requestScreenShare({
    parameters: {
    socket: socketInstance,
    localUIMode: false,
    targetResolution: 'fhd',
    startShareScreen: startShareScreenFunction,
    // other parameters...
    },
    });