Beispiel #1
0
        public void Push(VoicePacket frame)
        {
            //If this is the first packet extract the channel data ahead of time so that it is available in the PlayerStartedSpeaking event
            if (!_receivedFirstPacket)
            {
                ExtractChannels(frame);
            }

            _buffer.Push(frame);
            _receivedFirstPacket = true;
        }
Beispiel #2
0
 public void Push(EncodedAudio frame)
 {
     _buffer.Push(frame);
 }
Beispiel #3
0
 public void Push(VoicePacket frame)
 {
     _buffer.Push(frame);
 }