Skip to main content

AudioContextRoute

Audio output routing behavior.

Inherits: enum.Enum

Properties

  • EARPIECE - Routes audio output to the earpiece receiver.
  • SPEAKER - Forces audio output through the built-in speaker.
  • SYSTEM - Uses the default system audio route.

Properties​

EARPIECEclass-attributeinstance-attribute​

Routes audio output to the earpiece receiver.

SPEAKERclass-attributeinstance-attribute​

Forces audio output through the built-in speaker.

Warning

Due to iOS platform limitations, cannot be combined with respect_silence set to True.

SYSTEMclass-attributeinstance-attribute​

Uses the default system audio route.