15 Commits

Author SHA1 Message Date
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
16d629f5cf Remove jlibrtp (finally). CPU decoding support (works great on Tegra 4, not so well on Tegra 3) 2013-11-20 00:00:00 -05:00
Cameron Gutman
aa4e07ea2f Free audio packets back to the packet pool after decoding. 2013-11-12 02:19:58 -05:00
Cameron Gutman
83ad55e436 Fix some ANRs and force-close errors when connection failures occur. 2013-11-11 17:21:50 -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
ac1380bd4c Fix force-close if the stream is aborted before RTP is connected. Fix address already in use exception on RTCP socket. 2013-11-10 05:49:00 -05:00
Cameron Gutman
c631649867 Fix order of initialization of streams. 2013-11-10 02:53:19 -05:00
Cameron Gutman
0a445b9add Properly terminate threads when the game activity exits. 2013-11-10 01:30:55 -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
3aad899a07 Fix video stream reception. Remove debugging info. 2013-09-22 03:22:58 -04:00
Cameron Gutman
aa4376f3d7 Do proper activity transitions. Send controller input to the streaming PC. 2013-09-21 20:40:38 -04:00
Cameron Gutman
fcdc23eeb7 Add implementation of http negotiation, handshake, control, and input packets 2013-09-21 18:51:48 -04:00