RemoteTrackPublication

class RemoteTrackPublication(info: <ERROR CLASS>, track: Track?, participant: RemoteParticipant, @Named(value = dispatcher_ioioDispatcher: CoroutineDispatcher) : TrackPublication

Types

SubscriptionStatus
Link copied to clipboard

Functions

setEnabled
Link copied to clipboard
fun setEnabled(enabled: Boolean)
disable server from sending down data for this trackthis is useful when the participant is off screen, you may disable streaming down their video to reduce bandwidth requirements
setSubscribed
Link copied to clipboard
fun setSubscribed(subscribed: Boolean)
Subscribe or unsubscribe from this track
setVideoDimensions
Link copied to clipboard
fun setVideoDimensions(dimensions: Track.Dimensions)
Update the dimensions that the server will use for determining the video quality to send down.
setVideoFps
Link copied to clipboard
fun setVideoFps(fps: Int?)
Update the fps that the server will use for determining the video quality to send down.
setVideoQuality
Link copied to clipboard
fun setVideoQuality(quality: VideoQuality)
For tracks that support simulcasting, directly adjust subscribed qualityThis indicates the highest quality the client can accept.
updateFromInfo
Link copied to clipboard
fun updateFromInfo(info: <ERROR CLASS>)

Properties

dimensions
Link copied to clipboard
var dimensions: Track.Dimensions? = null
encryptionType
Link copied to clipboard
open val encryptionType: <ERROR CLASS>
isAutoManaged
Link copied to clipboard
val isAutoManaged: Boolean
kind
Link copied to clipboard
var kind: Track.Kind
mimeType
Link copied to clipboard
var mimeType: String? = null
muted
Link copied to clipboard
open override var muted: Boolean
name
Link copied to clipboard
var name: String
participant
Link copied to clipboard
var participant: WeakReference<Participant>
sid
Link copied to clipboard
var sid: String
simulcasted
Link copied to clipboard
var simulcasted: Boolean? = null
source
Link copied to clipboard
var source: Track.Source
subscribed
Link copied to clipboard
open override val subscribed: Boolean
Returns true if track is subscribed, and ready for playback
subscriptionAllowed
Link copied to clipboard
var subscriptionAllowed: Boolean = true
subscriptionStatus
Link copied to clipboard
track
Link copied to clipboard
open override var track: Track?

Sources

SDK source
Link copied to clipboard