{"action":"opened","issue":{"url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/1186","repository_url":"https://api.github.com/repos/ResearchKit/ResearchKit","labels_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/1186/labels{/name}","comments_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/1186/comments","events_url":"https://api.github.com/repos/ResearchKit/ResearchKit/issues/1186/events","html_url":"https://github.com/ResearchKit/ResearchKit/issues/1186","id":369392519,"node_id":"MDU6SXNzdWUzNjkzOTI1MTk=","number":1186,"title":"ORKVideoCaptureStep inconsistent behavior","user":{"login":"cmetts","id":125992,"node_id":"MDQ6VXNlcjEyNTk5Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/125992?v=4","gravatar_id":"","url":"https://api.github.com/users/cmetts","html_url":"https://github.com/cmetts","followers_url":"https://api.github.com/users/cmetts/followers","following_url":"https://api.github.com/users/cmetts/following{/other_user}","gists_url":"https://api.github.com/users/cmetts/gists{/gist_id}","starred_url":"https://api.github.com/users/cmetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmetts/subscriptions","organizations_url":"https://api.github.com/users/cmetts/orgs","repos_url":"https://api.github.com/users/cmetts/repos","events_url":"https://api.github.com/users/cmetts/events{/privacy}","received_events_url":"https://api.github.com/users/cmetts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-12T04:13:04Z","updated_at":"2018-10-12T04:13:04Z","closed_at":null,"author_association":"NONE","body":"Hello, I have ORKVideoCaptureStep working in my app, but it acts strangely....\r\n\r\n- It does not always obey the value provided for duration. Sometimes it is correct, other times it in 20 minutes, and other times it is less than a second. This is with me setting duration to 10.\r\n\r\n- The \"stop capture\" button never works correctly. I must hit it repeatedly, in rapid succession, to get it to work. It is acting as if the thread is too busy because of capture to respond. The delegate stop method is only called on the click that finally works.\r\n\r\nORKCatalog version works fine. I do not see a difference in my code below and what is done there.\r\n\r\nAny ideas?\r\n\r\nThanks,\r\n\r\nChris\r\nORKVideoCaptureStep *step = [[ORKVideoCaptureStep alloc] initWithIdentifier:theInteractionEntity.field_name];\r\n\r\n                        step.devicePosition = AVCaptureDevicePositionFront;\r\n                        \r\n                        step.title = @\"Video Capture\";\r\n                        \r\n                        step.duration = [NSNumber numberWithInt:10];\r\n                        \r\n                        [stepArray addObject:step];"}}
{"actor":{"display_login":"cmetts"}}