Skip to main content

Interface: MediaProcessorConnectorInterface

Interface definition for media processor connector instances. This interface is used for the integration for this library with the Vonage SDKs.

Implemented by

Methods

setTrack

setTrack(track): Promise<MediaStreamTrack>

Sets the media stream track instance to be processed.

Parameters

NameTypeDescription
trackMediaStreamTrackMeadiaStreamTrack (audio or video) to be processed.

Returns

Promise<MediaStreamTrack>

New track to be used.


destroy

destroy(): Promise<void>

Stops the media processing being performed.

Returns

Promise<void>