{"action":"created","issue":{"url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/188","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/188/labels{/name}","comments_url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/188/comments","events_url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/188/events","html_url":"https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/188","id":335498055,"node_id":"MDU6SXNzdWUzMzU0OTgwNTU=","number":188,"title":"SurfaceModeRTMPActivity &OpenGLRtmpActivity","user":{"login":"camillo860","id":3796508,"node_id":"MDQ6VXNlcjM3OTY1MDg=","avatar_url":"https://avatars1.githubusercontent.com/u/3796508?v=4","gravatar_id":"","url":"https://api.github.com/users/camillo860","html_url":"https://github.com/camillo860","followers_url":"https://api.github.com/users/camillo860/followers","following_url":"https://api.github.com/users/camillo860/following{/other_user}","gists_url":"https://api.github.com/users/camillo860/gists{/gist_id}","starred_url":"https://api.github.com/users/camillo860/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camillo860/subscriptions","organizations_url":"https://api.github.com/users/camillo860/orgs","repos_url":"https://api.github.com/users/camillo860/repos","events_url":"https://api.github.com/users/camillo860/events{/privacy}","received_events_url":"https://api.github.com/users/camillo860/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-25T17:25:04Z","updated_at":"2018-06-25T17:31:10Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\n I try your example code with my huawei P9 lite . The default example is OK good work, but i try SurfaceModeRTMP  when the connection success the video freez but the audio is streaming.\r\nOpenGLR the video ok but the server receive only audio.\r\nThe log in Android Studio is \r\nE/HW-JPEG-DEC: [HME_JPEG_DEC_Delete](3321): HME_JPEG_DEC_Delete: decoder_ctx=null\r\n\r\nCan you help me?\r\n"},"comment":{"url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/comments/400032446","html_url":"https://github.com/pedroSG94/rtmp-rtsp-stream-client-java/issues/188#issuecomment-400032446","issue_url":"https://api.github.com/repos/pedroSG94/rtmp-rtsp-stream-client-java/issues/188","id":400032446,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDAzMjQ0Ng==","user":{"login":"camillo860","id":3796508,"node_id":"MDQ6VXNlcjM3OTY1MDg=","avatar_url":"https://avatars1.githubusercontent.com/u/3796508?v=4","gravatar_id":"","url":"https://api.github.com/users/camillo860","html_url":"https://github.com/camillo860","followers_url":"https://api.github.com/users/camillo860/followers","following_url":"https://api.github.com/users/camillo860/following{/other_user}","gists_url":"https://api.github.com/users/camillo860/gists{/gist_id}","starred_url":"https://api.github.com/users/camillo860/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camillo860/subscriptions","organizations_url":"https://api.github.com/users/camillo860/orgs","repos_url":"https://api.github.com/users/camillo860/repos","events_url":"https://api.github.com/users/camillo860/events{/privacy}","received_events_url":"https://api.github.com/users/camillo860/received_events","type":"User","site_admin":false},"created_at":"2018-06-25T17:31:09Z","updated_at":"2018-06-25T17:31:09Z","author_association":"NONE","body":"E/Legacy-CameraDevice-JNI: LegacyCameraDevice_nativeDetectSurfaceDimens: Error while querying surface width No such device (-19).\r\nE/AndroidRuntime: FATAL EXCEPTION: Camera2ApiManager Id = 0\r\n                  Process: com.pedro.rtpstreamer, PID: 5857\r\n                  java.lang.IllegalArgumentException: Surface was abandoned\r\n                      at android.hardware.camera2.utils.SurfaceUtils.getSurfaceSize(SurfaceUtils.java:70)\r\n                      at android.hardware.camera2.params.OutputConfiguration.<init>(OutputConfiguration.java:184)\r\n                      at android.hardware.camera2.params.OutputConfiguration.<init>(OutputConfiguration.java:94)\r\n                      at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(CameraDeviceImpl.java:489)\r\n                      at com.pedro.encoder.input.video.Camera2ApiManager.startPreview(Camera2ApiManager.java:108)\r\n                      at com.pedro.encoder.input.video.Camera2ApiManager.onOpened(Camera2ApiManager.java:342)\r\n                      at android.hardware.camera2.impl.CameraDeviceImpl$1.run(CameraDeviceImpl.java:134)\r\n                      at android.os.Handler.handleCallback(Handler.java:761)\r\n                      at android.os.Handler.dispatchMessage(Handler.java:98)\r\n                      at android.os.Looper.loop(Looper.java:156)\r\n                      at android.os.HandlerThread.run(HandlerThread.java:61)\r\n                   Caused by: android.hardware.camera2.legacy.LegacyExceptionUtils$BufferQueueAbandonedException\r\n                      at android.hardware.camera2.legacy.LegacyExceptionUtils.throwOnError(LegacyExceptionUtils.java:73)\r\n                      at android.hardware.camera2.legacy.LegacyCameraDevice.getSurfaceSize(LegacyCameraDevice.java:585)\r\n                      at android.hardware.camera2.utils.SurfaceUtils.getSurfaceSize(SurfaceUtils.java:68)\r\n                      at android.hardware.camera2.params.OutputConfiguration.<init>(OutputConfiguration.java:184) \r\n                      at android.hardware.camera2.params.OutputConfiguration.<init>(OutputConfiguration.java:94) \r\n                      at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(CameraDeviceImpl.java:489) \r\n                      at com.pedro.encoder.input.video.Camera2ApiManager.startPreview(Camera2ApiManager.java:108) \r\n                      at com.pedro.encoder.input.video.Camera2ApiManager.onOpened(Camera2ApiManager.java:342) \r\n                      at android.hardware.camera2.impl.CameraDeviceImpl$1.run(CameraDeviceImpl.java:134) \r\n                      at android.os.Handler.handleCallback(Handler.java:761) \r\n                      at android.os.Handler.dispatchMessage(Handler.java:98) \r\n                      at android.os.Looper.loop(Looper.java:156) \r\n                      at android.os.HandlerThread.run(HandlerThread.java:61) \r\n"}}
{"actor":{"display_login":"camillo860"}}