{"action":"created","issue":{"url":"https://api.github.com/repos/xyzz/vita-moonlight/issues/66","repository_url":"https://api.github.com/repos/xyzz/vita-moonlight","labels_url":"https://api.github.com/repos/xyzz/vita-moonlight/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/xyzz/vita-moonlight/issues/66/comments","events_url":"https://api.github.com/repos/xyzz/vita-moonlight/issues/66/events","html_url":"https://github.com/xyzz/vita-moonlight/issues/66","id":185045619,"number":66,"title":"Failed to start stream: error code -1","user":{"login":"bam2000","id":3383462,"avatar_url":"https://avatars.githubusercontent.com/u/3383462?v=3","gravatar_id":"","url":"https://api.github.com/users/bam2000","html_url":"https://github.com/bam2000","followers_url":"https://api.github.com/users/bam2000/followers","following_url":"https://api.github.com/users/bam2000/following{/other_user}","gists_url":"https://api.github.com/users/bam2000/gists{/gist_id}","starred_url":"https://api.github.com/users/bam2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bam2000/subscriptions","organizations_url":"https://api.github.com/users/bam2000/orgs","repos_url":"https://api.github.com/users/bam2000/repos","events_url":"https://api.github.com/users/bam2000/events{/privacy}","received_events_url":"https://api.github.com/users/bam2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-10-25T08:04:10Z","updated_at":"2016-11-06T21:10:56Z","closed_at":null,"body":"Please provide the following info.\n\n**_NVidia Geforce Experience version:_** 2.2.3\n**Moonlight Embedded version:** 0.1.0\n**Moonlight Embedded running on:** Vita, iOS 10\n\n**Output of Moonlight Embedded:** \n\n**What is the expected result?**\nStream starting\n**What happens instead of that?**\nFailed to start stream: error code -1\nfailed stage: rtsp handshake \n(Error code -1)\n\nFirst of I have to use a old version of GeForce experience since my gt650m is not supported native.\nSo i use a modified version 2.2.3\nWith moonlight Alpha 6 while installing everything i got a connection with my vita and it worked.\nSince 0.1.0 I get the error above, and when i downgrade to Alpha 6I also get the error message.\nI have also installed moonlight on my iPad and it's connecting just fine no error. So I have to assume that's a problem with the vita version of moonlight.\n\nI really hope someone can help me find the problem.\n"},"comment":{"url":"https://api.github.com/repos/xyzz/vita-moonlight/issues/comments/258710971","html_url":"https://github.com/xyzz/vita-moonlight/issues/66#issuecomment-258710971","issue_url":"https://api.github.com/repos/xyzz/vita-moonlight/issues/66","id":258710971,"user":{"login":"cgutman","id":2695644,"avatar_url":"https://avatars.githubusercontent.com/u/2695644?v=3","gravatar_id":"","url":"https://api.github.com/users/cgutman","html_url":"https://github.com/cgutman","followers_url":"https://api.github.com/users/cgutman/followers","following_url":"https://api.github.com/users/cgutman/following{/other_user}","gists_url":"https://api.github.com/users/cgutman/gists{/gist_id}","starred_url":"https://api.github.com/users/cgutman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgutman/subscriptions","organizations_url":"https://api.github.com/users/cgutman/orgs","repos_url":"https://api.github.com/users/cgutman/repos","events_url":"https://api.github.com/users/cgutman/events{/privacy}","received_events_url":"https://api.github.com/users/cgutman/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T21:10:56Z","updated_at":"2016-11-06T21:10:56Z","body":"@d3m3vilurr This definitely looks like a bug in the sockets implementation. Moonlight-common-c places TCP sockets in non-blocking mode using FIONBIO to allow the connect() operation to timeout out if necessary, however it sets the sockets back to blocking mode before returning from connectTcpSocket(). See the code here: https://github.com/moonlight-stream/moonlight-common-c/blob/master/src/PlatformSockets.c#L229\r\n\r\nThe socket appears to still be in non-blocking mode when recv() is called, which is certainly the cause of the failure."}}
{"actor":{"display_login":"cgutman"}}