IOTC Platform  Ver: 4.3.6.2-0-ge1f616e
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
AVClientStartInConfig Struct Reference

#include <AVClient.h>

Data Fields

uint32_t cb
 
uint32_t iotc_session_id
 
uint8_t iotc_channel_id
 
uint32_t timeout_sec
 
const char * account_or_identity
 
const char * password_or_token
 
int32_t resend
 
AvSecurityMode security_mode
 
AvAuthType auth_type
 
int32_t sync_recv_data
 
const char * dtls_cipher_suites
 

Detailed Description

The input configuration of avClientStartEx

Parameters
cb[in] The check byte of this structur.
iotc_session_id[in] The session ID of the IOTC session to create AV server
iotc_channel_id[in] The channel ID of the channel to create AV server
timeout_sec[in] The timeout for this function in unit of second. Specify it as 0 will make AV server start process wait until an AV client connects successfully.
account_or_identity[in] The predefined view account
password_or_token[in] The predefined view password, the maximum length of token is 1024
resend[in] Enabling the Resend mechanism or not
security_mode[in] Enabling the DTLS mechanism or not
auth_type[in] Choose the authentication mode for av connection
sync_recv_data[in] Enabling synchronize receive video/audio data mechanism or not
dtls_cipher_suites[in] Setup DTLS cipher suites. Please use the name of cipher suites from OpenSSL and ":" to separate each cipher suite. If you are using mbedtls as 3rd party library, currently, we only support setting it as "PSK-AES128-CBC-SHA256".

Field Documentation

const char* account_or_identity
AvAuthType auth_type
uint32_t cb
const char* dtls_cipher_suites
uint8_t iotc_channel_id
uint32_t iotc_session_id
const char* password_or_token
int32_t resend
AvSecurityMode security_mode
int32_t sync_recv_data
uint32_t timeout_sec

The documentation for this struct was generated from the following file: