# iPhone 14 + iOS 16.4.1 self video not rendering

**URL:** <https://devforum.zoom.us/t/iphone-14-ios-16-4-1-self-video-not-rendering/87337>\
**Category:** Web\
**Tags:** video-sdk, ios\
**Created:** [April 25, 2023, 1:10pm UTC](https://devforum.zoom.us/t/iphone-14-ios-16-4-1-self-video-not-rendering/87337 "2023-04-25T13:10:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![arfa.ahmed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arfa.ahmed/32/33501_2.png) [@arfa.ahmed](https://devforum.zoom.us/u/arfa.ahmed)\
**Post date:** [April 25, 2023, 1:10pm UTC](https://devforum.zoom.us/t/iphone-14-ios-16-4-1-self-video-not-rendering/87337/1 "2023-04-25T13:10:32Z")

</div>

**Video SDK Type and Version**  
_Web Video SDK 1.7.0_

**Description**  
_on iPhone 14 + iOS 16.4.1 self video not rendering, we have changed nothing in our code, working fine in iOS 16.3 and below devices and self video is visible on opponent side only self video not showing, rendering on canvas_

**Error?**  
received these errors in Rollbar from iOS 16.4 devices:  
TypeError: null is not an object (evaluating ‘e.getExtension’)  
at

AdapterWhiteListCheckForEncoder([https://domain-name.com/lib/zoom-video-sdk/js\_media.min.js:1:41526](https://domain-name.com/lib/zoom-video-sdk/js_media.min.js:1:41526))

**How To Reproduce**  
_Steps to reproduce the behavior including:_  
_1. Web Video SDK 1.7.0 on iOS 16.4_  
_2. TypeError: null is not an object (evaluating ‘e.getExtension’)_  
_3. Safari/ Safari Webview 16.4_

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [April 25, 2023, 10:30pm UTC](https://devforum.zoom.us/t/iphone-14-ios-16-4-1-self-video-not-rendering/87337/2 "2023-04-25T22:30:58Z")

</div>

Hi, @arfa.ahmed,

Thank you for posting in the Zoom Developer Forum. To begin, can you share a screenshot of what you see _on iPhone 14 + iOS 16.4.1_? This helps us diagnose what may be happening.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [April 27, 2023, 2:25am UTC](https://devforum.zoom.us/t/iphone-14-ios-16-4-1-self-video-not-rendering/87337/3 "2023-04-27T02:25:53Z")

</div>

Hey @arfa.ahmed

It was a known issue prior to SDK 1.7.0, we have fixed it in 1.7.0.

Did you update the dependent resources? I saw you were using self-served resources in the issue description.

One way to check the following statement on the console:

```plaintext
JsMediaSDK_Instance.version === '15.0.2712'

```

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![arfa.ahmed](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/arfa.ahmed/32/33501_2.png) [@arfa.ahmed](https://devforum.zoom.us/u/arfa.ahmed)\
**Post date:** [April 27, 2023, 6:53am UTC](https://devforum.zoom.us/t/iphone-14-ios-16-4-1-self-video-not-rendering/87337/4 "2023-04-27T06:53:10Z")

</div>

I have identified the root cause of the issue and fixed it. Safari 16.4 recently added support of [OffscreenCanvas](https://developer.mozilla.org/en-US/docs/Web/API/OffscreenCanvas) and we are using if (window.OffscreenCanvas === ‘function’) then render self video in video element otherwise in canvas. Now, we are using stream.isRenderSelfViewWithVideoElement() for this.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [May 1, 2023, 11:18am UTC](https://devforum.zoom.us/t/iphone-14-ios-16-4-1-self-video-not-rendering/87337/5 "2023-05-01T11:18:59Z")

</div>

@arfa.ahmed ,

Glad you were able to resolve that behavior by leveraging stream.isRenderSelfViewWithVideoElement(). I am linking the support documentation on this topic for reference. I should note that there is an example implementation that works in all browsers and includes catch statements to help with debugging

 ![Screenshot 2023-05-01 at 7.18.40 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/4/d43bff6146e792d477926d8e389cd46bcb29c7c2.png)

 ![Screenshot 2023-05-01 at 7.18.25 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/a/9/a991e8dedaca9d03dceacc82acc520adddb30b73.png)

[https://developers.zoom.us/docs/video-sdk/web/video/#render-self-view](https://developers.zoom.us/docs/video-sdk/web/video/#render-self-view)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 31, 2023, 9:19pm UTC](https://devforum.zoom.us/t/iphone-14-ios-16-4-1-self-video-not-rendering/87337/6 "2023-05-31T21:19:42Z")

</div>

Closed on May 31, 2023, 9:19pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
