/lib/live.hms.video.media.tracks/HMSAudioTrack
HMSAudioTrack
[androidJvm]\ open class HMSAudioTrack(stream: HMSMediaStream, nativeTrack: AudioTrack, source: String) : HMSTrack
A type of HMSTrack holding only audio
Constructors
| HMSAudioTrack | [androidJvm] fun HMSAudioTrack(stream: HMSMediaStream, nativeTrack: AudioTrack, source: String = HMSTrackSource.REGULAR) |
Functions
| Name | Summary |
|---|---|
| equals | [androidJvm] open operator override fun equals(other: Any?): Boolean |
| toString | [androidJvm] open override fun toString(): String |
Properties
| Name | Summary |
|---|---|
| description | [androidJvm] var description: String A description if any that has been set for this track by the app |
| isMute | [androidJvm] var isMute: Boolean = false true - if this track is muted, otherwise false |
| source | [androidJvm] var source: String Specifies the source of this track Regular - from default camera/mic Screen - from screenshare Publign - from plugin |
| trackId | [androidJvm] val trackId: String The trackID of this track |
| type | [androidJvm] open override val type: HMSTrackType This specifies the type of track, either one of HMSTrackType |