MediaStream

interface MediaStream

An MediaStream instance represents an auxiliary stream.

Since

3.5.0

Functions

Link copied to clipboard
abstract fun canPin(): Boolean
Link copied to clipboard
abstract fun close()

Close this auxiliary stream. The client can manually invoke this API to close the stream or SDK will automatically close the last opened stream if needed.

Link copied to clipboard
abstract fun getPerson(): CallMembership?
Link copied to clipboard
abstract fun getRenderView(): <Error class: unknown class>?
Link copied to clipboard
abstract fun getSize(): <Error class: unknown class>
Link copied to clipboard
abstract fun getStreamType(): MediaStreamType
Link copied to clipboard
abstract fun isPinned(): Boolean
Link copied to clipboard
abstract fun setOnMediaStreamInfoChanged(listener: (type: MediaStreamChangeEventType, info: MediaStreamChangeEventInfo) -> Unit)

Callback when auxiliary stream info is changed

Link copied to clipboard
abstract fun setRenderView(view: <Error class: unknown class>?)

Sets the rendering view for this auxiliary stream. Pass null to remove the view reference from the SDK.