zdk.objc
ZDKContextConfiguration.h
1//
2// ZDKContextConfiguration.h
3// ZDK
4//
5
6#ifndef ZDKContextConfiguration_h
7#define ZDKContextConfiguration_h
8
9#import <Foundation/Foundation.h>
10#import "ZDKIpVersionType.h"
11#import "ZDKZHandle.h"
12
13NS_ASSUME_NONNULL_BEGIN
14
21
32@property(nonatomic) int sipUdpPort;
33
43@property(nonatomic, readonly) int sipUdpPortInUse;
44
56@property(nonatomic) int sipTcpPort;
57
67@property(nonatomic, readonly) int sipTcpPortInUse;
68
80@property(nonatomic) int sipTlsPort;
81
91@property(nonatomic, readonly) int sipTlsPortInUse;
92
100@property(nonatomic, readonly) int iaxUdpPortInUse;
101
114@property(nonatomic) int rtpPort;
115
125@property(nonatomic) BOOL enableIPv6;
126
137@property(nonatomic) ZDKIpVersionType ipVersionPreference;
138
150@property(nonatomic, readonly) NSString* _Nullable userSipInstance;
151
165@property(nonatomic) BOOL enableSIPReliableProvisioning;
166
173@property(nonatomic) NSString* _Nullable userAgent;
174
183@property(nonatomic) int mediaDSCP;
184
193@property(nonatomic) int signalDSCP;
194
203@property(nonatomic) NSString* _Nullable rtpSessionName;
204
213@property(nonatomic) NSString* _Nullable rtpUsername;
214
223@property(nonatomic) NSString* _Nullable rtpUrl;
224
233@property(nonatomic) NSString* _Nullable rtpEmail;
234
235-(NSString*)handlesDescription;
236
237@end
238
239NS_ASSUME_NONNULL_END
240
241#endif
General ZDK/Context configuration.
Definition: ZDKContextConfiguration.h:20
BOOL enableIPv6
Sets the global use of ZDKPv6 support.
Definition: ZDKContextConfiguration.h:125
NSString *_Nullable userAgent
Sets the ZDK's user agent.
Definition: ZDKContextConfiguration.h:173
int sipUdpPort
Sets the requested SIP UDP port to be used.
Definition: ZDKContextConfiguration.h:32
int sipTlsPortInUse
Gets the actually used SIP TLS port.
Definition: ZDKContextConfiguration.h:91
int iaxUdpPortInUse
Gets the actually used IAX UDP port.
Definition: ZDKContextConfiguration.h:100
NSString *_Nullable rtpUsername
Configures the RTP user name for the SDP.
Definition: ZDKContextConfiguration.h:213
int rtpPort
Sets the base port to be used for RTP streams.
Definition: ZDKContextConfiguration.h:114
NSString *_Nullable rtpSessionName
Configures the RTP session name for the SDP.
Definition: ZDKContextConfiguration.h:203
int signalDSCP
Configures the DSCP for the signaling streams.
Definition: ZDKContextConfiguration.h:193
int sipTcpPort
Sets the requested SIP TCP port to be used.
Definition: ZDKContextConfiguration.h:56
int sipTcpPortInUse
Gets the actually used SIP TCP port.
Definition: ZDKContextConfiguration.h:67
ZDKIpVersionType ipVersionPreference
Selects the preferred IP version.
Definition: ZDKContextConfiguration.h:137
NSString *_Nullable rtpEmail
Configures the e-mail address for SDP.
Definition: ZDKContextConfiguration.h:233
NSString *_Nullable userSipInstance
Generate a random UUID to be used for SIP user instance.
Definition: ZDKContextConfiguration.h:150
int mediaDSCP
Configures the DSCP for the media streams.
Definition: ZDKContextConfiguration.h:183
BOOL enableSIPReliableProvisioning
Sets the global usage of reliable provisional as described in RFC 3262.
Definition: ZDKContextConfiguration.h:165
int sipUdpPortInUse
Gets the actually used SIP UDP port.
Definition: ZDKContextConfiguration.h:43
NSString *_Nullable rtpUrl
Configures the URL for SDP.
Definition: ZDKContextConfiguration.h:223
int sipTlsPort
Sets the requested SIP TCP port to be used.
Definition: ZDKContextConfiguration.h:80
Definition: ZDKZHandle.h:13