[Shield General] danielb7390:
On tablet i get a "connection ended unexpectedly" after "getting video stream"

On my mini pc after "getting video stream" it just goes back to the UI or gives the same message as the tablet!

And no, its not problem of the pc yesterday i compiled the master branch and it worked with its crazy blocky video :)

EDIT:

A log:

11-23 12:34:13.963: V/NvmDNS Wait(15908): Woke up from sleep
11-23 12:34:13.963: V/NvmDNS Wait(15908): Socket Closed
11-23 12:34:13.973: E/NvmDNS Response(15908): The socket was closed on us. The timer must have been reached.
11-23 12:34:13.973: V/NvmDNS ASync(15908): doInBackground exit
11-23 12:34:13.983: V/NvmDNS ASync(15908): onPostExecute
11-23 12:34:16.923: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:16.923: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:16.973: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:16.983: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:18.213: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:18.213: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:18.283: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:18.283: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:19.253: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:19.253: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:19.293: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:19.303: E/SpannableStringBuilder(15908): SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
11-23 12:34:22.733: D/dalvikvm(15908): GC_FOR_ALLOC freed 242K, 13% free 2824K/3228K, paused 15ms, total 17ms
11-23 12:34:22.733: I/dalvikvm-heap(15908): Grow heap (frag case) to 3.177MB for 281896-byte allocation
11-23 12:34:22.753: D/dalvikvm(15908): GC_FOR_ALLOC freed 1K, 12% free 3098K/3504K, paused 21ms, total 21ms
11-23 12:34:22.883: D/dalvikvm(15908): GC_CONCURRENT freed 347K, 17% free 3159K/3764K, paused 9ms+10ms, total 76ms
11-23 12:34:22.883: D/dalvikvm(15908): WAIT_FOR_CONCURRENT_GC blocked 52ms
11-23 12:34:23.013: D/dalvikvm(15908): GC_CONCURRENT freed 390K, 16% free 3198K/3796K, paused 2ms+2ms, total 38ms
11-23 12:34:30.323: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.mp4.decode
11-23 12:34:30.323: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.h263.decode
11-23 12:34:30.323: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.h264.decode
11-23 12:34:30.323: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.mp3.decoder
11-23 12:34:30.333: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.mp3.decoder
11-23 12:34:30.333: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.eaacp.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.wma.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.vc1.decode
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.mjpeg.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.h264.decode.secure
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.bypass.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.Nvidia.bypass.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.mp3.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.amrnb.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.amrwb.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.aac.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.g711.alaw.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.g711.mlaw.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.vorbis.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.mpeg4.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.h263.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.h264.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.vpx.decoder
11-23 12:34:30.343: I/System.out(15908): Blacklisted decoder: OMX.google.raw.decoder
11-23 12:34:30.353: D/dalvikvm(15908): Trying to load lib /data/app-lib/com.limelight-1/libavutil-52.so 0x40f06a88
11-23 12:34:30.363: D/dalvikvm(15908): Added shared lib /data/app-lib/com.limelight-1/libavutil-52.so 0x40f06a88
11-23 12:34:30.363: D/dalvikvm(15908): No JNI_OnLoad found in /data/app-lib/com.limelight-1/libavutil-52.so 0x40f06a88, skipping init
11-23 12:34:30.363: D/dalvikvm(15908): Trying to load lib /data/app-lib/com.limelight-1/libswresample-0.so 0x40f06a88
11-23 12:34:30.363: D/dalvikvm(15908): Added shared lib /data/app-lib/com.limelight-1/libswresample-0.so 0x40f06a88
11-23 12:34:30.363: D/dalvikvm(15908): No JNI_OnLoad found in /data/app-lib/com.limelight-1/libswresample-0.so 0x40f06a88, skipping init
11-23 12:34:30.363: D/dalvikvm(15908): Trying to load lib /data/app-lib/com.limelight-1/libswscale-2.so 0x40f06a88
11-23 12:34:30.363: D/dalvikvm(15908): Added shared lib /data/app-lib/com.limelight-1/libswscale-2.so 0x40f06a88
11-23 12:34:30.363: D/dalvikvm(15908): No JNI_OnLoad found in /data/app-lib/com.limelight-1/libswscale-2.so 0x40f06a88, skipping init
11-23 12:34:30.363: D/dalvikvm(15908): Trying to load lib /data/app-lib/com.limelight-1/libavcodec-55.so 0x40f06a88
11-23 12:34:30.373: D/dalvikvm(15908): Added shared lib /data/app-lib/com.limelight-1/libavcodec-55.so 0x40f06a88
11-23 12:34:30.373: D/dalvikvm(15908): No JNI_OnLoad found in /data/app-lib/com.limelight-1/libavcodec-55.so 0x40f06a88, skipping init
11-23 12:34:30.373: D/dalvikvm(15908): Trying to load lib /data/app-lib/com.limelight-1/libavformat-55.so 0x40f06a88
11-23 12:34:30.383: D/dalvikvm(15908): Added shared lib /data/app-lib/com.limelight-1/libavformat-55.so 0x40f06a88
11-23 12:34:30.383: D/dalvikvm(15908): No JNI_OnLoad found in /data/app-lib/com.limelight-1/libavformat-55.so 0x40f06a88, skipping init
11-23 12:34:30.393: D/dalvikvm(15908): Trying to load lib /data/app-lib/com.limelight-1/libavfilter-3.so 0x40f06a88
11-23 12:34:30.393: D/dalvikvm(15908): Added shared lib /data/app-lib/com.limelight-1/libavfilter-3.so 0x40f06a88
11-23 12:34:30.393: D/dalvikvm(15908): No JNI_OnLoad found in /data/app-lib/com.limelight-1/libavfilter-3.so 0x40f06a88, skipping init
11-23 12:34:30.393: D/dalvikvm(15908): Trying to load lib /data/app-lib/com.limelight-1/libnv_avc_dec.so 0x40f06a88
11-23 12:34:30.393: D/dalvikvm(15908): Added shared lib /data/app-lib/com.limelight-1/libnv_avc_dec.so 0x40f06a88
11-23 12:34:30.393: D/dalvikvm(15908): No JNI_OnLoad found in /data/app-lib/com.limelight-1/libnv_avc_dec.so 0x40f06a88, skipping init
11-23 12:34:30.443: I/System.out(15908): Using software decoding (performance level: 1)
11-23 12:34:30.523: I/System.out(15908): Codec config
11-23 12:34:30.523: I/System.out(15908): Codec config
11-23 12:34:30.543: W/dalvikvm(15908): threadid=17: thread exiting with uncaught exception (group=0x40c78930)
11-23 12:34:30.543: E/AndroidRuntime(15908): FATAL EXCEPTION: Thread-3206
11-23 12:34:30.543: E/AndroidRuntime(15908): java.util.ConcurrentModificationException
11-23 12:34:30.543: E/AndroidRuntime(15908):	at java.util.LinkedList$LinkIterator.next(LinkedList.java:124)
11-23 12:34:30.543: E/AndroidRuntime(15908):	at com.limelight.nvstream.NvVideoStream.abort(NvVideoStream.java:81)
11-23 12:34:30.543: E/AndroidRuntime(15908):	at com.limelight.nvstream.NvConnection.stop(NvConnection.java:107)
11-23 12:34:30.543: E/AndroidRuntime(15908):	at com.limelight.Game.connectionTerminated(Game.java:486)
11-23 12:34:30.543: E/AndroidRuntime(15908):	at com.limelight.nvstream.NvVideoStream$3.run(NvVideoStream.java:254)
11-23 12:34:30.563: D/dalvikvm(15908): Trying to load lib /data/app-lib/com.limelight-1/libnv_opus_dec.so 0x40f06a88
11-23 12:34:30.563: D/dalvikvm(15908): Added shared lib /data/app-lib/com.limelight-1/libnv_opus_dec.so 0x40f06a88
11-23 12:34:30.563: D/dalvikvm(15908): No JNI_OnLoad found in /data/app-lib/com.limelight-1/libnv_opus_dec.so 0x40f06a88, skipping init
11-23 12:34:30.583: E/NVAVCDEC(15908): Decode failed
11-23 12:34:30.653: D/dalvikvm(15908): GC_CONCURRENT freed 281K, 12% free 3354K/3792K, paused 3ms+10ms, total 45ms

