tencent cloud

Feedback

Sound Quality

Last updated: 2022-07-05 15:57:33

    This document describes how to choose the sound quality in the GME SDK.

    Sound Quality Types

    Note

    For Tencent Cloud International users, only smooth sound quality (ITMG_ROOM_TYPE_FLUENCY) is available by default. Submit a ticket if you want to choose other sound qualities.

    Sound Quality Description Parameter Volume Type Applicable Scenario
    ITMG_ROOM_TYPE_FLUENCY Smooth 1
  • Speaker: Call volume
  • Headset: Media volume
  • Bluetooth headset: HFP protocol, headset collection
  • Smooth sound quality with ultra-low latency, which is suitable for team voice chat in games such as FPS and MOBA.
    ITMG_ROOM_TYPE_STANDARD Standard 2
  • Speaker: Call volume
  • Heaset: Media volume
  • Bluetooth headset: HFP protocol, headset collection
  • Standard sound quality with mediate latency, which is suitable for voice chat in casual games such as Werewolves and board games.
    ITMG_ROOM_TYPE_HIGHQUALITY HD 3
  • Speaker: Media volume
  • Heaset: Media volume
  • Bluetooth headset: a2dp protocol, headset collection
  • HD sound quality with relative high latency, which is suitable for music and dancing games and voice chat apps that require high sound quality such as music playback and online karaoke.

    Media Volume and Call Volume

    Two volume modes are configured in a mobile phone: Media volume and call volume. Media volume is generally used to playback media files, and call volume is used in phone calls and communications.

    For an Android phone, the current volume type is displayed on the screen when you press the volume key. As in the following figure, call volume is displayed on the left and media volume is on the right.

    Bitrate

    • Smooth: sample rate: 16k, bitrate: 30 kbps
    • Standard and HD: sample rate: 48k, bitrate: 64 kbps

    Traffic Consumption

    For the smooth sound effect, the bitrate is 30 kbps. For the standard and HD sound effect, the bitrate is 64 kbps. The traffic consumption is calculated according to the bitrate and the number of speaking users in the room.
    Formula: bitrate * number of speakers / 8 = bytes.

    Audio Processing

    After being collected, the audio signal goes through the audio pre-process (such as mixing cancellation, noise reduction, and automatic gain control), and then encoded by an audio encoder. In the pre-process, Acoustic Echo Cancelling (AEC), Automatic Gain Control (AGC), Active Noise Control (ANC, also known as noise cancellation, noise suppression), are commonly known as 3A.

    • ANC is enabled for the smooth sound quality, and is disabled for the standard and HD sound quality.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support