Link Kit C-SDK
4.0.0
|
rtc模块收到从网络上来的报文时, 通知用户的报文内容 更多...
#include <aiot_rtc_api.h>
Public 属性 | |
aiot_rtc_recv_type_t | type |
报文内容所对应的报文类型, 更多信息请参考aiot_rtc_recv_type_t 更多... | |
union { | |
struct { | |
uint32_t msg_id | |
消息id 更多... | |
uint32_t code | |
请求响应码 更多... | |
char * channelid | |
会话的频道信息 更多... | |
uint32_t channelid_len | |
会话的频道信息的字符串长度 更多... | |
char * nonce | |
随机码 更多... | |
uint32_t nonce_len | |
char * timestamp | |
时间戳 更多... | |
uint32_t timestamp_len | |
char * token | |
加入会议的身份校验信息 更多... | |
uint32_t token_len | |
char * gslb | |
全局slb接入点 更多... | |
uint32_t gslb_len | |
char * app_id | |
计费的主体 更多... | |
uint32_t appid_len | |
char * user_id | |
被叫方的iotId 更多... | |
uint32_t userid_len | |
char * caller_iotid | |
会议发起者的iotid 更多... | |
uint32_t caller_iotid_len | |
} invitation | |
主叫方发来的会话邀请 更多... | |
struct { | |
char * action | |
被叫者对会话邀请的回复action, 接受或者拒绝 更多... | |
uint32_t action_len | |
char * caller_iotid | |
会议发起者的iotId 更多... | |
uint32_t caller_iotid_len | |
char * channel_id | |
会话的频道信息 更多... | |
uint32_t channel_id_len | |
char * product_key | |
被叫方的product key 更多... | |
uint32_t product_key_len | |
char * device_name | |
被叫方的device name 更多... | |
uint32_t device_name_len | |
} guest_reply | |
被叫者对会话邀请的回复 更多... | |
} | data |
消息数据联合体, 不同的消息类型将使用不同的消息结构体 更多... | |
rtc模块收到从网络上来的报文时, 通知用户的报文内容
aiot_rtc_recv_type_t aiot_rtc_recv_t::type |
报文内容所对应的报文类型, 更多信息请参考aiot_rtc_recv_type_t
uint32_t aiot_rtc_recv_t::msg_id |
消息id
uint32_t aiot_rtc_recv_t::code |
请求响应码
char* aiot_rtc_recv_t::channelid |
会话的频道信息
uint32_t aiot_rtc_recv_t::channelid_len |
会话的频道信息的字符串长度
char* aiot_rtc_recv_t::nonce |
随机码
uint32_t aiot_rtc_recv_t::nonce_len |
char* aiot_rtc_recv_t::timestamp |
时间戳
uint32_t aiot_rtc_recv_t::timestamp_len |
char* aiot_rtc_recv_t::token |
加入会议的身份校验信息
uint32_t aiot_rtc_recv_t::token_len |
char* aiot_rtc_recv_t::gslb |
全局slb接入点
uint32_t aiot_rtc_recv_t::gslb_len |
char* aiot_rtc_recv_t::app_id |
计费的主体
uint32_t aiot_rtc_recv_t::appid_len |
char* aiot_rtc_recv_t::user_id |
被叫方的iotId
uint32_t aiot_rtc_recv_t::userid_len |
char* aiot_rtc_recv_t::caller_iotid |
会议发起者的iotid
会议发起者的iotId
uint32_t aiot_rtc_recv_t::caller_iotid_len |
struct { ... } aiot_rtc_recv_t::invitation |
主叫方发来的会话邀请
char* aiot_rtc_recv_t::action |
被叫者对会话邀请的回复action, 接受或者拒绝
uint32_t aiot_rtc_recv_t::action_len |
char* aiot_rtc_recv_t::channel_id |
会话的频道信息
uint32_t aiot_rtc_recv_t::channel_id_len |
char* aiot_rtc_recv_t::product_key |
被叫方的product key
uint32_t aiot_rtc_recv_t::product_key_len |
char* aiot_rtc_recv_t::device_name |
被叫方的device name
uint32_t aiot_rtc_recv_t::device_name_len |
struct { ... } aiot_rtc_recv_t::guest_reply |
被叫者对会话邀请的回复
union { ... } aiot_rtc_recv_t::data |
消息数据联合体, 不同的消息类型将使用不同的消息结构体