POST Client/Request/VideoEngineAccounts

Get or create video engine acccounts in order to make video call. It needs to be called after calls to these functions: Request/StartVideoProcess or Request/VideoAgain so that it can obtain the VideoEngineAccounts in order to make the call. If the call is not successful, it needs to be called again until either the VideoEngineAccounts are obtained from the server, or timeout and it displays failed call info to the user.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ParaVideoEngineAccountPair
NameDescriptionTypeAdditional information
Caller

ParaVideoEngineAccount

None.

Listener

ParaVideoEngineAccount

None.

IsCallerOffline

boolean

None.

IsListenerOffline

boolean

None.

Killed

boolean

None.

Disconnected

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Caller": {
    "AccountNumber": "sample string 1",
    "ExpirationSeconds": 2,
    "Purpose": "sample string 3"
  },
  "Listener": {
    "AccountNumber": "sample string 1",
    "ExpirationSeconds": 2,
    "Purpose": "sample string 3"
  },
  "IsCallerOffline": true,
  "IsListenerOffline": true,
  "Killed": true,
  "Disconnected": true
}

application/xml, text/xml

Sample:
<ParaVideoEngineAccountPair xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Caller>
    <AccountNumber>sample string 1</AccountNumber>
    <ExpirationSeconds>2</ExpirationSeconds>
    <Purpose>sample string 3</Purpose>
  </Caller>
  <Disconnected>true</Disconnected>
  <IsCallerOffline>true</IsCallerOffline>
  <IsListenerOffline>true</IsListenerOffline>
  <Killed>true</Killed>
  <Listener>
    <AccountNumber>sample string 1</AccountNumber>
    <ExpirationSeconds>2</ExpirationSeconds>
    <Purpose>sample string 3</Purpose>
  </Listener>
</ParaVideoEngineAccountPair>