RemoteTrackPublication

class RemoteTrackPublication(info: <Error class: unknown class>, track: Track? = null, participant: RemoteParticipant, @Named(value = "dispatcher_io") ioDispatcher: CoroutineDispatcher) : TrackPublication

Constructors

Link copied to clipboard
constructor(info: <Error class: unknown class>, track: Track? = null, participant: RemoteParticipant, @Named(value = "dispatcher_io") ioDispatcher: CoroutineDispatcher)

Properties

Link copied to clipboard
Link copied to clipboard
open val encryptionType: <Error class: unknown class>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var muted: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var sid: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val subscribed: Boolean

Returns true if track is subscribed, and ready for playback

Link copied to clipboard
Link copied to clipboard
open override var track: Track?

Functions

Link copied to clipboard
fun setEnabled(enabled: Boolean)

disable server from sending down data for this track

Link copied to clipboard
fun setSubscribed(subscribed: Boolean)

Subscribe or unsubscribe from this track

Link copied to clipboard

Update the dimensions that the server will use for determining the video quality to send down.

Link copied to clipboard
fun setVideoFps(fps: Int?)

Update the fps that the server will use for determining the video quality to send down.

Link copied to clipboard

For tracks that support simulcasting, directly adjust subscribed quality

Link copied to clipboard
fun updateFromInfo(info: <Error class: unknown class>)