기술 자료

​
​

Development

User Acquisition

Monetization

산업 분야

Vivox Core SDK

Vivox Core SDK

이 페이지는 선택한 언어로 제공되지 않습니다.
Vivox
​
​
Vivox Core SDK
  • Overview
  • Before you begin
  • Get started
  • Release notes
  • Developer Guide
    • Client SDK basics
    • Channels
    • Presence management
    • Messaging
    • Manage audio
    • Couch co-op
    • Android app development
      • Bluetooth profile management
      • Android SDK permission requirements
      • Android library requirements
      • Initialize Vivox Android services
      • Android speakerphone audio: Mono or stereo
      • Update the ProGuard rule file
      • Smart Platform Audio Management
      • Acoustic echo cancellation
      • Disable the Vivox SDK internal AEC
      • Hardware echo cancellation
      • Absolute paths for native libraries
      • Reduce Opus CPU load on low-powered Android devices
    • iOS app development
    • macOS app development
    • Windows app development
    • Real-time recording
    • Speech-to-text audio transcription
    • Text-to-speech
    • Troubleshooting
  • Reference
  • Privacy overview
  1. Vivox Core SDK documentation
  2. Android app development

Smart Platform Audio Management

Understand how SPAM optimizes audio configurations.
읽는 시간 2분
최근 업데이트: 8달 전

The Vivox SDK uses Smart Platform Audio Management (SPAM) to automatically select the optimal Android audio configuration based on the context.
참고
Smart Platform Audio Management was known as dynamic voice processing switching (DVPS) in earlier Vivox SDK releases.
SPAM will optimize the audio configuration for voice if both of the following scenarios occur:
  • The client attempts to access the microphone (for example, when in a session)
  • The audio is rendered through the built-in speakerphone, or Bluetooth SCO
In all other scenarios, SPAM will optimize the audio configuration for general-purpose audio.
SPAM configuration includes:
  • The Android AudioManager mode
    • When optimizing for voice, this is set to
      MODE_IN_COMMUNICATION
      .
    • When optimizing for general-purpose audio, this is set to
      MODE_NORMAL
      .
  • The OpenSL ES render stream and recording preset
    • In voice mode, the render stream is set to
      SL_ANDROID_STREAM_VOICE
      and the recording preset is set to
      SL_ANDROID_RECORDING_PRESET_VOICE_COMMUNICATION
      .
    • For general-purpose audio, the render stream is set to
      SL_ANDROID_STREAM_MEDIA
      and the recording preset is set to
      SL_ANDROID_RECORDING_PRESET_VOICE_RECOGNITION
      .
  • The Bluetooth profile
    • In voice mode, when using an audio Bluetooth device, SPAM will use Bluetooth SCO by default, if available. This ensures that the microphone on the Bluetooth device is used to provide the best voice experience for Vivox users.
    • When leaving voice mode, SPAM will automatically switch to A2DP and prioritize render audio quality over voice experience. This is configurable; you can change SPAM to always use A2DP by setting the
      bluetooth_profile
      parameter on the SDK config struct.
SPAM also ensures that audio interruptions, such as phone calls, are handled correctly and that Vivox recovers gracefully when the interruption ends. This includes routing to the active audio device and setting up the audio configuration as described earlier in this section.
SPAM is enabled by default. To disable SPAM, perform either of the following actions:
경고
Disabling SPAM is not recommended.
  • When you initialize the Vivox SDK, configure the
    dynamic_voice_processing_switching
    parameter.
  • After the you initialize the Vivox SDK, call
    vx_set_dynamic_voice_processing_switching_enabled()
    .

Copyright © 2026 Unity Technologies
법률 정보개인정보 처리방침쿠키Documentation Terms of Use개인 정보 판매 또는 공유 금지개인정보 보호 선택(쿠키 설정)

'Unity', Unity 로고 및 기타 Unity 상표는 미국 및 기타 지역 내 Unity Technologies 또는 그 계열사의 상표 또는 등록상표입니다(자세한 내용은 여기에서 확인하세요). 기타 명칭 또는 브랜드는 해당 소유자의 상표입니다.

일부 페이지는 편의를 위해 기계 번역되었으며 부정확한 내용이 있을 수 있습니다. 정보가 상충되는 경우, 영어 버전을 우선으로 참조하세요.


    이 페이지의 문제 보고