Package live.hms.video.sdk.models
Class HMSLocalPeer
-
- All Implemented Interfaces:
public final class HMSLocalPeer extends HMSPeer
-
-
Field Summary
Fields Modifier and Type Field Description private final HMSLocalAudioTrackaudioTrackprivate final HMSLocalVideoTrackvideoTrackprivate final List<HMSTrack>auxiliaryTracksprivate final HMSRolehmsRoleprivate final Stringnameprivate final Stringmetadataprivate final HMSNetworkQualitynetworkQualityprivate final LongjoinedAtprivate final BooleanisHandRaisedprivate final StringpeerIDprivate final StringcustomerUserIDprivate final BooleanisLocalprivate final HMSPeerTypetype
-
Method Summary
Modifier and Type Method Description HMSLocalAudioTrackgetAudioTrack()This contains the audio track of this peer HMSLocalVideoTrackgetVideoTrack()This contains the video track of this peer final BooleanisWebrtcPeer()StringtoString()-
Methods inherited from class live.hms.video.sdk.models.HMSPeer
getAllTracks, getAuxiliaryTracks, getCustomerUserID, getHmsRole, getJoinedAt, getMetadata, getName, getNetworkQuality, getPeerID, getTrackById, getType, isHandRaised, isLocal -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAudioTrack
HMSLocalAudioTrack getAudioTrack()
This contains the audio track of this peer
-
getVideoTrack
HMSLocalVideoTrack getVideoTrack()
This contains the video track of this peer
-
isWebrtcPeer
final Boolean isWebrtcPeer()
-
-
-
-