{"action":"created","issue":{"url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/12","labels_url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/12/comments","events_url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/12/events","html_url":"https://github.com/diablodale/dp.kinect2/issues/12","id":96384492,"number":12,"title":"Kinect Development without a Kinect Issue","user":{"login":"jamesthian","id":6117630,"avatar_url":"https://avatars.githubusercontent.com/u/6117630?v=3","gravatar_id":"","url":"https://api.github.com/users/jamesthian","html_url":"https://github.com/jamesthian","followers_url":"https://api.github.com/users/jamesthian/followers","following_url":"https://api.github.com/users/jamesthian/following{/other_user}","gists_url":"https://api.github.com/users/jamesthian/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesthian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesthian/subscriptions","organizations_url":"https://api.github.com/users/jamesthian/orgs","repos_url":"https://api.github.com/users/jamesthian/repos","events_url":"https://api.github.com/users/jamesthian/events{/privacy}","received_events_url":"https://api.github.com/users/jamesthian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-21T18:26:10Z","updated_at":"2015-07-22T12:05:03Z","closed_at":null,"body":"Set up:\r\n-Windows 8.1 x64 via Bootcamp on Macbook Pro Retina, 500GB SSD, 16GB Ram, Intel chip set\r\nAND Windows 8.1 on z400 Workstation, Intel Xeon, x64 OS and processor, 18 GB RAM\r\n-SDK Browser v2.0 and Kinect Studio v2.0 installed on both.\r\n-Max 6.1.7 installed on the workstation, Max 7.0 installed on the macbook. Both unregistered. \r\n-dp.kinect2 registered and installed\r\n\r\nSteps:\r\nOpen the XEF file in Studio.\r\nGo to the PLAY tab\r\nClick the Connect to Service button\r\nClick PLAY\r\n\r\nOpen Max patch with dp.kinect2 object (the one provided in the download). \r\nClick toggle/open. \r\n\r\nResult:\r\nMax freezes and goes unresponsive. \r\n\r\nExpected:\r\nthe dp.kinect2 object to show the streams from Kinect Studio v2.0, as per Kinect Development with out a Kinect (http://blogs.interknowlogy.com/2015/01/14/kinect-development-without-a-kinect/)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/comments/123695965","html_url":"https://github.com/diablodale/dp.kinect2/issues/12#issuecomment-123695965","issue_url":"https://api.github.com/repos/diablodale/dp.kinect2/issues/12","id":123695965,"user":{"login":"diablodale","id":679350,"avatar_url":"https://avatars.githubusercontent.com/u/679350?v=3","gravatar_id":"","url":"https://api.github.com/users/diablodale","html_url":"https://github.com/diablodale","followers_url":"https://api.github.com/users/diablodale/followers","following_url":"https://api.github.com/users/diablodale/following{/other_user}","gists_url":"https://api.github.com/users/diablodale/gists{/gist_id}","starred_url":"https://api.github.com/users/diablodale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diablodale/subscriptions","organizations_url":"https://api.github.com/users/diablodale/orgs","repos_url":"https://api.github.com/users/diablodale/repos","events_url":"https://api.github.com/users/diablodale/events{/privacy}","received_events_url":"https://api.github.com/users/diablodale/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T12:05:03Z","updated_at":"2015-07-22T12:05:03Z","body":"When opening the Kinect with dp.kinect2, there is a multisecond pause/hang while the code looks for the Kinect or Kinect Studio. When using Studio, the pause can be longer than with a physically connected Kinect due to workarounds for Microsoft bugs. During this pause/hang, Max cmay be unresponsive. It should never be more than 11 seconds.\r\n\r\nAfter dp.kinect2 tries to find a physical Kinect or Kinect Studio, it proceeds with the data output requested...or reports a failure.\r\n\r\nThe XEF file you provided has only the body joints, depth, and IR. It does not have color data recorded. This is relevant. Why? Because the demo patch wants color data to be output. Since there is no color data available in the recorded stream, you will get no data of any visual type output because the requested visual data is sync'd with each other. If one is not available, then nothing is output. Try enabling @verbose=1 and you will likely see a repeating error declaring no data available.\r\n\r\nI recommend that you disable the color data output on the demo patch by removing @colormap=3. Or...record the color (and other) data so that it matches your output needs/settings on dp.kinect2.\r\n\r\nTo reproduce and isolate what I describe above, I used Max 6.1.9 64-bit on Windows 8.1 x64. Then with the v1.0.1.0 dp.kinect2 64-bit, the demo patch, and your XEF file.\r\n\r\nDoes this explain your experience and provide a resolution?\r\nI did encounter a few second hang in Max while dp.kinect2 searched for Kinect Studio"}}