{"action":"created","issue":{"url":"https://api.github.com/repos/mumble-voip/mumble/issues/2227","repository_url":"https://api.github.com/repos/mumble-voip/mumble","labels_url":"https://api.github.com/repos/mumble-voip/mumble/issues/2227/labels{/name}","comments_url":"https://api.github.com/repos/mumble-voip/mumble/issues/2227/comments","events_url":"https://api.github.com/repos/mumble-voip/mumble/issues/2227/events","html_url":"https://github.com/mumble-voip/mumble/issues/2227","id":151713977,"number":2227,"title":"[Positional Audio] Team, Squad, Spectator enable/disable and custom IP address features request","user":{"login":"davidebeatrici","id":5897523,"avatar_url":"https://avatars.githubusercontent.com/u/5897523?v=3","gravatar_id":"","url":"https://api.github.com/users/davidebeatrici","html_url":"https://github.com/davidebeatrici","followers_url":"https://api.github.com/users/davidebeatrici/followers","following_url":"https://api.github.com/users/davidebeatrici/following{/other_user}","gists_url":"https://api.github.com/users/davidebeatrici/gists{/gist_id}","starred_url":"https://api.github.com/users/davidebeatrici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidebeatrici/subscriptions","organizations_url":"https://api.github.com/users/davidebeatrici/orgs","repos_url":"https://api.github.com/users/davidebeatrici/repos","events_url":"https://api.github.com/users/davidebeatrici/events{/privacy}","received_events_url":"https://api.github.com/users/davidebeatrici/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-04-28T18:40:29Z","updated_at":"2016-04-28T20:28:38Z","closed_at":null,"body":"I would like to propose the following options to be added to the Plugins page in Mumble client settings.\r\n\r\n**Team**: enable/disable the plugin only for the players in the same team.\r\n**Squad** (for games like Battlefield): enable/disable the plugin only for the players in the same squad (and team).\r\n**Spectator**: enable/disable positional audio for the spectator (the spectator can hear positionally, but the players hear him normally). This can be done because the majority of games takes the positional data of the spectated player.\r\n**Custom IP Address**: Workaround for the issue https://github.com/mumble-voip/mumble/issues/2208.   This means that by putting the same IP address on all the clients, the problem is solved"},"comment":{"url":"https://api.github.com/repos/mumble-voip/mumble/issues/comments/215552609","html_url":"https://github.com/mumble-voip/mumble/issues/2227#issuecomment-215552609","issue_url":"https://api.github.com/repos/mumble-voip/mumble/issues/2227","id":215552609,"user":{"login":"davidebeatrici","id":5897523,"avatar_url":"https://avatars.githubusercontent.com/u/5897523?v=3","gravatar_id":"","url":"https://api.github.com/users/davidebeatrici","html_url":"https://github.com/davidebeatrici","followers_url":"https://api.github.com/users/davidebeatrici/followers","following_url":"https://api.github.com/users/davidebeatrici/following{/other_user}","gists_url":"https://api.github.com/users/davidebeatrici/gists{/gist_id}","starred_url":"https://api.github.com/users/davidebeatrici/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidebeatrici/subscriptions","organizations_url":"https://api.github.com/users/davidebeatrici/orgs","repos_url":"https://api.github.com/users/davidebeatrici/repos","events_url":"https://api.github.com/users/davidebeatrici/events{/privacy}","received_events_url":"https://api.github.com/users/davidebeatrici/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T20:28:38Z","updated_at":"2016-04-28T20:28:38Z","body":"I agree with your example; I think that Spectator is the simplest thing to implement, it's just a byte value: in Quake Live it is 1 when spectating and 0 when not. When you're spectating someone, the position memory addresses have the spectated player coordinates as values: this means that you, as a spectator, can hear the other players positionally; clearly Mumble shouldn't send these coordinates to the players, because they would be sent through the spectator, resulting in confusion (I currently disabled it in the QL plugin for this reason).\r\n\r\nCustom IP: Yes, we can simply exclude the IP from the context, but I think that it would be better to specify a custom IP address, for people who have multiple servers in the same network. The best solution would be to add both options.\r\n\r\nAs for the people to agree, I don't think it is needed. I mean, if a player has Positional Audio enabled only for the team, he's going to hear positionally only his team mates, while a player that has PA enabled for every situation is going to hear everyone positionally. To make this work, Mumble needs to send the player coordinates to other players (with same context IP address), regardless of the team and squad settings."}}