#

SUD

Voice Games

Voice games, such as "Werewolf" and "Mafia", allow players to play games using their voices. The games control different stages through the app: allowing speaking, muting, allowing listening, and muting listening.

Speech Recognition (ASR)

Sud games, such as "Pictionary", "Guess the Word", "Number Bomb", support players to play games using speech recognition.

Integration Method:

Android, using version V1.3.2.1154 as an example: implementation 'tech.sud.mgp:SudASR:1.3.2.1154'
iOS: pod 'MicrosoftCognitiveServicesSpeech-iOS', '1.23.0'

Business Steps:

  1. The game starts ASR, sends MG_COMMON_GAME_ASR state to the app, isOpen=true
  2. App responds to MG_COMMON_GAME_ASR, isOpen=true, calls RTC interface to start collecting PCM data, and sends the PCM data to SudFSTAPPDecorator.pushAudio, can call the pushAudio interface in a working thread
      PCM data format must be: sample rate: 16000, sample bit depth: 16, number of channels: MONO
      PCM data length can be adjusted based on the effect, longer length: better accuracy but longer delay, shorter length: shorter delay but sacrifices accuracy
  3. The game ends ASR, sends MG_COMMON_GAME_ASR state to the app, isOpen=false
  4. App responds to MG_COMMON_GAME_ASR, isOpen=false, calls RTC interface to stop collecting PCM data

    Integration Documents for RTC Providers

  5. Zego Android Speech Recognition Access
  6. Zego iOS Speech Recognition Access
  7. Agora Android 4.x Speech Recognition Access
  8. Agora iOS 4.x Speech Recognition Access
  9. Tencent Cloud Android Speech Recognition Access
  10. Tencent Cloud iOS Speech Recognition Access
  11. Volcano Android Speech Recognition Access
  12. Volcano iOS Speech Recognition Access
  13. NetEase Android Speech Recognition Access
  14. NetEase iOS Speech Recognition Access
  15. Rongyun Android Speech Recognition Access
  16. Rongyun iOS Speech Recognition Access </div>

results matching ""

    No results matching ""