Przeglądaj źródła

Call (both sides) - integrate API changes

Vijayakrishnan 5 lat temu
rodzic
commit
40fb24e0b3

+ 1 - 1
app/Http/Controllers/ProController.php

@@ -54,7 +54,7 @@ class ProController extends Controller
     public function getOpentokSessionKey(Request $request, $uid) {
         $client = DB::table('client')->where('uid', $uid)->first();
         return json_encode([
-            "data" => $client->video_visit_tokbox_token
+            "data" => $client->opentok_session_id
         ]);
     }
 

+ 1 - 1
resources/views/meet.blade.php

@@ -246,7 +246,7 @@
                     @if($guest)
                     $.ajax({
                         type: 'post',
-                        url: '/api/clientVideoVisit/startVideoVisitAsStranger',
+                        url: '/api/clientVideoVisit/startVideoVisitAsClient',
                         headers: {
                             'sessionKey': localStorage.sessionKey
                         },