Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Positional Audio? How integrate in Unity Project? #6

Closed
Vytek opened this issue Jun 10, 2017 · 3 comments
Closed

Positional Audio? How integrate in Unity Project? #6

Vytek opened this issue Jun 10, 2017 · 3 comments

Comments

@Vytek
Copy link

Vytek commented Jun 10, 2017

In README you say:

Different audio positions for each Mumble speaker is not yet supported, but is possible

How can integrate this feature in little Social Demo?

My project is Open Source and based on Unity 5.6.1f1.

Thanks for your work and help!

@Vytek Vytek changed the title Positional Audio? Positional Audio? How integrate in Unity Project? Jun 10, 2017
@BananaHemic
Copy link
Owner

I'm going to remove that line.

If you take a look at MumbleTester, you'll see that when creating the mumble client you pass a method "CreateMumbleAudioPlayerFromPrefab". This method is called whenever a new user is in the Mumble room. It's here that you can make the new mumble audio player be a child object to something, and change its positional.

Let me know if you have any other questions, or if I can close this

@Vytek
Copy link
Author

Vytek commented Jun 11, 2017

Thank you for your answer. So I had to modify this method to create a child object of my user/avatat head using: https://answers.unity3d.com/questions/572176/how-can-i-instantiate-a-gameobject-directly-into-a-1.html ?

private MumbleAudioPlayer CreateMumbleAudioPlayerFromPrefab() {

@BananaHemic
Copy link
Owner

Yep, that's the one. I'll make some changes to the README to make that more clear. Feel free to reopen or make a new ticket if anything else is unclear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants