15 Min Lag in Video Sharing with user



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




Step 2: Start Screen Sharing with any video

Step 3: Log our platform to join meeting


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:

Note* we are using the 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">    
	<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"/>
	<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>';


</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;}


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?




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



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.



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

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



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



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

Hope this helps. Thanks!