Class
RemoteTrackPublication
@objc
public class RemoteTrackPublication: TrackPublication
Relationships
Superclass
TrackPublication
Properties
subscriptionAllowed
public var subscriptionAllowed: Bool
enabled
public var enabled: Bool
muted
override public var muted: Bool
subscribed
public override var subscribed: Bool
subscriptionState
public var subscriptionState: SubscriptionState
Methods
set(subscribed:)
@discardableResult
public func set(subscribed newValue: Bool) -> Promise<Void>
Subscribe or unsubscribe from this track.
set(enabled:)
@discardableResult
public func set(enabled newValue: Bool) -> Promise<Void>
Enable or disable server from sending down data for this track.
This is useful when the participant is off screen, you may disable streaming down their video to reduce bandwidth requirements.
set(preferredFPS:)
@discardableResult
public func set(preferredFPS newValue: UInt) -> Promise<Void>
Set preferred video FPS for this track.