{"action":"opened","issue":{"url":"https://api.github.com/repos/card-io/card.io-iOS-source/issues/20","labels_url":"https://api.github.com/repos/card-io/card.io-iOS-source/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/card-io/card.io-iOS-source/issues/20/comments","events_url":"https://api.github.com/repos/card-io/card.io-iOS-source/issues/20/events","html_url":"https://github.com/card-io/card.io-iOS-source/issues/20","id":66260143,"number":20,"title":"resolution is low, let user specify the sessionPreset?","user":{"login":"kevin-zqw","id":895581,"avatar_url":"https://avatars.githubusercontent.com/u/895581?v=3","gravatar_id":"","url":"https://api.github.com/users/kevin-zqw","html_url":"https://github.com/kevin-zqw","followers_url":"https://api.github.com/users/kevin-zqw/followers","following_url":"https://api.github.com/users/kevin-zqw/following{/other_user}","gists_url":"https://api.github.com/users/kevin-zqw/gists{/gist_id}","starred_url":"https://api.github.com/users/kevin-zqw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevin-zqw/subscriptions","organizations_url":"https://api.github.com/users/kevin-zqw/orgs","repos_url":"https://api.github.com/users/kevin-zqw/repos","events_url":"https://api.github.com/users/kevin-zqw/events{/privacy}","received_events_url":"https://api.github.com/users/kevin-zqw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-04T01:19:41Z","updated_at":"2015-04-04T01:19:41Z","closed_at":null,"body":"`#define kCaptureSessionDefaultPresetResolution AVCaptureSessionPreset640x480`\r\n\r\n`// If we ever want to use higher resolution images, this is a good place to do that.`\r\n`//    if ([self.captureSession canSetSessionPreset:AVCaptureSessionPreset1920x1080]) {`\r\n`//      self.captureSession.sessionPreset = AVCaptureSessionPreset1920x1080;`\r\n`//    }`\r\n`//    else`\r\n`//    if ([self.captureSession canSetSessionPreset:AVCaptureSessionPreset1280x720]) {`\r\n`//      self.captureSession.sessionPreset = AVCaptureSessionPreset1280x720;`\r\n`//    }`\r\n`//  }`\r\n\r\n`[self.captureSession addInput:self.cameraInput];`\r\n`self.captureSession.sessionPreset = kCaptureSessionDefaultPresetResolution;`\r\n\r\nShould I turn these parts of code into a public interface?\r\n"}}