MediaSFU Angular
    Preparing search index...

    Class ProducerClosed

    ProducerClosed

    Service to manage the closing of a producer, including resizing video elements and updating consumer transports.

    producerClosed Closes a specific producer by its ID, adjusts any associated video elements, and updates the list of consumer transports.

    Options for closing the specified producer.

    Unique ID for the producer to close.

    Parameters to configure the producer closure and related updates.

    A promise that resolves when the producer has been closed and relevant updates have been made.

    await producerClosedService.producerClosed({
    remoteProducerId: 'producer123',
    parameters: {
    consumerTransports: currentTransports,
    screenId: 'screen123',
    updateConsumerTransports: updateTransportList,
    closeAndResize: closeAndResizeFunction,
    getUpdatedAllParams: getUpdatedParamsFunction,
    }
    });
    Index

    Constructors

    Methods

    Constructors

    Methods