https://github.com/WowzaMediaSystems/gocoder-sdk-camera2-shaders/blob/master/gocoder-sdk-shaders/src/main/java/com/wowza/gocoder/sdk/shaders/example/gl/StreamingRenderer.java#L110
I am implementing implementation with reference to the above sample.
https://www.wowza.com/docs/how-to-configure-a-broadcast-with-gocoder-sdk-for-android
I’d like to use the above preset values, but how do I implement it to set the image quality of the delivery image?
In the sample comment, it is written that the frame size of broadcast and video source are the same, but I do not understand the part here.
Thank you for your answer.
The above problem seems to be solved.
However, crash occurred during delivery, I do not know the cause.
Although it seems that delivery video is processed by OpenGL, it seems that it is heavily loaded, but since the sample was crashing in the same way, there seems to be another cause.
If there is any information, it would be greatly appreciated if you could share it.
It seems that (a) is a thread used in onFrameAvailable of WZGLBroadcaster.
10-02 20:47:38.737 28858-31962/com.sample A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 31962 (a)
10-02 20:47:38.811 4419-4445/? I/WCNSS_FILTER: ibs_msm_serial_clock_vote: vote UART CLK OFF using UART driver's ioctl()
10-02 20:47:38.824 512-31875/? E/mm-camera-sensor: port_sensor_handle_aec_update:443miss aec update window, skip
10-02 20:47:38.846 15002-15002/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-02 20:47:38.846 15002-15002/? A/DEBUG: Build fingerprint: 'google/bullhead/bullhead:6.0/MDA89E/2296692:user/release-keys'
10-02 20:47:38.846 15002-15002/? A/DEBUG: Revision: 'rev_1.0'
10-02 20:47:38.846 15002-15002/? A/DEBUG: ABI: 'arm64'
10-02 20:47:38.846 15002-15002/? A/DEBUG: pid: 28858, tid: 31962, name: a >>> com.sample <<<
10-02 20:47:38.847 15002-15002/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
10-02 20:47:38.865 15002-15002/? W/debuggerd64: type=1400 audit(0.0:1235): avc: denied { search } for name="com.google.android.gms" dev="dm-2" ino=376135 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
10-02 20:47:38.865 15002-15002/? W/debuggerd64: type=1400 audit(0.0:1236): avc: denied { search } for name="com.google.android.gms" dev="dm-2" ino=376135 scontext=u:r:debuggerd:s0 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0
10-02 20:47:38.904 15002-15002/? A/DEBUG: x0 0000000000000000 x1 0000000000000000 x2 0000000000000000 x3 0000000000000006
10-02 20:47:38.905 15002-15002/? A/DEBUG: x4 0000007f533db220 x5 0000000000000001 x6 0000000000000000 x7 0000000000000009
10-02 20:47:38.905 15002-15002/? A/DEBUG: x8 0000000000000001 x9 0000000000000000 x10 0000000000000000 x11 0000000000000091
10-02 20:47:38.905 15002-15002/? A/DEBUG: x12 0000000000000001 x13 0000000000000000 x14 00000000000002a4 x15 00000000000002a4
10-02 20:47:38.905 15002-15002/? A/DEBUG: x16 0000000000000091 x17 0000007f74aaa6a0 x18 0000000000005201 x19 0000007f60693b40
10-02 20:47:38.906 15002-15002/? A/DEBUG: x20 0000007f79864d80 x21 0000000000000000 x22 0000007f5b2d7000 x23 0000000000000000
10-02 20:47:38.906 15002-15002/? A/DEBUG: x24 0000007f60693b40 x25 0000007f58839200 x26 0000000000000068 x27 0000007f58839298
10-02 20:47:38.906 15002-15002/? A/DEBUG: x28 0000000000000004 x29 0000007f655abb80 x30 0000007f74951d94
10-02 20:47:38.906 15002-15002/? A/DEBUG: sp 0000007f655abb80 pc 0000007f74951da4 pstate 0000000080000000
10-02 20:47:38.943 15002-15002/? A/DEBUG: backtrace:
10-02 20:47:38.944 15002-15002/? A/DEBUG: #00 pc 00000000001d7da4 /vendor/lib64/egl/libGLESv2_adreno.so (A4xTextureObject::IsAstcSrgba()+80)
10-02 20:47:38.944 15002-15002/? A/DEBUG: #01 pc 00000000001d7d90 /vendor/lib64/egl/libGLESv2_adreno.so (A4xTextureObject::IsAstcSrgba()+60)
10-02 20:47:39.344 493-31966/? W/AudioFlinger: RecordThread: buffer overflow
10-02 20:47:39.455 15002-15002/? W/debuggerd64: type=1400 audit(0.0:1237): avc: denied { read } for name="kgsl-3d0" dev="tmpfs" ino=9974 scontext=u:r:debuggerd:s0 tcontext=u:object_r:gpu_device:s0 tclass=chr_file permissive=0
10-02 20:47:39.495 512-31872/? E/mm-camera: mct: mct_stream_get_metadata_buffer:Failed to get_buf - errno: Invalid argument!!!
10-02 20:47:39.495 512-31872/? E/mm-camera: mct: mct_stream_process_bus_msg: Failed to get new metadata buffer!
10-02 20:47:39.528 512-31872/? E/mm-camera: mct: mct_stream_get_metadata_buffer:Failed to get_buf - errno: Invalid argument!!!
10-02 20:47:39.528 512-31872/? E/mm-camera: mct: mct_stream_process_bus_msg: Failed to get new metadata buffer!
10-02 20:47:39.560 512-31872/? E/mm-camera: mct: mct_stream_get_metadata_buffer:Failed to get_buf - errno: Invalid argument!!!
grais
January 5, 2018, 1:03pm
3
Can you slove the problem? Your device camera is support the camera 2 api?
It was solved.
It seems that the load on the UIThread caused by another processing was caused.
Thank you for reply.