eyeson-team / eyeson-php

eyeson video conferencing API package for PHP
MIT License
7 stars 11 forks source link

How to disable end meeting for all in php script #56

Closed ontakaspi closed 3 years ago

ontakaspi commented 3 years ago
   $teacher= [
        'id' => 'pengajar@eyeson.team',
        'name' => 'pengajar',
    ];
    $student= [
        'id' => 'siswa@eyeson.team',
        'name' => 'siswa',
    ];
    $option_teacher = [
        'show_label' =>false,
        'recording_available' => true,
        'kick_available' => true,
        'lock_available' => true,
        'exit_url' => true,
        'guest_token_available' => false,

    ];

    $option_student = [
        'show_label' =>false,
        'recording_available' => false,
        'kick_available' => false,
        'lock_available' => false,
        'exit_url' => false,
        'guest_token_available' => false,

    ];
    $room = $eyeson->join($teacher, '2322' ,$option_teacher);
    $room1 = $eyeson->join($student, '2322' ,$option_student );

    echo $room->getUrl();
    echo $room1->getUrl();