Package 

Class AudioType


  • 
    public class AudioType
    
                        

    Audio types for customizing the audio of LiveKit.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class AudioType.MediaAudioType

      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.

      public final class AudioType.CallAudioType

      An audio type for calls (i.e. participating in the call or publishing local microphone).

      Audio routing can be manually controlled.

      public final class AudioType.CustomAudioType

      An audio type that takes in a user-defined AudioAttributes and audio stream type.

    • Method Summary

      Modifier and Type Method Description
      final Integer getAudioMode() The audio mode to use when playing audio through LiveKit.
      final AudioAttributes getAudioAttributes() The audio attributes to use when playing audio through LiveKit.
      final Integer getAudioStreamType() The audio attributes to use when playing audio through LiveKit on pre-O devices.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait