Commit Graph

11 Commits

Author SHA1 Message Date
Cameron Gutman dd82573d08 Switch from ArrayBlockingQueues to LinkedBlockingQueues for increased throughput. Set thread priorities for the decoder and ping threads. 2013-11-24 19:31:50 -05:00
Cameron Gutman 125bcb370f Limit the size of queues. Switch to a blacklist instead of a whitelist for hardware decoding. Currently, Nvidia, TI, and Google H264 codecs are on the blacklist. Reenable large heap since we're allocating more objects now. 2013-11-23 02:44:10 -05:00
Cameron Gutman 6bb215eddf Remove pooling code due to higher concurrency latency that resulted in a net loss of performance. 2013-11-21 16:40:27 -05:00
Cameron Gutman 1d7460e8b3 Revert "WIP optimization of object allocation and pools. There's currently a double free on the AvByteBufferDescriptor that I'm trying to track down."
This reverts commit 6600329580aace81321220d2e4000099ad27f4f7.
2013-11-21 16:25:10 -05:00
Cameron Gutman 7951c0fa13 WIP optimization of object allocation and pools. There's currently a double free on the AvByteBufferDescriptor that I'm trying to track down. 2013-11-21 12:24:45 -05:00
Cameron Gutman 4eaf68ae58 Lower the buffer size of the Opus decoder based on the data we're actual receiving. Handle invocations of the decoder with null data for packet loss indication. 2013-11-12 02:04:08 -05:00
Cameron Gutman 524cab4115 Drop audio frames if the backlog becomes too large. Trim buffer pools when memory runs low. Optimize AVC decoding a bit more. 2013-11-10 15:25:00 -05:00
Cameron Gutman c631649867 Fix order of initialization of streams. 2013-11-10 02:53:19 -05:00
Cameron Gutman ab61af0cb7 Release decoded data back to the buffer pool 2013-11-10 03:58:48 -05:00
Cameron Gutman 34e87ca899 Rename AvBufferX -> AvByteBufferX and create AvShortBufferX 2013-11-10 03:42:29 -05:00
Cameron Gutman 62a9040cb8 Add a Opus decoder JNI library. Write an audio depacketizer. Audio works! 2013-11-10 03:27:21 -05:00