# 15 Min Lag in Video Sharing with user

**URL:** <https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713>\
**Category:** Meeting SDK\
**Created:** [March 24, 2019, 4:42am UTC](https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713 "2019-03-24T04:42:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![sandeepnain2011](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@sandeepnain2011](https://devforum.zoom.us/u/sandeepnain2011)\
**Post date:** [March 24, 2019, 4:42am UTC](https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713/1 "2019-03-24T04:42:31Z")

</div>

Description:

We are using the SDK code, for zoom screen sharing, Once we create a meeting in zoom and shared our screen with user, ( Like I shared a video from my screen ) there is buffering delay or Time Lag near about 1 min.

Steps 1 : Create a meeting in Zoom

zoom

[sandeepnain2011@gmail.com](mailto:sandeepnain2011@gmail.com)

Sa9896938403

Step 2: Start Screen Sharing with any video

Step 3: Log our platform to join meeting

> **[Cricket Lovers - live cricket scores, sports updates, Cricket Stories, Pro...](https://cricketlovers.in/)**
>
> live cricket scores, sports updates, Cricket Stories, Pro Kabaddi News, Football News Updates here,

Mobile: 9729714896

Password: 1551540841690

Step 4: Hit the Live button

Here you would see the 1 min lag in screen sharing. I want to sort this issue for my website and app as well.

App URL:

[https://play.google.com/store/apps/details?id=com.app.cricketloverszs](https://play.google.com/store/apps/details?id=com.app.cricketloverszs)

Note\* we are using the [https://snappy.appypie.com](https://snappy.appypie.com) to convert the website to APK…

Hope this would be enough explanation,  
below pasting the code, which we are using as well.

\<?php /\* Template Name: Metting \*/ get\_header(); $API\_KEY = 'xR1xHG7xQZ6w4gwevt59Cw'; $API\_SECRET = 'CzC71CldNpZkp8plKPgpaGTGk67vultjs2WD'; $meeting\_number = getZoomLiveMettingStatus(); //$meeting\_number="358425708";//metting id /\*$curl = curl\_init(); curl\_setopt\_array($curl, array( CURLOPT\_URL =\> "https://api.zoom.us/v2/users/gWvZW0\_VRWuOPPSrFaLHBg/meetings?type=live&page\_size=30&page\_number=1", CURLOPT\_RETURNTRANSFER =\> true, CURLOPT\_ENCODING =\> "", CURLOPT\_MAXREDIRS =\> 10, CURLOPT\_TIMEOUT =\> 30, CURLOPT\_HTTP\_VERSION =\> CURL\_HTTP\_VERSION\_1\_1, CURLOPT\_CUSTOMREQUEST =\> "GET", CURLOPT\_HTTPHEADER =\> array( "authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJ2ZXIiOiIzLjAiLCJjbGllbnRJZCI6IkZENWk4MGFjUldkSkZxMTJTV2xJZyIsImlzcyI6InVybjp6b29tOmNvbm5lY3Q6Y2xpZW50aWQ6RkQ1aTgwYWNSV2RKRnExMlNXbElnIiwiZW52IjpbbnVsbF0sInVzZXJJZCI6ImdXdlpXMF9WUld1T1BQU3JGYUxIQmciLCJhdWQiOiJodHRwczovL29hdXRoLnpvb20udXMiLCJhY2NvdW50SWQiOiJ5Mi1yYXdKblFZbVJiVDVUT2hweXZBIiwibmJmIjoxNTUyNTU1Mjc0LCJleHAiOjE1NTI1NTg4NzQsInRva2VuVHlwZSI6ImFjY2Vzc190b2tlbiIsImlhdCI6MTU1MjU1NTI3NCwianRpIjoiYjI4ZTdjYjYtZDZiOS00NmI2LTg2ZGItZDJhZDEzZjBiZDlhIiwidG9sZXJhbmNlSWQiOjB9.I4\_IVJ49xeK0UtFGa6bk8-8xRYNXEIq-hBdq59HPxoPKOiq0q1cOdPXzGJHuBsoopkTKKySGVPafzDZGa4l91w" ), )); $response = curl\_exec($curl); echo $err = curl\_error($curl); curl\_close($curl);\*/?\> p.error{ margin: 0 calc(20% + 60px); display: flex; font-size: 26px; color: #fff; font-weight: bold; text-align: center; padding: 50px; background: red; }
 \<?php if(!is\_user\_logged\_in()){

```
		die("<p class='error'>Not accessible: You are not logged in. Please log in and try again.</p>");
	}
	?>		
    <div class="custom_page_play">    
      <?php
	if(!empty($meeting_number)){
	?>
	<div class="play">
	<a href="javascript:void(0);" id="join_meeting">
	 <img src="https://cricketlovers.in/wp-content/uploads/2019/03/video-play-icon-11.png" alt="" class="play_icon"/>
	</a>
	</div>
	<div class="play"><p class="live">Live</p></div>
    <?php }else{
    echo '<div class="play">';
    echo '<a href="javascript:void(0);"><img src="https://cricketlovers.in/wp-content/uploads/2019/03/video-play-icon-11.png" alt="" class="play_icon"/></a>';
    echo '</div>';
    echo '<div class="play">';
    echo "<p class='offline'>Not Live</p>";
    echo '</div>';
    }

```

?\>

```
    </div>			
</main><!-- #main -->

```

\<?php get\_footer();?\>

.custom\_page\_play{margin: 0 calc(10% + 60px); display: flex; } #zmmtg-root { position: relative!important; } .play p { color: #fff; font-size: 20px; font-weight: bold; padding: 5px; } .play p.live{background: green;} .play p.offline{background: red;} #wc-footer{display:none;} .suspension-window {display:none;} .cancel-spotlight{display:none;}

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 26, 2019, 2:04am UTC](https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713/2 "2019-03-26T02:04:29Z")

</div>

Hi sandeepnain2011,

Thanks for using Zoom SDK and thank you for your detailed info. May I ask which platform of our SDK code are you referring to?

Thanks!

---

<div class="post-metadata">

**Author:** ![sandeepnain2011](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@sandeepnain2011](https://devforum.zoom.us/u/sandeepnain2011)\
**Post date:** [March 26, 2019, 2:30am UTC](https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713/3 "2019-03-26T02:30:40Z")

</div>

Could you suggest me best api or sdk for zoom live video sharing.

---

<div class="post-metadata">

**Author:** ![sandeepnain2011](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@sandeepnain2011](https://devforum.zoom.us/u/sandeepnain2011)\
**Post date:** [March 26, 2019, 2:33am UTC](https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713/4 "2019-03-26T02:33:37Z")

</div>

Somewhere I have seen zoom logo. Like powered by zoom during video sharing. Could you tell me the name of api or sdk which provide such type logo or watermark during screen sharing.

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 26, 2019, 2:35am UTC](https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713/5 "2019-03-26T02:35:47Z")

</div>

Hi,  
Thanks for the reply. The one you are referring to is SDK. API does not have screen sharing/video sharing feature. If you would like to know more about our SDK, please visit our SDK doc for more info: [https://marketplace.zoom.us/docs/sdk/native-sdks/preface/introducing-zoom-sdk](https://marketplace.zoom.us/docs/sdk/native-sdks/preface/introducing-zoom-sdk)

Let me know if you have any other questions. Thanks! 🙂

---

<div class="post-metadata">

**Author:** ![sandeepnain2011](https://avatars.discourse-cdn.com/v4/letter/s/67e7ee/32.png) [@sandeepnain2011](https://devforum.zoom.us/u/sandeepnain2011)\
**Post date:** [March 26, 2019, 10:28am UTC](https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713/6 "2019-03-26T10:28:31Z")

</div>

I need the screen sharing option, Hope you have seen our code above. Is that fine ? or do we need to change the code or something else. I need to share my screen with my users. What would be the best option from your side, please let me know

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [March 26, 2019, 5:14pm UTC](https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713/7 "2019-03-26T17:14:31Z")

</div>

Hi,  
Thanks for the reply. Based on the code snippet you were sharing, you are making API calls with php. Our API does not have the screen sharing feature thus your code would not allow you to do screen sharing. If you would like to do screen sharing, our SDK can help you. Base on the client platform you are using (Android/iOS/Windows/Mac), you can implement the screen sharing feature by following the instructions in our docs, take Android as an example: [https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/in-meeting-function/customized-meeting-ui/share](https://marketplace.zoom.us/docs/sdk/native-sdks/android/mastering-zoom-sdk/in-meeting-function/customized-meeting-ui/share)

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 6:14pm UTC](https://devforum.zoom.us/t/15-min-lag-in-video-sharing-with-user/3713/8 "2020-08-21T18:14:09Z")

</div>

Closed on August 21, 2020, 6:14pm UTC


