Api integration

hello, I integrated JWT in my application . all are good to go but only two problems are I am facing
1.) I am not able to create multiple hosts at the same time if I create multiple meetings for multiple teachers who have to host, only one live streaming is open and when I go for others, it could not open and showing “network problem error”.
2.)when I join as a participant into live class my name is showing like hostname.

anyone has the answer please reply and short out this problem sir/mam.

code below

<!DOCTYPE html>
    <title><?php echo get_settings('system_name');?></title>
	 <link rel="icon"  sizes="16x16" href="<?php echo base_url();?>uploads/logo.png">
    <meta charset="utf-8" />
    <link rel="stylesheet" href="<?php echo base_url('assets/bootstrap/css/all.min.css');?>">
	<link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.7.9/css/bootstrap.css"/>
	<link type="text/css" rel="stylesheet" href="https://source.zoom.us/1.7.9/css/react-select.css"/>

    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<body class="ReactModal__Body--open">
    <style type="text/css">
        body {
            padding-top: 50px;
        .navbar-inverse {
            background-color: #313131;
            border-color: #404142;
        .navbar-header h4 {
            margin: 0;
            padding: 15px 15px;
            color: #c4c2c2;
        .navbar-right h5 {
            margin: 0;
            padding: 9px 5px;
            color: #c4c2c2;
        .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form{
            border-color: transparent;
		$select = $this->db->get_where('live_stream', array('live_stream_id' => $live_stream_id))->result_array();
		foreach ($select as $key => $row) : 
		$user = explode('-', $row['created_by']);
		$user_type  = $user[0];
		$user_id = $user[1];
		$hosted_class_by =  $this->db->get_where($user_type, array($user_type . '_id' => $user_id))->row()->name;
		$account_type = $this->session->userdata('login_type');
   $user_name =   $this->session->set_userdata('name', $row->name);
    <nav id="nav-tool" class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">
            <div class="navbar-header">
                <h4><i class="fab fa-chromecast"></i> Live Class Title : <?php echo $row['title'];?></h4>
            <div class="navbar-form navbar-right">
                <h5><i class="far fa-user-circle" style=""></i> Host By : <?php echo $hosted_class_by;?></h5>

	<script src="https://source.zoom.us/1.7.9/lib/vendor/react.min.js"></script>
	<script src="https://source.zoom.us/1.7.9/lib/vendor/react-dom.min.js"></script>
	<script src="https://source.zoom.us/1.7.9/lib/vendor/redux.min.js"></script>
	<script src="https://source.zoom.us/1.7.9/lib/vendor/redux-thunk.min.js"></script>
	<script src="https://source.zoom.us/1.7.9/lib/vendor/jquery.min.js"></script>
	<script src="https://source.zoom.us/1.7.9/lib/vendor/lodash.min.js"></script>
	<script src="https://source.zoom.us/zoom-meeting-1.7.9.min.js"></script>


    <script type="text/javascript">
        ZoomMtg.setZoomJSLib('https://source.zoom.us/1.7.9/lib', '/av'); 
        var meetConfig = {
            apiKey: "<?php echo $this->db->get_where('settings', array('type' => 'zoom_api_key'))->row()->description;?>",
            apiSecret: "<?php echo $this->db->get_where('settings', array('type' => 'zoom_api_secret_key'))->row()->description;?>",
            meetingNumber: "<?php echo $row['meeting_id'];?>",
            userName: "<?php echo $hosted_class_by;?>",
            passWord: "<?php echo $row['meeting_password']?>",
            leaveUrl: "<?php echo base_url() . $account_type.'/live_streaming' ;?>",
            role: parseInt(1, 0)
        var signature = ZoomMtg.generateSignature({
            meetingNumber: meetConfig.meetingNumber,
            apiKey: meetConfig.apiKey,
            apiSecret: meetConfig.apiSecret,
            role: meetConfig.role,
            success: function(res){
            leaveUrl: meetConfig.leaveUrl,
            isSupportAV: true,
            showMeetingHeader: true, //option
                disableInvite: false, //optional
disableCallOut: false, //optional
disableRecord: false, //optional
disableJoinAudio: false, //optional
audioPanelAlwaysOpen: true, //optional
showPureSharingContent: false, //optional
isSupportAV: true, //optional,
isSupportChat: true, //optional,
isSupportQA: true, //optional,
isSupportCC: true, //optional,
screenShare: true, //optional,
rwcBackup: '', //optional,
videoDrag: true, //optional,
sharingMode: 'both', //optional,
videoHeader: true, //optional,
isLockBottom: true, // optional,
isSupportNonverbal: true, // optional,
isShowJoiningErrorDialog: true, // optional,
inviteUrlFormat: '', // optional
loginWindow: {  // optional,
  width: 400,
  height: 380

            success: function () {
                        meetingNumber: meetConfig.meetingNumber,
                        userName: meetConfig.userName,
                        signature: signature,
                        apiKey: meetConfig.apiKey,
                        passWord: meetConfig.passWord,
                        success: function(res){
                        error: function(res) {
            error: function(res) {
	<?php endforeach;?>


Hey @02ankit1989,

What version of the Web SDK are you using? Can you please share steps to reproduce this issue?

Are you passing in role 0 when generating your Web SDK signature for joining as a participant?


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