private void OnReceivedAudio(object sender, ReceivedAudioEventArgs e) { if (!UserTalkingCounts && e.Source.Id > 0 && e.Source.OwnerId == context.CurrentUser.UserId) { return; } AddTalker(e.Source); }
protected virtual void OnReceivedAudio(ReceivedAudioEventArgs e) { var received = this.ReceivedAudio; if (received != null) { received(this, e); } }