# Broadcast camera error (Android 9)

**URL:** <https://community.wowza.com/t/broadcast-camera-error-android-9/54310>\
**Category:** Wowza GoCoder SDK\
**Created:** [December 11, 2019, 4:27pm UTC](https://community.wowza.com/t/broadcast-camera-error-android-9/54310 "2019-12-11T16:27:30Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![DarthXander](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@DarthXander](https://community.wowza.com/u/DarthXander)\
**Post date:** [December 11, 2019, 4:27pm UTC](https://community.wowza.com/t/broadcast-camera-error-android-9/54310/1 "2019-12-11T16:27:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DarthXander](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@DarthXander](https://community.wowza.com/u/DarthXander)\
**Post date:** [December 11, 2019, 4:29pm UTC](https://community.wowza.com/t/broadcast-camera-error-android-9/54310/2 "2019-12-11T16:29:34Z")

</div>

I’m using gocoder 1.9

---

<div class="post-metadata">

**Author:** ![DarthXander](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@DarthXander](https://community.wowza.com/u/DarthXander)\
**Post date:** [December 11, 2019, 4:30pm UTC](https://community.wowza.com/t/broadcast-camera-error-android-9/54310/3 "2019-12-11T16:30:03Z")

</div>

logcat.zip

full log taken during the stream

---

<div class="post-metadata">

**Author:** ![DarthXander](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@DarthXander](https://community.wowza.com/u/DarthXander)\
**Post date:** [December 11, 2019, 4:48pm UTC](https://community.wowza.com/t/broadcast-camera-error-android-9/54310/4 "2019-12-11T16:48:19Z")

</div>

gradle compiling options:

compileSdkVersion 28 buildToolsVersion ‘28.0.0’

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [December 11, 2019, 5:53pm UTC](https://community.wowza.com/t/broadcast-camera-error-android-9/54310/5 "2019-12-11T17:53:24Z")

</div>

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](https://www.wowza.com/pricing/installer#gocodersdk-downloads)

---

<div class="post-metadata">

**Author:** ![DarthXander](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@DarthXander](https://community.wowza.com/u/DarthXander)\
**Post date:** [December 12, 2019, 8:10am UTC](https://community.wowza.com/t/broadcast-camera-error-android-9/54310/6 "2019-12-12T08:10:47Z")

</div>

Hi.

I tryied this solution but I see the same problems.

Same error in the logcat

Same bad video.

☹

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [December 12, 2019, 5:07pm UTC](https://community.wowza.com/t/broadcast-camera-error-android-9/54310/7 "2019-12-12T17:07:40Z")

</div>

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](https://github.com/WowzaMediaSystems/gocoder-sdk-samples-android/issues)

The engineers will respond there.
