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". |