# Video render of Peer causes a PThread error

**URL:** <https://devforum.zoom.us/t/video-render-of-peer-causes-a-pthread-error/74880>\
**Category:** Video SDK\
**Created:** [August 25, 2022, 12:11pm UTC](https://devforum.zoom.us/t/video-render-of-peer-causes-a-pthread-error/74880 "2022-08-25T12:11:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joss.ygay](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joss.ygay/32/36681_2.png) [@joss.ygay](https://devforum.zoom.us/u/joss.ygay)\
**Post date:** [August 25, 2022, 12:11pm UTC](https://devforum.zoom.us/t/video-render-of-peer-causes-a-pthread-error/74880/1 "2022-08-25T12:11:35Z")

</div>

Hello,

We are struggling on Pthread error on the first run of the call and it works perfectly on the second run of the call and so on.

Versions:  
Web Browser: Chrome v104  
Ionic 6  
Capacitor Android 3.5.1  
Capacitor App 1.1.1  
Capacitor Core 3.5.1  
Android 10  
Video SDK 1.4.0

We used Ionic as a cross-platform in order for us to create APK bundle and install it in the mobile.

If Web browser and mobile is running on localhost, we did not encounter any Pthread error, however when we deploy it to staging/production, The Android device who is using an APK bundle will receive a PThread error when receiving a remote view.

```auto
2022-08-25 21:05:07.411 10556-10695/io.ionic.starter E/Capacitor: JavaScript Error: {"type":"js.error","error":{"message":"Uncaught ReferenceError: PThread is not defined","url":"blob:http://localhost/b0a39bd9-ffe7-47f2-903c-a523797916d2","line":1,"col":123315,"errorObject":"null"}}
2022-08-25 21:05:07.420 10556-10556/io.ionic.starter E/Capacitor/Console: File: blob:http://localhost/b0a39bd9-ffe7-47f2-903c-a523797916d2 - Line 1 - Msg: Uncaught ReferenceError: PThread is not defined
2022-08-25 21:05:07.443 10556-10556/io.ionic.starter E/Capacitor/Console: File: blob:http://localhost/b0a39bd9-ffe7-47f2-903c-a523797916d2 - Line 1 - Msg: Uncaught ReferenceError: PThread is not defined
2022-08-25 21:05:07.672 10556-10695/io.ionic.starter E/Capacitor: JavaScript Error: {"type":"js.error","error":{"message":"Uncaught ReferenceError: PThread is not defined","url":"blob:http://localhost/b0a39bd9-ffe7-47f2-903c-a523797916d2","line":1,"col":123315,"errorObject":"null"}}
2022-08-25 21:05:07.704 10556-10556/io.ionic.starter E/Capacitor/Console: File: blob:http://localhost/b0a39bd9-ffe7-47f2-903c-a523797916d2 - Line 1 - Msg: Uncaught ReferenceError: PThread is not defined

```
