20 Commits

Author SHA1 Message Date
Cameron Gutman
aa4e07ea2f Free audio packets back to the packet pool after decoding. 2013-11-12 02:19:58 -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
fc66caf567 Revert unintended change 2013-11-10 15:21:58 -05:00
Cameron Gutman
e507f4abfb Remove some unneccessary checks and repurpose an old method. 2013-11-10 14:45:28 -05:00
Cameron Gutman
54e365a304 Fix video buffer pool usage. 2013-11-10 03:29:44 -05:00
Cameron Gutman
d5665ac318 Fix decoding of misaligned start sequences. 2013-11-10 02:53:51 -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
Cameron Gutman
d3b9387c37 Refactor AV code 2013-11-09 19:20:49 -05:00
Cameron Gutman
14cf3b7343 Add code to print a buffer descriptor. 2013-11-04 21:44:27 -05:00
Cameron Gutman
1454ade3d2 Fix OOS bug with packet 32768 2013-10-31 00:06:54 -04:00
Cameron Gutman
e067669044 Stage WIP audio support 2013-10-30 22:23:11 -04:00
Cameron Gutman
9e09ca2b7a WIP: Add RTP class. Massive refactoring of NvVideoStream. Rename AvParser to AvDepacketizer. Begin parsing other special NAL sequences. 2013-10-30 20:14:54 -04:00
Cameron Gutman
303ffaa8a3 Add a copy constructor for the buffer descriptor class 2013-10-30 18:21:12 -04:00
Cameron Gutman
8ba9d8cfc8 Disable putting buffers back in the pool until the double-free issue gets resolved 2013-10-30 04:32:20 -04:00
Cameron Gutman
e5126ebe01 Use a packet buffer pool to reduce memory pressure 2013-10-29 21:39:57 -04:00
Cameron Gutman
e6af9df142 Rewrite video support so that it actually works. Add a janky NAL parser dissector. 2013-10-29 20:18:22 -04:00