Gurulize Video API Dökümantasyonu

Gurulize Video API Dökümantasyonu


Gurulize'ın  sunduğu tüm hizmetleri kullanmanın yanı sıra,  dilerseniz  sadece Gurulize Video API özelliğini kullanarak mevcut uygulamanıza entegre edebilirsiniz.

Method: Get


Parametreler

durationInMinutes = Max call duration in minutes
type = Video (fixed for now)
startDate = The time to start the conversation in unix timestamp format and the start time
in milliseconds (not seconds) and should be sent according to the UTC timezone value
username = [Username]
password = [Password]
endHow = AUTOMATIC, BY_HOST
endWhen = END_TIME, END_OF_DURATION
lang = en, tr
 Örnek İstek:

https://webrtc.gurulize.com/webrtc-meeting/room/create?durationInMinutes=50&type=video&startDate=1597148937000&username=xxx&password=yyy&endHow=AUTOMATIC&endWhen=END_TIME

Örnek  Cevap:

{

   "uuid": "444f4061-3494-4e60-a552-c4316ac6702d",

   "hostUrl": "https://webrtc.gurulize.com/?rop=V_US2qRjrTFn&urp=gN-mYTXkrV7pVPMr_jUfqSE4gBmZzEKi2MI1cOfnUxtFr4S-YacER5lkFG2dkFIUU%22,

   "guestUrl": "https://webrtc.gurulize.com/?rop=GFPyacAAOrPc&urp=gN-mYTXkrV7pVPMr_jUfqSE4gBmZzEKi2MI1cOfnUxtFr4S-YacER5lkFG2dkFIU%22

}

Geri Çağırma Yöntemi:

Kullanıcı tarafından yönlendirilecek bir adrese:

METHOD: POST

BODY: JSON DATA

Örnek Payload:

{

   "code": "JOIN",

   "eventSource": "GUEST",

   "receivedTime": "1600938359259",

   "reason": "",

   "roomUuid": "444f4061-3494-4e60-a552-c4316ac6702d",

   "meetingTotalDuration": "0"

}

  1. Reason ve MeetingTotalDuration dışındaki parametreler her zaman döner, bu iki parametre sadece belirli kodlar için yanıtta bulunur.
code: Event codes
JOIN: Occurs when the person entering the room says join the conversation
ROOM_ACTIVATED: It is produced only once when two people start to meet.
MEETING_STARTED: Occurs every time a conversation starts in the room
(including breaks and returns)
LEFT: Occurs when one party leaves the room (including ruptures)
MEETING_ENDED: Occurs every time the call ends (including breaks)

eventSource: Indicates by whom the event occurred
HOST: At all events
GUEST: At all events
SERVER: This is set at the end of time only in rooms created as endHow = AUTOMATIC and
comes with the MEETING_ENDED event.

receivedTime: The timestamp value in utc and milliseconds of the moment the event occurred.
roomUuid: Is the unique id of the conversation room , the same as the uuid value
returned from the create room method.

reason: Only comes in the MEETING_ENDED event
HANGUP: When the call is ended with the end call button
END_MEETING: endHow = When the host says end the call in rooms with BY_HOST
END_MEETING_FORCED: endHow = Set at the end of time in rooms created as AUTOMATIC

meetingTotalDuration: returns the total service time in milliseconds that has passed so far
in this room in MEETING_ENDED events
  1. Kümülatif bir değerdir, yani her başlangıç bitişi için o anın değerini döndürmez, her seferinde üzerine koyarak toplamı döndürür.
  2. Bu süre, görüşmeye ilk girildiği andan son çıkışın yapıldığı ana kadar geçen süreden farklıdır.
  3. MEETING_START ve MEETING_END etkinlikleri bir oda için birden çok kez gerçekleşebilir (aralar, kesintiler)

Yardıma mı İhtiyacınız Var?
Gurulize, e-danışmanlık profesyonellerine e-danışmanlık dijital oluşturma sürecinin her adımında yardımcı olmak için tasarlanmış çeşitli destek kaynakları sunar. Mevcut destek kaynakları hakkında daha fazla bilgi edinmek için Yardım Merkezi'mizi ziyaret etmeye devam edebilirsiniz.