-
public final class AudioType.MediaAudioType extends AudioType
An audio type for general media playback usage (i.e. listener-only use cases).
Audio routing is handled automatically by the system in normal media mode, and bluetooth microphones may not work on some devices.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegeraudioModeprivate final AudioAttributesaudioAttributesprivate final IntegeraudioStreamType
-
Constructor Summary
Constructors Constructor Description AudioType.MediaAudioType()
-
Method Summary
Modifier and Type Method Description final IntegergetAudioMode()The audio mode to use when playing audio through LiveKit. final AudioAttributesgetAudioAttributes()The audio attributes to use when playing audio through LiveKit. final IntegergetAudioStreamType()The audio attributes to use when playing audio through LiveKit on pre-O devices. -
-
Method Detail
-
getAudioMode
final Integer getAudioMode()
The audio mode to use when playing audio through LiveKit.
-
getAudioAttributes
final AudioAttributes getAudioAttributes()
The audio attributes to use when playing audio through LiveKit.
-
getAudioStreamType
final Integer getAudioStreamType()
The audio attributes to use when playing audio through LiveKit on pre-O devices.
-
-
-
-