Broadcast camera error (Android 9)

Hi, I’m having some problems using gocoder SDK on a Xiaomi Mi8 Lite (Android9)

During the broadcasta I have several camera errors that you can see in this portion of logcat

12-11 16:54:29.876 683 7579 E mm-camera: 5377: sensor_pdaf_cal_defocus: pdaf defocus calculation fail 12-11 16:54:29.876 683 7579 E mm-camera: 1215: port_sensor_handle_upstream_module_event: PDAF calculate defocus failed 12-11 16:54:29.876 683 7579 E mm-camera: 1625: port_sensor_port_process_event: failed: port_sensor_handle_upstream_module_event 12-11 16:54:29.876 683 7579 E mm-camera: 1451: isp_util_forward_event: failed: mct_port_send_event_to_peer event->type 2 12-11 16:54:29.876 683 7579 E mm-camera: 521: isp_port_process_upstream_event: failed: isp_handler_enqueue_event_to_trigger_queue 12-11 16:54:29.876 683 7579 E mm-camera: 576: isp_port_event: failed: isp_port_process_upstream_event 12-11 16:54:29.876 683 7579 E mm-camera: <STATS_AF > 4235: af_port_pdaf_proc_callback: Depth_Err PDAF Error returned from sensor 0 12-11 16:54:29.884 683 7558 E mm-camera: 6068: module_sensor_event_control_set_parm: ARCSOFT SN Enable is 0 12-11 16:54:29.884 683 7558 I chatty : uid=1047(cameraserver) CAM_MctBus_4 identical 2 lines 12-11 16:54:29.885 683 7558 E mm-camera: 6068: module_sensor_event_control_set_parm: ARCSOFT SN Enable is 0 12-11 16:54:29.886 7522 7522 W PrimesInit: Primes instant initialization 12-11 16:54:29.891 7522 7652 W Primes : background initialization 12-11 16:54:29.896 683 7579 E mm-camera: 1331: port_sensor_handle_upstream_module_event: func_tbl for submodule 10 is NULL 12-11 16:54:29.896 683 7579 E mm-camera: 1335: port_sensor_handle_upstream_module_event: failed 12-11 16:54:29.896 683 7579 E mm-camera: 1625: port_sensor_port_process_event: failed: port_sensor_handle_upstream_module_event 12-11 16:54:29.896 683 7579 E mm-camera: 1451: isp_util_forward_event: failed: mct_port_send_event_to_peer event->type 2 12-11 16:54:29.905 683 7579 E mm-camera: 5377: sensor_pdaf_cal_defocus: pdaf defocus calculation fail 12-11 16:54:29.905 683 7579 E mm-camera: 1215: port_sensor_handle_upstream_module_event: PDAF calculate defocus failed 12-11 16:54:29.905 683 7579 E mm-camera: 1625: port_sensor_port_process_event: failed: port_sensor_handle_upstream_module_event 12-11 16:54:29.905 683 7579 E mm-camera: 1451: isp_util_forward_event: failed: mct_port_send_event_to_peer event->type 2 12-11 16:54:29.905 683 7579 E mm-camera: 521: isp_port_process_upstream_event: failed: isp_handler_enqueue_event_to_trigger_queue 12-11 16:54:29.905 683 7579 E mm-camera: 576: isp_port_event: failed: isp_port_process_upstream_event 12-11 16:54:29.905 683 7579 E mm-camera: <STATS_AF > 4235: af_port_pdaf_proc_callback: Depth_Err PDAF Error returned from sensor 0 12-11 16:54:29.929 4881 7653 D WMSTransport: Session state changed from HANDSHAKE_SERVER0_SEND to HANDSHAKE_SERVER0_SENT

And on my streaming server the stream is showed very bad (it seems to be horizontally crushed, the people look as slim as Luke, Leia and Han would have if the garbage pruner had won)

Could you hel me?

Thanks

I’m using gocoder 1.9

logcat.zip

full log taken during the stream

gradle compiling options:

compileSdkVersion 28 buildToolsVersion ‘28.0.0’

This was recently resolved in our latest SDK release- 1.9.1 just this week @DarthXander.

The latest version of Wowza GoCoder SDK for Android is Wowza GoCoder SDK 1.9.1 build 0636.

Enhancements and fixed issues (since 1.9.0.0632)- Fixed an issue that was preventing stable broadcasting using GoCoder SDK for Android on certain devices running Android versions 9 or 10.

Download the newest version and it should fix the issue.

https://www.wowza.com/pricing/installer#gocodersdk-downloads

Hi.

I tryied this solution but I see the same problems.

Same error in the logcat

Same bad video.

:frowning:

Thanks @DarthXander for sharing the log file, but we do not debug or provide official technical support in the forums. We are not able receiving any reports of a broadcast issue in our latest Android 1.9.1 and we are not able to replicate a broadcast issue.

You can though report you issue on our GitHub here:

https://github.com/WowzaMediaSystems/gocoder-sdk-samples-android/issues

The engineers will respond there.