zdk.objc
ZDKStunConfig.h
1//
2// ZDKStunConfig.h
3// ZDK
4//
5
6#ifndef ZDKStunConfig_h
7#define ZDKStunConfig_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKStunConfig.h"
11#import "ZDKZHandle.h"
12#import "ZDKStunConfig.h"
13@protocol ZDKStunConfig;
14
15NS_ASSUME_NONNULL_BEGIN
16
27
34@property(nonatomic) BOOL stunEnabled;
35
42@property(nonatomic) NSString* _Nullable stunServer;
43
50@property(nonatomic) int stunPort;
51
61@property(nonatomic) int stunRefresh;
62
74@property(nonatomic) BOOL useDnsSrvRequests;
75
87@property(nonatomic) BOOL allowOnPrivateAddress;
88
100@property(nonatomic) BOOL allowWithPrivateSipServer;
101
110-(BOOL)isEqual:(id<ZDKStunConfig>)comp ;
111-(NSString*)handlesDescription;
112
113@end
114
115NS_ASSUME_NONNULL_END
116
117#endif
STUN specific account configuration.
Definition: ZDKStunConfig.h:26
BOOL allowWithPrivateSipServer
Configures whether a STUN may be used with SIP server on PRIVATE IP address.
Definition: ZDKStunConfig.h:100
NSString *_Nullable stunServer
Configures the address of the STUN server.
Definition: ZDKStunConfig.h:42
BOOL allowOnPrivateAddress
Configures whether a STUN server on PRIVATE IP address may be used.
Definition: ZDKStunConfig.h:87
int stunRefresh
Configures the refresh period of the STUN server.
Definition: ZDKStunConfig.h:61
BOOL stunEnabled
Configures the use of STUN functionality as described in RFC 3489.
Definition: ZDKStunConfig.h:34
int stunPort
Configures the port of the STUN server.
Definition: ZDKStunConfig.h:50
BOOL useDnsSrvRequests
Configures the use of DNS SRV requests in a STUN server.
Definition: ZDKStunConfig.h:74
Definition: ZDKZHandle.h:13