Drop audio frames if the backlog becomes too large. Trim buffer pools when memory runs low. Optimize AVC decoding a bit more.

This commit is contained in:
Cameron Gutman
2013-11-10 15:25:00 -05:00
parent fc66caf567
commit 524cab4115
8 changed files with 80 additions and 18 deletions
@@ -105,6 +105,11 @@ public class NvAudioStream {
session.addParticipant(new Participant(host, RTP_PORT, 0));
}
public void trim()
{
depacketizer.trim();
}
private void setupAudio()
{
int channelConfig;