2135 Commits

Author SHA1 Message Date
Cameron Gutman
690df6e42c Add armeabi and x86 versions of libopus.a and build the libnv_opus_dec.so shared library for those platforms. Update armeabi-v7a library. Libopus.a binaries from https://github.com/brooss/krcam 2013-11-14 15:17:02 -05:00
Cameron Gutman
ae65bbe3ca Add Moga controller support. 2013-11-12 03:10:23 -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
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
77786f9693 Display a warning if the active connection is metered. Find a proper MAC address for pairing (might require re-pair). Fix a possible infinite loop in the NvControl code. 2013-11-11 18:42:07 -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
4d80373f25 Shutdown streaming when the input connection breaks 2013-11-11 15:40:16 -05:00
Cameron Gutman
08f8942548 Fix Xbox 360 controller D-pad 2013-11-11 15:39:55 -05:00
Cameron Gutman
b34da27fbd Fix an unclosed closeable. 2013-11-10 17:12:52 -05:00
Cameron Gutman
8802e05f27 Change target SDK to KitKat. Use immersive mode for streaming on KitKat devices. 2013-11-10 17:12:34 -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
745da05ad3 Fix back button press on the soft UI buttons. Make back+start emulate the steam overlay button. 2013-11-10 15:59:13 -05:00
Cameron Gutman
c9ad9ab407 Remove a straggling println 2013-11-10 15:57:05 -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
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
20514a7ce8 Remove the default host IP address. 2013-11-10 05:49:33 -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
61ae83337c Remove useless code. 2013-11-10 01:28:19 -05:00
Cameron Gutman
47ea18b882 Fix the back button on the Xbox controller 2013-11-10 05:12:31 -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
33c63a3bb8 Move libopus to the proper directory 2013-11-09 19:46:02 -05:00
Cameron Gutman
2d7be4276f Add libopus.a for ARMv7 from https://github.com/muromec/tcsip 2013-11-09 19:34:15 -05:00
Cameron Gutman
d3b9387c37 Refactor AV code 2013-11-09 19:20:49 -05:00
Cameron Gutman
9b91543c2d Handle the case where the MAC address cannot be retreived for some interface 2013-11-05 11:54:08 -05:00
Cameron Gutman
7704ceb32b Remove the list view from the connection activity. 2013-11-05 11:53:41 -05:00
Andrew Hennessy
bc088fd338 Upon Creation of NvComputer figure out pair state 2013-11-04 22:05:47 -05:00
Cameron Gutman
14cf3b7343 Add code to print a buffer descriptor. 2013-11-04 21:44:27 -05:00
Cameron Gutman
baf01b93e3 Fix crash in onPause(). Fix IP address display in nvComputer.toString(). Increase mDNS response timeout to 1 second. 2013-11-04 21:41:00 -05:00
Cameron Gutman
43e4af0c8b Remove dnsjava from classpath 2013-11-04 21:05:14 -05:00
Aaron Neyer
cbc44f674e why were those even there? 2013-11-04 20:58:04 -05:00
Andrew Hennessy
82aa5730bd Finished the rewrite of mDNS 2013-11-04 19:34:40 -05:00
Andrew Hennessy
7038384d36 mDNS no longer crashes on malformed packets 2013-11-04 17:13:13 -05:00
Andrew Hennessy
1d5adff0d5 Improved mDNS response 2013-11-04 14:19:09 -05:00
Andrew Hennessy
960d3ac319 Improved NvMDNS coding 2013-11-04 14:18:18 -05:00
Aaron Neyer
f179010c7e Better XML parsing in NvHTTP
Cleans up some unnecessary code in `NvHTTP` and DRY's it up a bit.
Adds in a `getAppList` function which returns a list of `NvApp`, a class
used to represent applications. This is then used by `getSteamAppId` so
it actually opens up Steam instead of whatever the first app is.
2013-11-04 03:03:25 -05:00
Cameron Gutman
e50f668aaf Add a pair button to the UI. Fix the hardcoded MAC address string. Pass the device model in the pairing request. 2013-11-04 01:43:35 -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