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
| Name | Type | Description |
|---|---|---|
track | MediaStreamTrack | MeadiaStreamTrack (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>