@vonage/media-processor
    Preparing search index...

    Class MediaProcessorConnector

    Helper class implementing the media Media Processor Connector Interface. This class should always be created on the application main thread and it should be used by Vonage SDKs. An example can be found here.

    Implements

    Index

    Constructors

    Methods

    Constructors

      • When running insertable streams on the main MediaProcessorInterface should be instance of MediaProcessor class.
      • When running insertable streams on WebWorker MediaProcessorInterface should be instance of bridge calss created by the user. Example can be found here

      Parameters

      Returns MediaProcessorConnector

    Methods

    • Sets the media stream track instance to be processed.

      Parameters

      • track: MediaStreamTrack

        MediaStreamTrack (audio or video) to be processed.

      Returns Promise<MediaStreamTrack>

      New track to be used.