Announcement

Collapse
No announcement yet.

How to do Voice Chat on android?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to do Voice Chat on android?

    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?

    Also have this topic as a answerhub query here: https://answers.unrealengine.com/que...n-android.html
    Headgear - VR/AR solutions

    #2
    I would look into getting libOpus (used on Win, Mac, Linux) working on Android. You can find it in Engine/Source/ThirdParty/libOpus.

    We have already passed feature complete for 4.13; the preview period is mostly for bug fixes.

    Comment


      #3
      Originally posted by Chris Babcock View Post
      I would look into getting libOpus (used on Win, Mac, Linux) working on Android. You can find it in Engine/Source/ThirdParty/libOpus.

      We have already passed feature complete for 4.13; the preview period is mostly for bug fixes.
      Hi Chris,

      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
      Headgear - VR/AR solutions

      Comment


        #4
        I'll see what I can do but no promises.

        Comment


          #5
          Originally posted by Chris Babcock View Post
          I would look into getting libOpus (used on Win, Mac, Linux) working on Android. You can find it in Engine/Source/ThirdParty/libOpus.

          We have already passed feature complete for 4.13; the preview period is mostly for bug fixes.
          Doesn't Oculus Mobile SDK provide low-latency voice chat functionality ?

          Comment


            #6
            Originally posted by motorsep View Post
            Doesn't Oculus Mobile SDK provide low-latency voice chat functionality ?
            Would be even better if we could get that included via blueprints!
            Headgear - VR/AR solutions

            Comment


              #7
              I already wrote a basic implementation of the opus codec for android and of the voice module (https://answers.unrealengine.com/que...oice-chat.html) but I would need some help for polishing the implementation and to open a proper pull request.

              I'm interested in trying the oculus voip support for android too, it should already be integrated in the oculus branch of UE4 (https://developer3.oculus.com/downlo...4_Integration/), but I guess the voice module would be needed anyway. Anyone had a chance to try this yet?
              Last edited by devel.bmad; 10-28-2016, 12:54 PM.

              Comment


                #8
                Just created a pull request with my VoiceModuleAndroid implementation:
                https://github.com/EpicGames/UnrealEngine/pull/2894

                Comment


                  #9
                  Originally posted by devel.bmad View Post
                  Just created a pull request with my VoiceModuleAndroid implementation:
                  https://github.com/EpicGames/UnrealEngine/pull/2894
                  Yay! Hopefully it will get accepted.

                  Comment


                    #10
                    Originally posted by devel.bmad View Post
                    Just created a pull request with my VoiceModuleAndroid implementation:
                    https://github.com/EpicGames/UnrealEngine/pull/2894
                    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, this is the final step for my App, I am closeee! I got OK on my state but never data

                    EDIT: solved, it needs to be on 23 by force ja
                    Last edited by ZkarmaKun; 07-25-2017, 10:30 PM.

                    Comment


                      #11
                      Can anybody share a tutorial or example for how to use this android voice module?
                      I studied c++ codes,but still don't know how to use.
                      Thanks.

                      Comment


                        #12
                        Originally posted by ZkarmaKun View Post

                        EDIT: solved, it needs to be on 23 by force ja
                        What do u mean by that, cuz I've the same exact problem , state is OK, but no data .

                        Comment


                          #13
                          Hi Omar Vector 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.



                          Comment


                            #14
                            Originally posted by ZkarmaKun View Post
                            Hi Omar Vector 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 ?

                            Comment


                              #15
                              hey Omar Vector ,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

                              Comment

                              Working...
                              X