Description

Android client is unable to join a VOIP Hosted Session.

The following messaging occurs when the Client tries to join a found session on Android:

LogInit: BSD_Android: I am localhost (127.0.0.1:0)
LogBlueprintUserMessages: [VOIPWidget_C_2147482553] Find Session Success
LogVoiceEngine: Error: OSS: StartLocalVoiceProcessing(): Device is currently owned by another user
LogOnlineVoice: OSS: StartLocalProcessing(0) returned 0xFFFFFFFF
LogOnlineVoice: OSS: Starting networked voice for user: 0
LogVoiceCapture: Warning: VoiceModuleAndroid Init
LogAndroidPermission: UAndroidPermissionFunctionLibrary::CheckPermission android.permission.RECORD_AUDIO (Android)
LogVoiceCapture: Warning: OpenSLES Initializing HW
LogVoiceCapture: Warning: Create audio recorder
LogVoiceCapture: Warning: OpenSLES SL_RecorderBufferQueue -945740164
LogOnlineVoice: OSS: RegisterLocalTalker(0) returned 0x00000000
LogOnlineSession: OSS: Join session: traveling to 127.0.0.1:7777
LogBlueprintUserMessages: [VOIPWidget_C_2147482553] Join Session Success
LogNet: Browse: 127.0.0.1//Game/Maps/Online/VOIP/VOIP
Steps to Reproduce
  1. Have QAGame project synced
  2. Open and Edit DefaultEngine.ini for QAGame/Config/
    • Change [OnlineSubsystem] DefaultPlatformService to be =Null
    • Change [OnlineSubsystemMCP] bEnabled to be =false
    • Add the following lines:
      • [Voice]
      • bEnabled=true
      • [/Script/EngineSettings.GameMapsSettings]
      • GameDefaultMap=/Game/Maps/Online/VOIP/VOIP.VOIP
  3. Open and Edit DefaultGame.ini for QAGame/Config/
    • Add the following:
      • [/Script/Engine.GameSession]
      • bRequiresPushToTalk=false
  4. Save and Close both files
  5. Open QAGame in UE4Editor
  6. Make sure Game Default Map is set to VOIP
    • Edit > Project Settings > Maps & Modes
  7. Enable Add permisssions to supoprt Voice chat (RECORD_AUDIO)
    • Edit > Project Settings > Android > Advanced APK Packaging
  8. Package for Android
  9. Deploy package to 2 different Android devices
  10. Run QAGame package on both devices
  11. Device A - Click Host Session
  12. Device B - Click Find Session
    • Wait for Find Session verification message (upper left corner debug text)
  13. Device B - Click Join Session

Results: Device B/Client doesn't join Host/Device A session

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-78477 in the post.

5
Login to Vote

Won't Fix
ComponentUE - Online
Affects Versions4.234.244.25
CreatedAug 6, 2019
ResolvedAug 27, 2021
UpdatedOct 28, 2022