{"action":"closed","issue":{"url":"https://api.github.com/repos/zhaoyang21cn/Android_Suixinbo/issues/44","repository_url":"https://api.github.com/repos/zhaoyang21cn/Android_Suixinbo","labels_url":"https://api.github.com/repos/zhaoyang21cn/Android_Suixinbo/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/zhaoyang21cn/Android_Suixinbo/issues/44/comments","events_url":"https://api.github.com/repos/zhaoyang21cn/Android_Suixinbo/issues/44/events","html_url":"https://github.com/zhaoyang21cn/Android_Suixinbo/issues/44","id":171314404,"number":44,"title":"摄像头 FOCUS_MODE_CONTINUOUS_VIDEO 模式设定无效","user":{"login":"suntabu","id":7839044,"avatar_url":"https://avatars.githubusercontent.com/u/7839044?v=3","gravatar_id":"","url":"https://api.github.com/users/suntabu","html_url":"https://github.com/suntabu","followers_url":"https://api.github.com/users/suntabu/followers","following_url":"https://api.github.com/users/suntabu/following{/other_user}","gists_url":"https://api.github.com/users/suntabu/gists{/gist_id}","starred_url":"https://api.github.com/users/suntabu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suntabu/subscriptions","organizations_url":"https://api.github.com/users/suntabu/orgs","repos_url":"https://api.github.com/users/suntabu/repos","events_url":"https://api.github.com/users/suntabu/events{/privacy}","received_events_url":"https://api.github.com/users/suntabu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-16T03:15:06Z","updated_at":"2016-08-16T03:26:16Z","closed_at":"2016-08-16T03:26:16Z","body":"if (bFirstRender) {\r\n//                    mEnterRoomHelper.notifyServerCreateRoom();//TODO:开播成功才通知服务器\r\n\r\n                  \r\n\r\n                    AVVideoCtrl avVideoCtrl = Qavsdk.getInstance().getAVContext().getVideoCtrl();\r\n                    Camera.Parameters para = (Camera.Parameters) avVideoCtrl.getCameraPara();\r\n                    List<String> focusModes = para.getSupportedFocusModes();\r\n                    if (focusModes.contains(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO))\r\n                        para.setFocusMode(Camera.Parameters.FOCUS_MODE_CONTINUOUS_VIDEO);\r\n                    else {\r\n                        log.i(TAG,\"FOCUS_MODE_CONTINUOUS_VIDEO 不支持\");\r\n                    }\r\n                    avVideoCtrl.setCameraPara(para);\r\n                }"}}
{"actor":{"display_login":"suntabu"}}