![]() The Photon Voice Push-to-Talk demo offers two options for voice chat: using System īyte allByteValues = Enumerable.Range(1, 255).SelectMany(BitConverter.GetBytes).ToArray() This should be used carefully as it may subscribe the client to groups that will never be used. groupsToListenTo could not contain targetGroup. You can speak to a group other than those you listen to. Listen To A List Of Groups // subscribe to a custom list of groups Later, you may need to subscribe to groups created after this call.ī. Listen To All Pre-Existing Groups // subscribe to all pre-existing groups Other Group // subscribe to the group to listen to PhotonVoiceRecorder.AudioGroup = targetGroup ī. Default Group // unsubscribe from all groups, this is optional if groups were not changed before The group to listen to can be different from the group to talk to.Ī.Set a different target group per PhotonVoiceRecorder.This is not the same as the previous category as it allows the following: All PhotonVoiceRecorder components transmitting will use the same globally set target group in this case.If targetGroup is not equal to 0 then you can still receive voice streams transmitted to that same group. ![]() No need to explicitly set it as a global group unless you changed something and want to reset setup.
0 Comments
Leave a Reply. |