Commit Graph

33 Commits

Author SHA1 Message Date
Cameron Gutman 4d5849f448 Add UI indications of the connection status and failure 2013-11-23 01:03:37 -05:00
Cameron Gutman d00474c1cd Fix warning. 2013-11-22 00:31:39 -05:00
Cameron Gutman 80fdae3673 Request an IDR frame if a previous frame was lost or 2013-11-21 19:55:40 -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 bd6338730d Don't decode video on the emulator for performance reasons. 2013-11-20 01:33:38 -05:00
Cameron Gutman f672befaa7 Revert an earlier commit that introduced a bug that caused initialization to crash 2013-11-20 00:59:12 -05:00
Cameron Gutman 34905dd01e Fix crashes caused by rendering to a surface on teardown 2013-11-20 00:32:37 -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 0504bed5e9 Fix ffmpeg library loading. Create a DecoderRenderer interface and use it to move the MediaCodec code into for Qualcomm devices. 2013-11-19 02:49:33 -05:00
Cameron Gutman 10165f3166 Fix frame pacing issues on Snapdragon. Improve latency on Tegra (not perfect still). 2013-11-15 23:42:00 -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 b34da27fbd Fix an unclosed closeable. 2013-11-10 17:12:52 -05:00
Cameron Gutman b56f25232e Start pinging earlier so Shield Proxy knows where to send the reference frame 2013-11-10 16:23:55 -05:00
Cameron Gutman 7cebdea25c Add large heap attribute. Fix a warning 2013-11-10 15:28:04 -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 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 0a445b9add Properly terminate threads when the game activity exits. 2013-11-10 01:30:55 -05:00
Cameron Gutman 34e87ca899 Rename AvBufferX -> AvByteBufferX and create AvShortBufferX 2013-11-10 03:42:29 -05:00
Cameron Gutman d3b9387c37 Refactor AV code 2013-11-09 19:20:49 -05: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 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
Cameron Gutman 752c0346ae WIP video. Remove WRITE_EXTERNAL_STORAGE permission. 2013-09-26 01:00:18 -04:00
Diego Waxemberg 53f2c3f37a made some changes in hopes that the video stream will work better 2013-09-25 00:46:22 -04:00
Cameron Gutman e8b6158a87 Initial video code and RTP library. 2013-09-22 08:06:16 -04:00
Cameron Gutman 3aad899a07 Fix video stream reception. Remove debugging info. 2013-09-22 03:22:58 -04:00
Cameron Gutman fcdc23eeb7 Add implementation of http negotiation, handshake, control, and input packets 2013-09-21 18:51:48 -04:00