|
int | TgVdpInit (const char *cfg_path, struct TciCB *cbs) |
| VDP 初始化.
|
|
void | TgVdpSetCmdHandler (TGCMDHANDLER func) |
| 设置p2p命令处理回调, 代替 TciSetCmdHandler().
|
|
int | TgVdpStart (int isBound, const char *uuid) |
| 开启VDP 服务.
|
|
void | TgVdpStop () |
| 停止VDP服务, 释放资源 会调用 TciStop()/TciCleanup()
|
|
int | TgVdpCallEx (struct CalleeEx *callees, int size, int timeout, TGVDPCALLBACK cb, const char *whoami, int bShowMeBeforeAccepted) |
| 呼叫.
|
|
int | TgVdpHangup () |
| 结束呼叫或通话.
|
|
int | TgVdpAccept2 () |
| 被叫接听, 等同于 TciAcceptInCall2().
|
|
int | TgVdpReject2 () |
| 被叫拒接, 等同于 TciRejectInCall2().
|
|
int | TgVdpSend (void *handle, int cmd, const void *data, size_t size) |
| 发送请求或应答.
|
|
int | TgVdpSendRespStatus (void *handle, int cmd, int status) |
| 发送状态应答.
|
|