LiteAVSDK
腾讯云音视频 SDK ,服务于数万家企业客户的高可用组件,致力于最大限度地节省您的研发成本。
ITXNetworkProxy

Public 成员函数

 ~ITXNetworkProxy ()
 
int setSocks5Proxy (String^ host, UInt16 port, String^ username, String^ password)
 
void setNATProxy (String^ ip, UInt16 port)
 

静态 Public 成员函数

static ITXNetworkProxycreateTXNetworkProxy ()
 
static void destroyTXNetworkProxy (ITXNetworkProxy^ network_proxy)
 

构造及析构函数说明

◆ ~ITXNetworkProxy()

成员函数说明

◆ createTXNetworkProxy()

static ITXNetworkProxy ^ createTXNetworkProxy ( )
static

◆ destroyTXNetworkProxy()

static void destroyTXNetworkProxy ( ITXNetworkProxy network_proxy)
static

◆ setNATProxy()

void setNATProxy ( String^  ip,
UInt16  port 
)

TXLivePusher/TXLivePlayer

at˿תģʽNAT˿ת ip port

ITXLivePusher/ITXLivePlayer ʹô˴ģʽд͸ʹ ITRTCCloud Ҫô˽ӿ

ӿƣ

- ˽ӿڱ createTXLivePlayer/createTXLivePusher ֮ǰãȷڲݶߴ

- ֱֻ SDK ĹܣֻҪNATӿڡ

参数
ip ip ַַ
portĶ˿

◆ setSocks5Proxy()

int setSocks5Proxy ( String^  host,
UInt16  port,
String^  username,
String^  password 
)

TRTCCloud

socks5 ģʽ socks5 tcp/udp ip port

ô˽ӿںʹýƵԶƵ˷ȹ

ϸοTRTC http://trtc-1252463788.file.myqcloud.com/proxy/proxy_server_deploy.zip

óɹ0ʧܻipǷ-1

ӿƣ

- ꣬ destroy TRTCCloud »ȡ TRTC

- ֻ TRTCCloudֻҪSock5ӿڡ

参数
host ip ַַ
portĶ˿
usernameû
password