public void SendVoice(ArraySegment <byte> pcm, SpeechTarget target, uint targetId)
        {
            if (!Connection.VoiceSupportEnabled)
            {
                throw new InvalidOperationException("Voice Support is disabled with this connection");
            }

            _encodingBuffer.Add(pcm, target, targetId);
        }
예제 #2
0
 public void SendVoice(ArraySegment <byte> pcm, SpeechTarget target, uint targetId)
 {
     _encodingBuffer.Add(pcm, target, targetId);
 }