Other tests i did:

80fdae36732e00bfd8d11485746c2e7a5fc71614 ([url]https://github.com/cgutman/limelight/commit/80fdae36732e00bfd8d11485746c2e7a5fc71614[/url])
Crash! Soft decode, gets 1second audio then crash.
11-23 14:16:40.599: E/AndroidRuntime(21559): FATAL EXCEPTION: Thread-3618
11-23 14:16:40.599: E/AndroidRuntime(21559): java.util.ConcurrentModificationException
11-23 14:16:40.599: E/AndroidRuntime(21559):	at java.util.LinkedList$LinkIterator.next(LinkedList.java:124)
11-23 14:16:40.599: E/AndroidRuntime(21559):	at com.limelight.nvstream.NvVideoStream.abort(NvVideoStream.java:77)
11-23 14:16:40.599: E/AndroidRuntime(21559):	at com.limelight.nvstream.NvVideoStream$4.run(NvVideoStream.java:274)
11-23 14:16:40.619: E/NVAVCDEC(21559): Decode failed

e52b85a88336daec6a8a18b345fa2b8d6cc25abb([url]https://github.com/cgutman/limelight/commit/e52b85a88336daec6a8a18b345fa2b8d6cc25abb[/url])
Software decoding, video works well!! BUT No sound!

6bb215eddf55f82318883a561cc8ecd09d9004c0([url]https://github.com/cgutman/limelight/commit/6bb215eddf55f82318883a561cc8ecd09d9004c0[/url])
Software decode, video works,no sound. Some errors!
11-23 14:22:01.368: I/System.out(21964): Using software decoding (performance level: 1)
11-23 14:22:01.368: I/System.out(21964): RECV BUF: 110592
11-23 14:22:01.368: I/System.out(21964): SEND BUF: 110592
11-23 14:22:01.368: I/System.out(21964): VID: Waiting for first frame
11-23 14:22:02.008: I/System.out(21964): CTL: Sending and waiting for 1405
11-23 14:22:02.008: I/System.out(21964): CTL: Launching heartbeat thread
11-23 14:22:02.028: I/System.out(21964): Starting input
11-23 14:22:02.138: I/System.out(21964): VID: First frame read (98 bytes)
11-23 14:22:02.138: I/System.out(21964): Codec config
11-23 14:22:02.138: I/System.out(21964): Codec config
11-23 14:22:02.168: I/System.out(21964): Codec config
11-23 14:22:02.168: I/System.out(21964): Codec config
11-23 14:22:02.168: I/System.out(21964): Codec config
11-23 14:22:02.168: I/System.out(21964): Codec config
11-23 14:22:02.168: I/System.out(21964): Codec config
11-23 14:22:02.168: I/System.out(21964): Codec config
11-23 14:22:02.168: I/System.out(21964): Codec config
11-23 14:22:02.188: E/NVAVCDEC(21964): Decode failed
11-23 14:22:02.198: I/System.out(21964): Reference frame
11-23 14:22:02.198: E/NVAVCDEC(21964): Decode failed
11-23 14:22:02.218: E/NVAVCDEC(21964): Decode failed
11-23 14:22:02.218: E/NVAVCDEC(21964): Decode failed
11-23 14:22:02.218: E/NVAVCDEC(21964): Decode failed
11-23 14:22:02.218: E/NVAVCDEC(21964): Decode failed
11-23 14:22:02.218: E/NVAVCDEC(21964): Decode failed
11-23 14:22:02.228: E/NVAVCDEC(21964): Decode failed
11-23 14:22:02.238: E/NVAVCDEC(21964): Decode failed

ab9b7b5164d915af6b667284e7a2b286c2f88320
No video,no audio,controller works.

45664dac2aaa1920a145c4ea233f219a297b0fa7
No video,no audio,controller works.

54839e672d1c5870960c7bb277c77feb8f665ecc
Video OK, no audio.