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

customerUserID

public let customerUserID: String?

isLocal

public let isLocal: Bool

name

public internal(set) var name: String

role

public internal(set) var role: HMSRole?

customerDescription

public internal(set) var customerDescription: String?

audioTrack

public internal(set) var audioTrack: HMSAudioTrack?

videoTrack

public internal(set) var videoTrack: HMSVideoTrack?

auxiliaryTracks

public private(set) var auxiliaryTracks: [HMSTrack]?