HMSPeer

CLASS

@objcMembers public class HMSPeer: NSObject

A peer represents all participants connected to a room. Peers can be "local" or "remote"

Properties

peerID

public let peerID: String

name

public var name: String

isLocal

public let isLocal: Bool

role

public var role: HMSRole?

customerUserID

public let customerUserID: String?

customerDescription

public var customerDescription: String?

audioTrack

public var audioTrack: HMSAudioTrack?

videoTrack

public var videoTrack: HMSVideoTrack?

auxiliaryTracks

public var auxiliaryTracks: [HMSTrack]?