Now that multiplayer is finally working with UE4 and android I’d like to know if it’s possible to do voice chat on android devices (for a gearvr co-op experience). So far all information I’ve found is only for Windows and iOS voice chat - if it’s not supported yet could it be a feature request for 4.13?
Thanks for the info - any chance of getting it added to the requested feature list of 4.14? The task of doing it myself is unfortunately beyond my skills
Hello!
I have been working for a while with a voice implementation to send data through google translator services, and is working pretty well on pc, now my problem is just with Android, but I cannot get it work, so far I did this:
1.- set defaultEngine.ini and defaultGame.ini with the proper stuff
2.- add permission android.permission.RECORD_AUDIO
3.- include every module related to Online a Voice,
4.- I saw in the UPL that apparently is something else called bAndroidVoiceEnabled in the engine.ini in this section: section=“/Script/AndroidRuntimeSettings.AndroidRuntimeSettings”, so I did as well
I am running in android 7, from a Galaxy s6, the target SDK es 22, I don’t want to deal with runtime permission, but I will, not options at this rate
Sorry to ask directly to you, but seams you are the MAN:p, this is the final step for my App, I am closeee! I got OK on my state but never data
Hi [USER=“33354”]Omar Vector[/USER] it means exactly that, in your project settings in the android tab you must set your SDK target as 23 at least, otherwise the function GetState will return OK, but without gettings any bytes, also I did that 4 versions ago, I dunno if is still working that way.
I did that and only work if the app started for first time, but once I close the app and run it again, the state is only OK , but no bytes , and if I turned off mic permission manually and restarted the app, it works fine once again, just close it and reopen it, state is OK but no bytes, thats really weird , have u ever face same situation ?
hey [USER=“33354”]Omar Vector[/USER] ,totally only works the first time, it is an error in the implementation I think, I didn’t continue my development, but that problem was always there, probably is going to be forever since this was developed for a third party
You are right, I have debugged the build with android studio and found this error AudioRecord start() error -38 , then I found that bec the record driver is not released when the game is closed .
I’ve submitted a bug report already , hope they are able to reproduce it . or I’ve to work with source instead of the binray version trying to apply a fix .
Thanks for your confirmation, I thought I was doing something wrong:))
Hi [USER=“33354”]Omar Vector[/USER] Sorry I saw you other post, seems you are struggling with this, if the error is inside the start() method, I can infer the real error is inside the way they are using to close the device driver, did you try to modify the .xml with the Java Code?, perhaps is fixable there without having to use the source code version, if you reach this far I think is going to be easy to fix, I will check my old code
With regard to driver issue, yes u are right, when it close , it doesnt clear up the driver and shutdown it even if I called VoiceCapture->Shutdown() , I have checked this error on stackover flow .
For .xml , I think I can dig there, but not sure exactly where to find the file , I will search for it ,but yes, I’m struggle as hell ,its like 1 month for now even more . and really I dont wanna move to unity cuz of this, since my app depends on this feature mainly ,even unity has more worse bugs related to some devices gpus already and they didnt fix it as they told me “Out datated gpus” while I’m still able to hit 60fps with unreal with decent scenes on my current device .
anyway, if u are able to get any fix let me know, while I keep digging hard already, and if I could hit the fix, I will update all of my thread related to that.