MediaStream
The MediaStream model contains information about media streams.
Available in the package com.voxeet.android.media.MediaStream.
Methods
audioTracks
▸ audioTracks(): List<AudioTrack>
Retrieves the hard list of AudioTracks.
Returns: @NonNull List - the list of audio tracks
getType
▸ getType(): MediaStreamType
Gets the current MediaStream type representation.
Returns: @NonNull MediaStreamType - a valid enum value
hashCode
▸ hashCode(): int
Gets the hash code of the media stream.
Returns: int - list of video tracks ids
label
▸ label(): String
Gets the MediaStream label.
Returns: String - the label written
label
▸ label(@NonNull label
: String): void
Sets the MediaStream label. This method is designed only for the internal use.
Parameters
Name | Type | Description |
---|---|---|
label | String | non null the new label of this MediaStream |
peerId
▸ peerId(): String
Gets the peer identifier.
Returns: String - a valid string
setVolume
▸ setVolume(volume
: float): void
Sets the volume of the media stream in non-Dolby Voice conferences to a preferred value between 0 and 1.
Parameters
Name | Type | Description |
---|---|---|
volume | float | The preferred volume level between 0 (no audio) and 1 (full volume). |
videoTracks
▸ videoTracks(): List<VideoTrack>
Retrieves the hard list of VideoTracks.
Returns: @NonNull List - the list of video tracks
Updated 3 months ago