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(): View?
Link copied to clipboard
abstract fun getSize(): Size
Link copied to clipboard
Link copied to clipboard
abstract fun isPinned(): Boolean
Link copied to clipboard

Callback when auxiliary stream info is changed

Link copied to clipboard
abstract fun setRenderView(view: View?)

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