Example #1
0
        private void OnReceivedAudio(object sender, ReceivedAudioEventArgs e)
        {
            if (!UserTalkingCounts && e.Source.Id > 0 && e.Source.OwnerId == context.CurrentUser.UserId)
            {
                return;
            }

            AddTalker(e.Source);
        }
Example #2
0
        protected virtual void OnReceivedAudio(ReceivedAudioEventArgs e)
        {
            var received = this.ReceivedAudio;

            if (received != null)
            {
                received(this, e);
            }
        }