# Openvidu-secure-node video freezing in iphone safari and chrome

**URL:** <https://openvidu.discourse.group/t/openvidu-secure-node-video-freezing-in-iphone-safari-and-chrome/1982>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [September 9, 2020, 7:44am UTC](https://openvidu.discourse.group/t/openvidu-secure-node-video-freezing-in-iphone-safari-and-chrome/1982 "2020-09-09T07:44:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![prasanna\_purohit](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/prasanna_purohit/32/46_2.png) [@prasanna\_purohit](https://openvidu.discourse.group/u/prasanna_purohit)\
**Post date:** [September 9, 2020, 7:44am UTC](https://openvidu.discourse.group/t/openvidu-secure-node-video-freezing-in-iphone-safari-and-chrome/1982/1 "2020-09-09T07:44:47Z")

</div>

hi, I had used openvidu-js-node from GitHub to create a stream of video and audio call and also I added screen share option too. everything is working fine with  
OS: ubuntu  
browser: Chrome, and firefox.  
OS: windows  
browser: chrome, firefox,  
OS: Mac  
browser: chrome, firefox.

but when I start to make a call with the iPhone Safari browser or Chrome browser. the published video got freeze, here is my working project URL [https://vc.enlyvo.com:5060/?uname=testing&sname=testing](https://vc.enlyvo.com:5060/?uname=testing&sname=testing)  
here I’m passing session name and user name from the URL (uname=username and sname=session name).  
and here is the text code of **index.html**

```
<script src="openvidu-browser-2.14.0.js"></script>
<script src="app.js"></script>
<script src="screen.js"></script>

```

here is my **App.js**

```
if (isPublisher(userName)) {

				// --- 6) Get your own camera stream ---

				publisher = OV.initPublisher('video-container', {
					audioSource: undefined, // The source of audio. If undefined default microphone
					videoSource: undefined, // The source of video. If undefined default webcam
					publishAudio: false, // Whether you want to start publishing with your audio unmuted or not
					publishVideo: true, // Whether you want to start publishing with your video enabled or not
					resolution: '320x240', // The resolution of your video
					frameRate: 24, // The frame rate of your video
					insertMode: 'APPEND',	// How the video is inserted in the target element 'video-container'
					mirror: false // Whether to mirror your local video or not
				});

```

here is **screen.js**

```
  if (isscreenPublisher(userName)) {

				// --- 6) Get your own camera stream ---

				screenpublisher = OV.initPublisher('screen-container', {
					audioSource: undefined, // The source of audio. If undefined default microphone
					videoSource: 'screen', // The source of video. If undefined default webcam
					publishAudio: false, // Whether you want to start publishing with your audio unmuted or not
					publishVideo: true, // Whether you want to start publishing with your video enabled or not
					resolution: '320x240', // The resolution of your video
					frameRate: 24, // The frame rate of your video
					insertMode: 'APPEND',	// How the video is inserted in the target element 'video-container'
					mirror: false // Whether to mirror your local video or not
				});

```

and if I tried by commenting screen.js in in index.html it worked perfect, but I need screen share also  
please help to solve this,
