{"action":"created","issue":{"url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/162","repository_url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java","labels_url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/162/labels{/name}","comments_url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/162/comments","events_url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/162/events","html_url":"https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/162","id":316936874,"number":162,"title":"I can't use Camera2","user":{"login":"LutfiTekin","id":14232911,"avatar_url":"https://avatars2.githubusercontent.com/u/14232911?v=4","gravatar_id":"","url":"https://api.github.com/users/LutfiTekin","html_url":"https://github.com/LutfiTekin","followers_url":"https://api.github.com/users/LutfiTekin/followers","following_url":"https://api.github.com/users/LutfiTekin/following{/other_user}","gists_url":"https://api.github.com/users/LutfiTekin/gists{/gist_id}","starred_url":"https://api.github.com/users/LutfiTekin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LutfiTekin/subscriptions","organizations_url":"https://api.github.com/users/LutfiTekin/orgs","repos_url":"https://api.github.com/users/LutfiTekin/repos","events_url":"https://api.github.com/users/LutfiTekin/events{/privacy}","received_events_url":"https://api.github.com/users/LutfiTekin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-23T18:47:45Z","updated_at":"2018-04-23T19:25:02Z","closed_at":null,"author_association":"NONE","body":"RtmpCamera1 is working fine but when I switch to using RtmpCamera2 it's all black screen and I get these logs:\r\n\r\n```\r\n04-23 21:43:52.940 19497-20486/****** I/Camera2ApiManager: camera disconnected\r\n\r\n04-23 21:43:52.987 19497-20507/****** I/Camera2ApiManager: camera opened\r\n\r\n04-23 21:43:52.987 19497-20507/****** E/Camera2ApiManager: configuration failed\r\n```\r\n\r\n\r\nI don't know the benefits of using camera2 api. If it doesn't matter I can continue using RtmpCamera1 but if it has advantages then I need your help."},"comment":{"url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/comments/383693067","html_url":"https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/162#issuecomment-383693067","issue_url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/162","id":383693067,"user":{"login":"pedroSG94","id":17556876,"avatar_url":"https://avatars3.githubusercontent.com/u/17556876?v=4","gravatar_id":"","url":"https://api.github.com/users/pedroSG94","html_url":"https://github.com/pedroSG94","followers_url":"https://api.github.com/users/pedroSG94/followers","following_url":"https://api.github.com/users/pedroSG94/following{/other_user}","gists_url":"https://api.github.com/users/pedroSG94/gists{/gist_id}","starred_url":"https://api.github.com/users/pedroSG94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedroSG94/subscriptions","organizations_url":"https://api.github.com/users/pedroSG94/orgs","repos_url":"https://api.github.com/users/pedroSG94/repos","events_url":"https://api.github.com/users/pedroSG94/events{/privacy}","received_events_url":"https://api.github.com/users/pedroSG94/received_events","type":"User","site_admin":false},"created_at":"2018-04-23T19:25:02Z","updated_at":"2018-04-23T19:25:02Z","author_association":"OWNER","body":"Normally camera2 has more performance and more resolution to open (camera1 is cap to 1080p because in stream you need get frames from preview)\r\n\r\nCan you tell me device model and Android API?"}}
{"actor":{"display_login":"pedroSG94"}}