logo
On this page

ZegoProxyInfo

ZegoProxyInfo

Proxy config.

Details

Set proxy config.

Declared in ZegoExpressDefines.h

Properties

ip

ip
nonatomic, copy NSString * ip

ip. Under local proxy: local proxy ip configured by the developer. under cloud proxy: proxy ip provided by ZEGO (either hostname or ip will do).

port

port
nonatomic, assign unsigned int port

port. Under Local Proxy: Local proxy port configured by the developer. Under Cloud Proxy: Proxy port provided by ZEGO.

hostName

hostName
nonatomic, copy NSString * hostName

hostname.Under Local Proxy: Local proxy hostname configured by the developer. Under cloud proxy: proxy hostname provided by ZEGO. proxy hostname (either hostname or ip will do).

userName

userName
nonatomic, copy NSString * userName

userName.Under Local Proxy: the authentication username of the local Proxy configured by the developer, can be ignored if there is none. Under cloud proxy: can be ignored.

password

password
nonatomic, copy NSString * password

password.Under local proxy: authentication password of local proxy configured by developer, can be ignored if there is none. Under cloud proxy: can be ignored.

Previous

zegopositionorientation

Next

zegopublishdualstreamconfig

On this page

Back to top