BananaHemic / Mumble-Unity

Performant Mumble Client For Unity3D
MIT License
78 stars 29 forks source link

Support IOS APP ? #4

Open Lixuya opened 7 years ago

BananaHemic commented 7 years ago

I haven't personally tested on ios. To the best of my knowledge, it should work provided that there's an opus plugin for ios present, and that the import statements are correct. I encourage you to give it a shot and see if it works.

Lixuya commented 7 years ago

ok,I try

Lixuya commented 7 years ago

I used opus to compile the static library, which was wrongly reported in the Xcode project. Mistake as follows:

Exception: Encoder error - BadArgument at Mumble.OpusEncoder.set_EnableForwardErrorCorrection (Boolean value) [0x00000] in :0 at Mumble.OpusCodec.InitializeEncoderWithSampleRate (Int32 newSampleRate) [0x00000] in :0 at MumbleTester.Start () [0x00000] in :0

have you ever met?

BananaHemic commented 7 years ago

What version of Opus did you compile? Currently it's configured up to use version 1.3.

Lixuya commented 7 years ago

Isn't the latest version 1.1.5? http://www.opus-codec.org/downloads/

BananaHemic commented 7 years ago

You're right, but I just haven't had the time yet to recompile for the latest version. My only thought here is that maybe the method signature changed somewhere?

hdv0112 commented 5 years ago

I have build Opus lib and run successfully on ios. If you need, you can download it: https://drive.google.com/open?id=1q__b2Tg1v1dgq7bmlpK_ec4ZExvxHieL

BananaHemic commented 5 years ago

That's awesome news! Can you make a Pull Request?