This commit is contained in:
Denny
2016-12-26 13:48:24 -05:00
parent 5611f594c7
commit 0cebe7e5d9
3 changed files with 7 additions and 92 deletions

View File

@@ -277,7 +277,13 @@ public abstract class AudioBroadcaster implements IAudioPacketListener
if(!connected())
{
mAudioRecordingQueue.clear();
StreamableAudioRecording recording = mAudioRecordingQueue.poll();
while(recording != null)
{
removeRecording(recording);
recording = mAudioRecordingQueue.poll();
}
}
}
}