Example #1
0
        private void NewVoice(byte[] voice, int id)
        {
            Call auxFriend = FriendsInCall.FirstOrDefault(f => f.Friend.Id == id);

            if (auxFriend != null)
            {
                auxFriend.AddToQueue(voice);
            }
            else
            {
                NewUserCall(id);
            }
        }