• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
Question by bowditch · Dec 15, 2009 at 06:13 PM · networkingmultiplayeraudioserverexternal-tools

Has anyone used a VoIP plug-in for multiplayer gaming?

We need to have voice chatting set up for an multiplayer educational Unity game. The VoIP system does not have to be synced with Unity, but it would be nice (It can run as a separate client if needed -- Team Speak or Skype, etc).

Has anyone experimented with either commercial or open source VoIP systems? Are there any concerns with network lag?

Comment
jashan
webwolfrussian
josif
BiG
gregroberts

People who like this

5 Show 0
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

5 Replies

· Add your reply
  • Sort: 
avatar image
Best Answer

Answer by jashan · Dec 17, 2009 at 12:28 AM

As a lot of people are using Skype / TeamSpeak with existing multiplayer games that shouldn't be a concern. I probably wouldn't recommend hosting a TeamSpeak server on the same machine you're hosting your game server on (that might give you trouble bandwidth-wise ... at least if you scale it way up with lots and lots of players).

IIRC, the API used to connect to Skype requires some sort of "native access", so in that case you couldn't use that for Web Players. Same most likely would be the case for TeamSpeak. But for standalones, I wouldn't see any problems.

Have you voted for Networking: VoIP support (e.g. RakVoice) on the Unity feedback forum? Having "native support for VoIP" inside of Unity certainly would be nice.

Btw: Not sure if you're aware of it or not - but TeamSpeak 3 will be going into public beta this Saturday (Dec, 19th) and I think that should a few nice features (I remember that with TeamSpeak 2 you could open a URL with the protocol "teamspeak:" and could directly access a channel that way which might be the easiest way to set something like that up).

Comment
bowditch
josif

People who like this

2 Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bowditch · Dec 17, 2009 at 02:26 PM 0
Share

Good Info. Thanks Jashan!

avatar image jashan · Jan 13, 2010 at 10:48 PM 0
Share

Just wanted to add to this that TeamSpeak 3 really rocks ;-) ... I'll look into integrating TeamSpeak 3 with my game almost definitely (but that's "for later" ;-) ).

avatar image

Answer by runevision · Dec 16, 2009 at 10:12 AM

Not an answer as such, but have a look at the first comment on this blog post.

Apparently "A World For Us" build "Assemb'Live" using (among other things) Unity and Red5 as a server solution with VOIP.

Comment
bowditch

People who like this

1 Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bowditch · Dec 17, 2009 at 02:27 PM 0
Share

Thanks for the help Rune!

avatar image

Answer by hovu96 · May 07, 2012 at 08:57 AM

I tried the TeamSpeak 3 SDK which includes server and client samples. I compiled and installed the server sample program and included the C# client sample into my Unity game. It works! But you need Unity Pro to be able to call plugins (the TeamSpeak library).

Comment
gregroberts

People who like this

1 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image

Answer by bowditch · Mar 09, 2010 at 10:07 PM

After reviewing your suggestions, I have also developed praise for RakNet 3. I think this will be a helpful tool as well.

From Website:

Real time voice communication

RakVoice is a feature of RakNet that allows real time voice communication at a cost of only ~2200 bytes per second at 8000 16 bit samples per second. It uses Speex to do the encoding. RakVoice is plugin class that makes it easier to encode, send, decode, and relay raw sound data.

Comment

People who like this

0 Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image bowditch · Mar 09, 2010 at 10:08 PM 0
Share

If you want Unity to add support for something like this, vote here: http://unity.uservoice.com/forums/15792-unity/suggestions/166172-networking-voip-support-e-g-rakvoice-?ref=title

avatar image

Answer by PhobicGunner · Oct 16, 2012 at 02:57 AM

[could somebody downvote those last three answers? I don't have enough posts to do so >.<]

If I may put forth a shameless plug, I've been working on an integrated voice chat system for Unity that'll work on pretty much all licenses and platforms. It should plug right into whatever network architecture you need.

Link: http://u3d.as/content/mo-pho-games/u-speak-voice-chat/3sR

Comment

People who like this

0 Show 0 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity networking tutorial? 6 Answers

Do i need to have 2 seperate apps communicating for server/client relationship? 2 Answers

Help with multiplayer connection 0 Answers

Networking for 1v1 rooms 0 Answers

Multiplayer 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges