{"action":"created","issue":{"url":"https://api.github.com/repos/monzo/cameraview/issues/1","repository_url":"https://api.github.com/repos/monzo/cameraview","labels_url":"https://api.github.com/repos/monzo/cameraview/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/monzo/cameraview/issues/1/comments","events_url":"https://api.github.com/repos/monzo/cameraview/issues/1/events","html_url":"https://github.com/monzo/cameraview/pull/1","id":178867881,"number":1,"title":"Implemented video recording capabilities","user":{"login":"joluet","id":6004861,"avatar_url":"https://avatars.githubusercontent.com/u/6004861?v=3","gravatar_id":"","url":"https://api.github.com/users/joluet","html_url":"https://github.com/joluet","followers_url":"https://api.github.com/users/joluet/followers","following_url":"https://api.github.com/users/joluet/following{/other_user}","gists_url":"https://api.github.com/users/joluet/gists{/gist_id}","starred_url":"https://api.github.com/users/joluet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joluet/subscriptions","organizations_url":"https://api.github.com/users/joluet/orgs","repos_url":"https://api.github.com/users/joluet/repos","events_url":"https://api.github.com/users/joluet/events{/privacy}","received_events_url":"https://api.github.com/users/joluet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"emmaguy","id":1143801,"avatar_url":"https://avatars.githubusercontent.com/u/1143801?v=3","gravatar_id":"","url":"https://api.github.com/users/emmaguy","html_url":"https://github.com/emmaguy","followers_url":"https://api.github.com/users/emmaguy/followers","following_url":"https://api.github.com/users/emmaguy/following{/other_user}","gists_url":"https://api.github.com/users/emmaguy/gists{/gist_id}","starred_url":"https://api.github.com/users/emmaguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmaguy/subscriptions","organizations_url":"https://api.github.com/users/emmaguy/orgs","repos_url":"https://api.github.com/users/emmaguy/repos","events_url":"https://api.github.com/users/emmaguy/events{/privacy}","received_events_url":"https://api.github.com/users/emmaguy/received_events","type":"User","site_admin":false},"assignees":[{"login":"emmaguy","id":1143801,"avatar_url":"https://avatars.githubusercontent.com/u/1143801?v=3","gravatar_id":"","url":"https://api.github.com/users/emmaguy","html_url":"https://github.com/emmaguy","followers_url":"https://api.github.com/users/emmaguy/followers","following_url":"https://api.github.com/users/emmaguy/following{/other_user}","gists_url":"https://api.github.com/users/emmaguy/gists{/gist_id}","starred_url":"https://api.github.com/users/emmaguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmaguy/subscriptions","organizations_url":"https://api.github.com/users/emmaguy/orgs","repos_url":"https://api.github.com/users/emmaguy/repos","events_url":"https://api.github.com/users/emmaguy/events{/privacy}","received_events_url":"https://api.github.com/users/emmaguy/received_events","type":"User","site_admin":false},{"login":"ivacf","id":1452346,"avatar_url":"https://avatars.githubusercontent.com/u/1452346?v=3","gravatar_id":"","url":"https://api.github.com/users/ivacf","html_url":"https://github.com/ivacf","followers_url":"https://api.github.com/users/ivacf/followers","following_url":"https://api.github.com/users/ivacf/following{/other_user}","gists_url":"https://api.github.com/users/ivacf/gists{/gist_id}","starred_url":"https://api.github.com/users/ivacf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivacf/subscriptions","organizations_url":"https://api.github.com/users/ivacf/orgs","repos_url":"https://api.github.com/users/ivacf/repos","events_url":"https://api.github.com/users/ivacf/events{/privacy}","received_events_url":"https://api.github.com/users/ivacf/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2016-09-23T12:47:10Z","updated_at":"2016-09-23T14:06:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/monzo/cameraview/pulls/1","html_url":"https://github.com/monzo/cameraview/pull/1","diff_url":"https://github.com/monzo/cameraview/pull/1.diff","patch_url":"https://github.com/monzo/cameraview/pull/1.patch"},"body":"__Removed Camera1 support__\r\n- Increased `minSdkVersion` to 21\r\n- Deleted `Camera1` class as it uses legacy Camara API that we don't need to support\r\n\r\n__Added video recording__\r\n- Added permission for audio recording\r\n- Extended `Camera2` class to allow video recording\r\n\r\nUsage:\r\n```xml\r\n<com.google.android.cameraview.CameraView android:id=\"@+id/camera\"\r\n                                              android:layout_width=\"match_parent\"\r\n                                              android:layout_height=\"wrap_content\"\r\n                                              android:adjustViewBounds=\"true\"\r\n                                              android:keepScreenOn=\"true\"\r\n                                              app:aspectRatio=\"4:3\"\r\n                                              app:autoFocus=\"true\"\r\n                                              app:facing=\"front\"\r\n                                              app:flash=\"off\"\r\n                                              app:minVideoHeight=\"480\"\r\n                                              app:minVideoWidth=\"640\"\r\n                                              app:videoEncodingBitRate=\"5000000\"\r\n                                              app:videoFrameRate=\"30\"/>\r\n```\r\n```java\r\ncameraView.startRecordingVideo(videoPath);\r\n...\r\ncameraView.stopRecordingVideo();\r\n```"},"comment":{"url":"https://api.github.com/repos/monzo/cameraview/issues/comments/249202358","html_url":"https://github.com/monzo/cameraview/pull/1#issuecomment-249202358","issue_url":"https://api.github.com/repos/monzo/cameraview/issues/1","id":249202358,"user":{"login":"emmaguy","id":1143801,"avatar_url":"https://avatars.githubusercontent.com/u/1143801?v=3","gravatar_id":"","url":"https://api.github.com/users/emmaguy","html_url":"https://github.com/emmaguy","followers_url":"https://api.github.com/users/emmaguy/followers","following_url":"https://api.github.com/users/emmaguy/following{/other_user}","gists_url":"https://api.github.com/users/emmaguy/gists{/gist_id}","starred_url":"https://api.github.com/users/emmaguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emmaguy/subscriptions","organizations_url":"https://api.github.com/users/emmaguy/orgs","repos_url":"https://api.github.com/users/emmaguy/repos","events_url":"https://api.github.com/users/emmaguy/events{/privacy}","received_events_url":"https://api.github.com/users/emmaguy/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T14:06:32Z","updated_at":"2016-09-23T14:06:32Z","body":"LGTM 👍 "}}
{"actor":{"display_login":"emmaguy"}}