{"action":"created","issue":{"url":"https://api.github.com/repos/jiangdongguo/AndroidUSBCamera/issues/41","repository_url":"https://api.github.com/repos/jiangdongguo/AndroidUSBCamera","labels_url":"https://api.github.com/repos/jiangdongguo/AndroidUSBCamera/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/jiangdongguo/AndroidUSBCamera/issues/41/comments","events_url":"https://api.github.com/repos/jiangdongguo/AndroidUSBCamera/issues/41/events","html_url":"https://github.com/jiangdongguo/AndroidUSBCamera/issues/41","id":323945333,"number":41,"title":"关于打开app自动适配到最大分辨率","user":{"login":"SymphonyZhang","id":15612734,"avatar_url":"https://avatars0.githubusercontent.com/u/15612734?v=4","gravatar_id":"","url":"https://api.github.com/users/SymphonyZhang","html_url":"https://github.com/SymphonyZhang","followers_url":"https://api.github.com/users/SymphonyZhang/followers","following_url":"https://api.github.com/users/SymphonyZhang/following{/other_user}","gists_url":"https://api.github.com/users/SymphonyZhang/gists{/gist_id}","starred_url":"https://api.github.com/users/SymphonyZhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SymphonyZhang/subscriptions","organizations_url":"https://api.github.com/users/SymphonyZhang/orgs","repos_url":"https://api.github.com/users/SymphonyZhang/repos","events_url":"https://api.github.com/users/SymphonyZhang/events{/privacy}","received_events_url":"https://api.github.com/users/SymphonyZhang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-17T09:36:59Z","updated_at":"2018-05-19T15:47:33Z","closed_at":null,"author_association":"NONE","body":"现在打开摄像头默认分辨率为640x480,怎样才能让app打开时就适配到最大分辨率？之后随用户要求自己更改分辨率。现在所有配置都在onResume()之前做好了，把List<Size> list = mCameraHelper.getSupportedPreviewSizes();这一句放到onResume()中，获取的list为null。能给点思路吗？这句要放哪里才会获取到摄像头所支持的分辨率呢？最好是在还没预览前。"},"comment":{"url":"https://api.github.com/repos/jiangdongguo/AndroidUSBCamera/issues/comments/390413594","html_url":"https://github.com/jiangdongguo/AndroidUSBCamera/issues/41#issuecomment-390413594","issue_url":"https://api.github.com/repos/jiangdongguo/AndroidUSBCamera/issues/41","id":390413594,"user":{"login":"jiangdongguo","id":26385502,"avatar_url":"https://avatars0.githubusercontent.com/u/26385502?v=4","gravatar_id":"","url":"https://api.github.com/users/jiangdongguo","html_url":"https://github.com/jiangdongguo","followers_url":"https://api.github.com/users/jiangdongguo/followers","following_url":"https://api.github.com/users/jiangdongguo/following{/other_user}","gists_url":"https://api.github.com/users/jiangdongguo/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangdongguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangdongguo/subscriptions","organizations_url":"https://api.github.com/users/jiangdongguo/orgs","repos_url":"https://api.github.com/users/jiangdongguo/repos","events_url":"https://api.github.com/users/jiangdongguo/events{/privacy}","received_events_url":"https://api.github.com/users/jiangdongguo/received_events","type":"User","site_admin":false},"created_at":"2018-05-19T15:47:33Z","updated_at":"2018-05-19T15:47:33Z","author_association":"OWNER","body":"我提供了一个void setDefaultPreviewSize(int defaultWidth,int defaultHeight)接口  在InitMonitor之前设置即可"}}
{"actor":{"display_login":"jiangdongguo"}}