void connector_OnSessionParticipantUpdatedEvent(object sender, ParticipantUpdatedEventArgs e)
        {
            VoiceSession s = FindSession(e.SessionHandle, false);

            if (s == null)
            {
                return;
            }
            s.ParticipantUpdate(e.URI, e.IsMuted, e.IsSpeaking, e.Volume, e.Energy);
        }
示例#2
0
 void connector_OnSessionParticipantUpdatedEvent(object sender, ParticipantUpdatedEventArgs e)
 {
     VoiceSession s = FindSession(e.SessionHandle, false);
     if (s == null) return;
     s.ParticipantUpdate(e.URI, e.IsMuted, e.IsSpeaking, e.Volume, e.Energy);
 }