Get the available track kinds.
The available track kinds.
Get the media stream.
The media stream.
Subscribe to when the provider of the stream changes.
The callback to invoke when the provider changes.
Subscribe to track kinds of the stream. Passing no track kinds will subscribe to all available track kinds.
Optional
params: MediaSubscriptionParamsThe subscription parameters.
SDKClientErrorCodes.SubscriptionRequestInProgress if the subscription is already in progress.
SDKClientErrorCodes.RemoteMediaStreamInvalidSubscriptionParams if the subscription parameters are invalid.
Unsubscribe from track kinds of the stream. Passing no track kinds will unsubscribe from all subscribed track kinds.
Optional
trackKinds: MediaTrackKind | MediaTrackKind[]The track kinds to unsubscribe from.
Update the subscription parameters.
The subscription parameters.
SDKClientErrorCodes.RemoteMediaStreamInvalidSubscriptionParams if the subscription parameters are invalid.
The remote media stream interface.