zdk.net
SIPConfig.h
1 //
2 // SIPConfig.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_SIPConfig_h
7 #define ZDK_NET_SIPConfig_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "TransportType.h"
12 #include "RPortType.h"
13 #include "RTCPFeedbackType.h"
14 #include "StunConfig.h"
15 #include "MSRPConfig.h"
16 #include "ZRTPConfig.h"
17 #include "PushConfig.h"
18 #include "HeaderField.h"
19 #include "RTPCollisionResolutionType.h"
20 #include "SessionTimerModeType.h"
21 #include "ZHandle.h"
22 
23 using namespace System::Collections::Generic;
24 
25 namespace ZDK_NET
26 {
27  ref class StunConfig;
28  ref class MSRPConfig;
29  ref class ZRTPConfig;
30  ref class PushConfig;
31  ref class SIPConfig;
32 
35  public ref class SIPConfig : ZHandle
36  {
37  public:
38  ZDK::ISIPConfig* cppRef = nullptr;
39 
40  SIPConfig(ZDK::Shared::SIPConfig src);
41  ~SIPConfig();
43 
51  property System::String^ Domain
52  {
53  System::String^ get();
54  void set(System::String^ value);
55  }
56 
67  property bool UseOutboundProxy
68  {
69  bool get();
70  void set(bool value);
71  }
72 
82  property System::String^ OutboundProxy
83  {
84  System::String^ get();
85  void set(System::String^ value);
86  }
87 
110  property System::String^ SipInstance
111  {
112  System::String^ get();
113  void set(System::String^ value);
114  }
115 
122  property ZDK_NET::TransportType Transport
123  {
124  ZDK_NET::TransportType get();
125  void set(ZDK_NET::TransportType value);
126  }
127 
137  property System::String^ AuthUsername
138  {
139  System::String^ get();
140  void set(System::String^ value);
141  }
142 
147  property System::String^ CallerID
148  {
149  System::String^ get();
150  void set(System::String^ value);
151  }
152 
173  property ZDK_NET::RPortType RPort
174  {
175  ZDK_NET::RPortType get();
176  void set(ZDK_NET::RPortType value);
177  }
178 
185  property bool EnableSRTP
186  {
187  bool get();
188  void set(bool value);
189  }
190 
200  property bool EnablePreconditions
201  {
202  bool get();
203  void set(bool value);
204  }
205 
217  property bool EnableVideoFMTP
218  {
219  bool get();
220  void set(bool value);
221  }
222 
239  property ZDK_NET::RTCPFeedbackType RTCPFeedback
240  {
241  ZDK_NET::RTCPFeedbackType get();
242  void set(ZDK_NET::RTCPFeedbackType value);
243  }
244 
251  property ZDK_NET::StunConfig^ Stun
252  {
253  ZDK_NET::StunConfig^ get();
254  void set(ZDK_NET::StunConfig^ value);
255  }
256 
263  property ZDK_NET::MSRPConfig^ MSRP
264  {
265  ZDK_NET::MSRPConfig^ get();
266  void set(ZDK_NET::MSRPConfig^ value);
267  }
268 
275  property ZDK_NET::ZRTPConfig^ ZRTP
276  {
277  ZDK_NET::ZRTPConfig^ get();
278  void set(ZDK_NET::ZRTPConfig^ value);
279  }
280 
287  property ZDK_NET::PushConfig^ Push
288  {
289  ZDK_NET::PushConfig^ get();
290  void set(ZDK_NET::PushConfig^ value);
291  }
292 
301  property bool EnablePrivacy
302  {
303  bool get();
304  void set(bool value);
305  }
306 
321  property int KeepAlive
322  {
323  int get();
324  void set(int value);
325  }
326 
335  property bool HeaderDump
336  {
337  bool get();
338  void set(bool value);
339  }
340 
354  property List<HeaderField^>^ AdditionalHeaders
355  {
356  List<HeaderField^>^ get();
357  void set(List<HeaderField^>^ value);
358  }
359 
367  property int CallAutoRejectTimeout
368  {
369  int get();
370  void set(int value);
371  }
372 
392  property bool ConnectionPersistence
393  {
394  bool get();
395  void set(bool value);
396  }
397 
404  property ZDK_NET::RTPCollisionResolutionType RTPCollisionResolution
405  {
406  ZDK_NET::RTPCollisionResolutionType get();
407  void set(ZDK_NET::RTPCollisionResolutionType value);
408  }
409 
439  property ZDK_NET::SessionTimerModeType SessionTimerMode
440  {
441  ZDK_NET::SessionTimerModeType get();
442  void set(ZDK_NET::SessionTimerModeType value);
443  }
444 
453  property int SessionTimerExpiry
454  {
455  int get();
456  void set(int value);
457  }
458 
468  property bool EnableMediasec
469  {
470  bool get();
471  void set(bool value);
472  }
473 
483 
484  virtual long long Handle() override;
485 
486  virtual void Initialize() override;
487 
488  virtual void ReleaseReference() override;
489 
490  };
491 }
492 
493 #endif
ZDK_NET::PushConfig
Push notification specific configuration.
Definition: PushConfig.h:25
ZDK_NET::ZRTPConfig
ZRTP specific account configuration.
Definition: ZRTPConfig.h:27
ZDK_NET::MSRPConfig
MSRP (Message Session Relay Protocol) specific account configuration.
Definition: MSRPConfig.h:22
ZDK_NET::SIPConfig::IsEqual
bool IsEqual(ZDK_NET::SIPConfig^ comp)
Compares the current configuration with the given one.
ZDK_NET::StunConfig
STUN specific account configuration.
Definition: StunConfig.h:29
ZDK_NET::SIPConfig
SIP specific account configuration.
Definition: SIPConfig.h:36
ZDK_NET::ZHandle
Definition: ZHandle.h:18