-
public class AudioTypeAudio types for customizing the audio of LiveKit.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAudioType.MediaAudioTypeAn 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.
public final classAudioType.CallAudioTypeAn audio type for calls (i.e. participating in the call or publishing local microphone).
Audio routing can be manually controlled.
public final classAudioType.CustomAudioTypeAn audio type that takes in a user-defined AudioAttributes and audio stream type.
-
Field Summary
Fields Modifier and Type Field Description private final IntegeraudioModeprivate final AudioAttributesaudioAttributesprivate final IntegeraudioStreamType
-
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.
-
-
-
-