tinyWRAP.pm 84 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792
  1. # This file was automatically generated by SWIG (http://www.swig.org).
  2. # Version 2.0.9
  3. #
  4. # Do not make changes to this file unless you know what you are doing--modify
  5. # the SWIG interface file instead.
  6. package tinyWRAP;
  7. use base qw(Exporter);
  8. use base qw(DynaLoader);
  9. package tinyWRAPc;
  10. bootstrap tinyWRAP;
  11. package tinyWRAP;
  12. @EXPORT = qw();
  13. # ---------- BASE METHODS -------------
  14. package tinyWRAP;
  15. sub TIEHASH {
  16. my ($classname,$obj) = @_;
  17. return bless $obj, $classname;
  18. }
  19. sub CLEAR { }
  20. sub FIRSTKEY { }
  21. sub NEXTKEY { }
  22. sub FETCH {
  23. my ($self,$field) = @_;
  24. my $member_func = "swig_${field}_get";
  25. $self->$member_func();
  26. }
  27. sub STORE {
  28. my ($self,$field,$newval) = @_;
  29. my $member_func = "swig_${field}_set";
  30. $self->$member_func($newval);
  31. }
  32. sub this {
  33. my $ptr = shift;
  34. return tied(%$ptr);
  35. }
  36. # ------- FUNCTION WRAPPERS --------
  37. package tinyWRAP;
  38. ############# Class : tinyWRAP::DDebugCallback ##############
  39. package tinyWRAP::DDebugCallback;
  40. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  41. @ISA = qw( tinyWRAP );
  42. %OWNER = ();
  43. %ITERATORS = ();
  44. sub new {
  45. my $pkg = shift;
  46. my $self = tinyWRAPc::new_DDebugCallback(@_);
  47. bless $self, $pkg if defined($self);
  48. }
  49. sub DESTROY {
  50. return unless $_[0]->isa('HASH');
  51. my $self = tied(%{$_[0]});
  52. return unless defined $self;
  53. delete $ITERATORS{$self};
  54. if (exists $OWNER{$self}) {
  55. tinyWRAPc::delete_DDebugCallback($self);
  56. delete $OWNER{$self};
  57. }
  58. }
  59. *OnDebugInfo = *tinyWRAPc::DDebugCallback_OnDebugInfo;
  60. *OnDebugWarn = *tinyWRAPc::DDebugCallback_OnDebugWarn;
  61. *OnDebugError = *tinyWRAPc::DDebugCallback_OnDebugError;
  62. *OnDebugFatal = *tinyWRAPc::DDebugCallback_OnDebugFatal;
  63. sub DISOWN {
  64. my $self = shift;
  65. my $ptr = tied(%$self);
  66. delete $OWNER{$ptr};
  67. }
  68. sub ACQUIRE {
  69. my $self = shift;
  70. my $ptr = tied(%$self);
  71. $OWNER{$ptr} = 1;
  72. }
  73. ############# Class : tinyWRAP::AudioResampler ##############
  74. package tinyWRAP::AudioResampler;
  75. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  76. @ISA = qw( tinyWRAP );
  77. %OWNER = ();
  78. %ITERATORS = ();
  79. sub new {
  80. my $pkg = shift;
  81. my $self = tinyWRAPc::new_AudioResampler(@_);
  82. bless $self, $pkg if defined($self);
  83. }
  84. sub DESTROY {
  85. return unless $_[0]->isa('HASH');
  86. my $self = tied(%{$_[0]});
  87. return unless defined $self;
  88. delete $ITERATORS{$self};
  89. if (exists $OWNER{$self}) {
  90. tinyWRAPc::delete_AudioResampler($self);
  91. delete $OWNER{$self};
  92. }
  93. }
  94. *isValid = *tinyWRAPc::AudioResampler_isValid;
  95. *getOutputRequiredSizeInShort = *tinyWRAPc::AudioResampler_getOutputRequiredSizeInShort;
  96. *getInputRequiredSizeInShort = *tinyWRAPc::AudioResampler_getInputRequiredSizeInShort;
  97. *process = *tinyWRAPc::AudioResampler_process;
  98. sub DISOWN {
  99. my $self = shift;
  100. my $ptr = tied(%$self);
  101. delete $OWNER{$ptr};
  102. }
  103. sub ACQUIRE {
  104. my $self = shift;
  105. my $ptr = tied(%$self);
  106. $OWNER{$ptr} = 1;
  107. }
  108. ############# Class : tinyWRAP::ActionConfig ##############
  109. package tinyWRAP::ActionConfig;
  110. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  111. @ISA = qw( tinyWRAP );
  112. %OWNER = ();
  113. %ITERATORS = ();
  114. sub new {
  115. my $pkg = shift;
  116. my $self = tinyWRAPc::new_ActionConfig(@_);
  117. bless $self, $pkg if defined($self);
  118. }
  119. sub DESTROY {
  120. return unless $_[0]->isa('HASH');
  121. my $self = tied(%{$_[0]});
  122. return unless defined $self;
  123. delete $ITERATORS{$self};
  124. if (exists $OWNER{$self}) {
  125. tinyWRAPc::delete_ActionConfig($self);
  126. delete $OWNER{$self};
  127. }
  128. }
  129. *addHeader = *tinyWRAPc::ActionConfig_addHeader;
  130. *addPayload = *tinyWRAPc::ActionConfig_addPayload;
  131. *setActiveMedia = *tinyWRAPc::ActionConfig_setActiveMedia;
  132. *setResponseLine = *tinyWRAPc::ActionConfig_setResponseLine;
  133. *setMediaString = *tinyWRAPc::ActionConfig_setMediaString;
  134. *setMediaInt = *tinyWRAPc::ActionConfig_setMediaInt;
  135. sub DISOWN {
  136. my $self = shift;
  137. my $ptr = tied(%$self);
  138. delete $OWNER{$ptr};
  139. }
  140. sub ACQUIRE {
  141. my $self = shift;
  142. my $ptr = tied(%$self);
  143. $OWNER{$ptr} = 1;
  144. }
  145. ############# Class : tinyWRAP::QoS ##############
  146. package tinyWRAP::QoS;
  147. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  148. @ISA = qw( tinyWRAP );
  149. %OWNER = ();
  150. %ITERATORS = ();
  151. sub DESTROY {
  152. return unless $_[0]->isa('HASH');
  153. my $self = tied(%{$_[0]});
  154. return unless defined $self;
  155. delete $ITERATORS{$self};
  156. if (exists $OWNER{$self}) {
  157. tinyWRAPc::delete_QoS($self);
  158. delete $OWNER{$self};
  159. }
  160. }
  161. *getQavg = *tinyWRAPc::QoS_getQavg;
  162. *getQ1 = *tinyWRAPc::QoS_getQ1;
  163. *getQ2 = *tinyWRAPc::QoS_getQ2;
  164. *getQ3 = *tinyWRAPc::QoS_getQ3;
  165. *getQ4 = *tinyWRAPc::QoS_getQ4;
  166. *getQ5 = *tinyWRAPc::QoS_getQ5;
  167. *getVideoInWidth = *tinyWRAPc::QoS_getVideoInWidth;
  168. *getVideoOutWidth = *tinyWRAPc::QoS_getVideoOutWidth;
  169. *getVideoInHeight = *tinyWRAPc::QoS_getVideoInHeight;
  170. *getVideoOutHeight = *tinyWRAPc::QoS_getVideoOutHeight;
  171. *getBandwidthDownKbps = *tinyWRAPc::QoS_getBandwidthDownKbps;
  172. *getBandwidthUpKbps = *tinyWRAPc::QoS_getBandwidthUpKbps;
  173. *getVideoInAvgFps = *tinyWRAPc::QoS_getVideoInAvgFps;
  174. *getVideoDecAvgTime = *tinyWRAPc::QoS_getVideoDecAvgTime;
  175. *getVideoEncAvgTime = *tinyWRAPc::QoS_getVideoEncAvgTime;
  176. sub DISOWN {
  177. my $self = shift;
  178. my $ptr = tied(%$self);
  179. delete $OWNER{$ptr};
  180. }
  181. sub ACQUIRE {
  182. my $self = shift;
  183. my $ptr = tied(%$self);
  184. $OWNER{$ptr} = 1;
  185. }
  186. ############# Class : tinyWRAP::Codec ##############
  187. package tinyWRAP::Codec;
  188. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  189. @ISA = qw( tinyWRAP );
  190. %OWNER = ();
  191. %ITERATORS = ();
  192. sub DESTROY {
  193. return unless $_[0]->isa('HASH');
  194. my $self = tied(%{$_[0]});
  195. return unless defined $self;
  196. delete $ITERATORS{$self};
  197. if (exists $OWNER{$self}) {
  198. tinyWRAPc::delete_Codec($self);
  199. delete $OWNER{$self};
  200. }
  201. }
  202. *getMediaType = *tinyWRAPc::Codec_getMediaType;
  203. *getName = *tinyWRAPc::Codec_getName;
  204. *getDescription = *tinyWRAPc::Codec_getDescription;
  205. *getNegFormat = *tinyWRAPc::Codec_getNegFormat;
  206. *getAudioSamplingRate = *tinyWRAPc::Codec_getAudioSamplingRate;
  207. *getAudioChannels = *tinyWRAPc::Codec_getAudioChannels;
  208. *getAudioPTime = *tinyWRAPc::Codec_getAudioPTime;
  209. sub DISOWN {
  210. my $self = shift;
  211. my $ptr = tied(%$self);
  212. delete $OWNER{$ptr};
  213. }
  214. sub ACQUIRE {
  215. my $self = shift;
  216. my $ptr = tied(%$self);
  217. $OWNER{$ptr} = 1;
  218. }
  219. ############# Class : tinyWRAP::MediaSessionMgr ##############
  220. package tinyWRAP::MediaSessionMgr;
  221. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  222. @ISA = qw( tinyWRAP );
  223. %OWNER = ();
  224. %ITERATORS = ();
  225. sub DESTROY {
  226. return unless $_[0]->isa('HASH');
  227. my $self = tied(%{$_[0]});
  228. return unless defined $self;
  229. delete $ITERATORS{$self};
  230. if (exists $OWNER{$self}) {
  231. tinyWRAPc::delete_MediaSessionMgr($self);
  232. delete $OWNER{$self};
  233. }
  234. }
  235. *sessionSetInt32 = *tinyWRAPc::MediaSessionMgr_sessionSetInt32;
  236. *sessionGetInt32 = *tinyWRAPc::MediaSessionMgr_sessionGetInt32;
  237. *sessionGetQoS = *tinyWRAPc::MediaSessionMgr_sessionGetQoS;
  238. *consumerSetInt32 = *tinyWRAPc::MediaSessionMgr_consumerSetInt32;
  239. *consumerSetInt64 = *tinyWRAPc::MediaSessionMgr_consumerSetInt64;
  240. *producerSetInt32 = *tinyWRAPc::MediaSessionMgr_producerSetInt32;
  241. *producerSetInt64 = *tinyWRAPc::MediaSessionMgr_producerSetInt64;
  242. *producerGetCodec = *tinyWRAPc::MediaSessionMgr_producerGetCodec;
  243. *findProxyPluginConsumer = *tinyWRAPc::MediaSessionMgr_findProxyPluginConsumer;
  244. *findProxyPluginProducer = *tinyWRAPc::MediaSessionMgr_findProxyPluginProducer;
  245. *registerAudioPluginFromFile = *tinyWRAPc::MediaSessionMgr_registerAudioPluginFromFile;
  246. *getSessionId = *tinyWRAPc::MediaSessionMgr_getSessionId;
  247. *defaultsSetProfile = *tinyWRAPc::MediaSessionMgr_defaultsSetProfile;
  248. *defaultsGetProfile = *tinyWRAPc::MediaSessionMgr_defaultsGetProfile;
  249. *defaultsSetBandwidthLevel = *tinyWRAPc::MediaSessionMgr_defaultsSetBandwidthLevel;
  250. *defaultsGetBandwidthLevel = *tinyWRAPc::MediaSessionMgr_defaultsGetBandwidthLevel;
  251. *defaultsSetCongestionCtrlEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetCongestionCtrlEnabled;
  252. *defaultsSetVideoMotionRank = *tinyWRAPc::MediaSessionMgr_defaultsSetVideoMotionRank;
  253. *defaultsSetVideoFps = *tinyWRAPc::MediaSessionMgr_defaultsSetVideoFps;
  254. *defaultsSetBandwidthVideoUploadMax = *tinyWRAPc::MediaSessionMgr_defaultsSetBandwidthVideoUploadMax;
  255. *defaultsSetBandwidthVideoDownloadMax = *tinyWRAPc::MediaSessionMgr_defaultsSetBandwidthVideoDownloadMax;
  256. *defaultsSetPrefVideoSize = *tinyWRAPc::MediaSessionMgr_defaultsSetPrefVideoSize;
  257. *defaultsSetPrefVideoSizeOutRange = *tinyWRAPc::MediaSessionMgr_defaultsSetPrefVideoSizeOutRange;
  258. *defaultsSetAdaptativeVideoSizeOutEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetAdaptativeVideoSizeOutEnabled;
  259. *defaultsSetJbMargin = *tinyWRAPc::MediaSessionMgr_defaultsSetJbMargin;
  260. *defaultsSetJbMaxLateRate = *tinyWRAPc::MediaSessionMgr_defaultsSetJbMaxLateRate;
  261. *defaultsSetEchoTail = *tinyWRAPc::MediaSessionMgr_defaultsSetEchoTail;
  262. *defaultsGetEchoTail = *tinyWRAPc::MediaSessionMgr_defaultsGetEchoTail;
  263. *defaultsSetEchoSkew = *tinyWRAPc::MediaSessionMgr_defaultsSetEchoSkew;
  264. *defaultsSetEchoSuppEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetEchoSuppEnabled;
  265. *defaultsGetEchoSuppEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGetEchoSuppEnabled;
  266. *defaultsSetAgcEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetAgcEnabled;
  267. *defaultsGetAgcEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGetAgcEnabled;
  268. *defaultsSetAgcLevel = *tinyWRAPc::MediaSessionMgr_defaultsSetAgcLevel;
  269. *defaultsGetAgcLevel = *tinyWRAPc::MediaSessionMgr_defaultsGetAgcLevel;
  270. *defaultsSetVadEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetVadEnabled;
  271. *defaultsGetGetVadEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGetGetVadEnabled;
  272. *defaultsSetNoiseSuppEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetNoiseSuppEnabled;
  273. *defaultsGetNoiseSuppEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGetNoiseSuppEnabled;
  274. *defaultsSetNoiseSuppLevel = *tinyWRAPc::MediaSessionMgr_defaultsSetNoiseSuppLevel;
  275. *defaultsGetNoiseSuppLevel = *tinyWRAPc::MediaSessionMgr_defaultsGetNoiseSuppLevel;
  276. *defaultsSetConditionalRingingEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetConditionalRingingEnabled;
  277. *defaultsGetConditionalRingingEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGetConditionalRingingEnabled;
  278. *defaultsSet100relEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSet100relEnabled;
  279. *defaultsGet100relEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGet100relEnabled;
  280. *defaultsSetScreenSize = *tinyWRAPc::MediaSessionMgr_defaultsSetScreenSize;
  281. *defaultsSetAudioGain = *tinyWRAPc::MediaSessionMgr_defaultsSetAudioGain;
  282. *defaultsSetAudioPtime = *tinyWRAPc::MediaSessionMgr_defaultsSetAudioPtime;
  283. *defaultsSetAudioChannels = *tinyWRAPc::MediaSessionMgr_defaultsSetAudioChannels;
  284. *defaultsSetRtpPortRange = *tinyWRAPc::MediaSessionMgr_defaultsSetRtpPortRange;
  285. *defaultsSetRtpSymetricEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetRtpSymetricEnabled;
  286. *defaultsSetMediaType = *tinyWRAPc::MediaSessionMgr_defaultsSetMediaType;
  287. *defaultsSetVolume = *tinyWRAPc::MediaSessionMgr_defaultsSetVolume;
  288. *defaultsGetVolume = *tinyWRAPc::MediaSessionMgr_defaultsGetVolume;
  289. *defaultsSetInviteSessionTimers = *tinyWRAPc::MediaSessionMgr_defaultsSetInviteSessionTimers;
  290. *defaultsSetSRtpMode = *tinyWRAPc::MediaSessionMgr_defaultsSetSRtpMode;
  291. *defaultsGetSRtpMode = *tinyWRAPc::MediaSessionMgr_defaultsGetSRtpMode;
  292. *defaultsSetSRtpType = *tinyWRAPc::MediaSessionMgr_defaultsSetSRtpType;
  293. *defaultsGetSRtpType = *tinyWRAPc::MediaSessionMgr_defaultsGetSRtpType;
  294. *defaultsSetRtcpEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetRtcpEnabled;
  295. *defaultsGetRtcpEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGetRtcpEnabled;
  296. *defaultsSetRtcpMuxEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetRtcpMuxEnabled;
  297. *defaultsGetRtcpMuxEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGetRtcpMuxEnabled;
  298. *defaultsSetStunEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetStunEnabled;
  299. *defaultsSetIceStunEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetIceStunEnabled;
  300. *defaultsSetIceTurnEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetIceTurnEnabled;
  301. *defaultsSetStunServer = *tinyWRAPc::MediaSessionMgr_defaultsSetStunServer;
  302. *defaultsSetStunCred = *tinyWRAPc::MediaSessionMgr_defaultsSetStunCred;
  303. *defaultsSetIceEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetIceEnabled;
  304. *defaultsSetByPassEncoding = *tinyWRAPc::MediaSessionMgr_defaultsSetByPassEncoding;
  305. *defaultsGetByPassEncoding = *tinyWRAPc::MediaSessionMgr_defaultsGetByPassEncoding;
  306. *defaultsSetByPassDecoding = *tinyWRAPc::MediaSessionMgr_defaultsSetByPassDecoding;
  307. *defaultsGetByPassDecoding = *tinyWRAPc::MediaSessionMgr_defaultsGetByPassDecoding;
  308. *defaultsSetVideoJbEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetVideoJbEnabled;
  309. *defaultsGetVideoJbEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGetVideoJbEnabled;
  310. *defaultsSetVideoZeroArtifactsEnabled = *tinyWRAPc::MediaSessionMgr_defaultsSetVideoZeroArtifactsEnabled;
  311. *defaultsGetVideoZeroArtifactsEnabled = *tinyWRAPc::MediaSessionMgr_defaultsGetVideoZeroArtifactsEnabled;
  312. *defaultsSetRtpBuffSize = *tinyWRAPc::MediaSessionMgr_defaultsSetRtpBuffSize;
  313. *defaultsGetRtpBuffSize = *tinyWRAPc::MediaSessionMgr_defaultsGetRtpBuffSize;
  314. *defaultsSetAvpfTail = *tinyWRAPc::MediaSessionMgr_defaultsSetAvpfTail;
  315. *defaultsSetAvpfMode = *tinyWRAPc::MediaSessionMgr_defaultsSetAvpfMode;
  316. *defaultsSetOpusMaxCaptureRate = *tinyWRAPc::MediaSessionMgr_defaultsSetOpusMaxCaptureRate;
  317. *defaultsSetOpusMaxPlaybackRate = *tinyWRAPc::MediaSessionMgr_defaultsSetOpusMaxPlaybackRate;
  318. *defaultsSetMaxFds = *tinyWRAPc::MediaSessionMgr_defaultsSetMaxFds;
  319. sub DISOWN {
  320. my $self = shift;
  321. my $ptr = tied(%$self);
  322. delete $OWNER{$ptr};
  323. }
  324. sub ACQUIRE {
  325. my $self = shift;
  326. my $ptr = tied(%$self);
  327. $OWNER{$ptr} = 1;
  328. }
  329. ############# Class : tinyWRAP::MediaContent ##############
  330. package tinyWRAP::MediaContent;
  331. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  332. @ISA = qw( tinyWRAP );
  333. %OWNER = ();
  334. %ITERATORS = ();
  335. sub DESTROY {
  336. return unless $_[0]->isa('HASH');
  337. my $self = tied(%{$_[0]});
  338. return unless defined $self;
  339. delete $ITERATORS{$self};
  340. if (exists $OWNER{$self}) {
  341. tinyWRAPc::delete_MediaContent($self);
  342. delete $OWNER{$self};
  343. }
  344. }
  345. *getType = *tinyWRAPc::MediaContent_getType;
  346. *getDataLength = *tinyWRAPc::MediaContent_getDataLength;
  347. *getData = *tinyWRAPc::MediaContent_getData;
  348. *parse = *tinyWRAPc::MediaContent_parse;
  349. *getPayloadLength = *tinyWRAPc::MediaContent_getPayloadLength;
  350. *getPayload = *tinyWRAPc::MediaContent_getPayload;
  351. sub DISOWN {
  352. my $self = shift;
  353. my $ptr = tied(%$self);
  354. delete $OWNER{$ptr};
  355. }
  356. sub ACQUIRE {
  357. my $self = shift;
  358. my $ptr = tied(%$self);
  359. $OWNER{$ptr} = 1;
  360. }
  361. ############# Class : tinyWRAP::MediaContentCPIM ##############
  362. package tinyWRAP::MediaContentCPIM;
  363. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  364. @ISA = qw( tinyWRAP::MediaContent tinyWRAP );
  365. %OWNER = ();
  366. %ITERATORS = ();
  367. sub DESTROY {
  368. return unless $_[0]->isa('HASH');
  369. my $self = tied(%{$_[0]});
  370. return unless defined $self;
  371. delete $ITERATORS{$self};
  372. if (exists $OWNER{$self}) {
  373. tinyWRAPc::delete_MediaContentCPIM($self);
  374. delete $OWNER{$self};
  375. }
  376. }
  377. *getPayloadLength = *tinyWRAPc::MediaContentCPIM_getPayloadLength;
  378. *getPayload = *tinyWRAPc::MediaContentCPIM_getPayload;
  379. *getHeaderValue = *tinyWRAPc::MediaContentCPIM_getHeaderValue;
  380. sub DISOWN {
  381. my $self = shift;
  382. my $ptr = tied(%$self);
  383. delete $OWNER{$ptr};
  384. }
  385. sub ACQUIRE {
  386. my $self = shift;
  387. my $ptr = tied(%$self);
  388. $OWNER{$ptr} = 1;
  389. }
  390. ############# Class : tinyWRAP::SipUri ##############
  391. package tinyWRAP::SipUri;
  392. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  393. @ISA = qw( tinyWRAP );
  394. %OWNER = ();
  395. %ITERATORS = ();
  396. sub new {
  397. my $pkg = shift;
  398. my $self = tinyWRAPc::new_SipUri(@_);
  399. bless $self, $pkg if defined($self);
  400. }
  401. sub DESTROY {
  402. return unless $_[0]->isa('HASH');
  403. my $self = tied(%{$_[0]});
  404. return unless defined $self;
  405. delete $ITERATORS{$self};
  406. if (exists $OWNER{$self}) {
  407. tinyWRAPc::delete_SipUri($self);
  408. delete $OWNER{$self};
  409. }
  410. }
  411. *isValid = *tinyWRAPc::SipUri_isValid;
  412. *getScheme = *tinyWRAPc::SipUri_getScheme;
  413. *getHost = *tinyWRAPc::SipUri_getHost;
  414. *getPort = *tinyWRAPc::SipUri_getPort;
  415. *getUserName = *tinyWRAPc::SipUri_getUserName;
  416. *getPassword = *tinyWRAPc::SipUri_getPassword;
  417. *getDisplayName = *tinyWRAPc::SipUri_getDisplayName;
  418. *getParamValue = *tinyWRAPc::SipUri_getParamValue;
  419. *setDisplayName = *tinyWRAPc::SipUri_setDisplayName;
  420. sub DISOWN {
  421. my $self = shift;
  422. my $ptr = tied(%$self);
  423. delete $OWNER{$ptr};
  424. }
  425. sub ACQUIRE {
  426. my $self = shift;
  427. my $ptr = tied(%$self);
  428. $OWNER{$ptr} = 1;
  429. }
  430. ############# Class : tinyWRAP::SdpMessage ##############
  431. package tinyWRAP::SdpMessage;
  432. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  433. @ISA = qw( tinyWRAP );
  434. %OWNER = ();
  435. %ITERATORS = ();
  436. sub new {
  437. my $pkg = shift;
  438. my $self = tinyWRAPc::new_SdpMessage(@_);
  439. bless $self, $pkg if defined($self);
  440. }
  441. sub DESTROY {
  442. return unless $_[0]->isa('HASH');
  443. my $self = tied(%{$_[0]});
  444. return unless defined $self;
  445. delete $ITERATORS{$self};
  446. if (exists $OWNER{$self}) {
  447. tinyWRAPc::delete_SdpMessage($self);
  448. delete $OWNER{$self};
  449. }
  450. }
  451. *getSdpHeaderValue = *tinyWRAPc::SdpMessage_getSdpHeaderValue;
  452. *getSdpHeaderAValue = *tinyWRAPc::SdpMessage_getSdpHeaderAValue;
  453. sub DISOWN {
  454. my $self = shift;
  455. my $ptr = tied(%$self);
  456. delete $OWNER{$ptr};
  457. }
  458. sub ACQUIRE {
  459. my $self = shift;
  460. my $ptr = tied(%$self);
  461. $OWNER{$ptr} = 1;
  462. }
  463. ############# Class : tinyWRAP::SipMessage ##############
  464. package tinyWRAP::SipMessage;
  465. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  466. @ISA = qw( tinyWRAP );
  467. %OWNER = ();
  468. %ITERATORS = ();
  469. sub new {
  470. my $pkg = shift;
  471. my $self = tinyWRAPc::new_SipMessage(@_);
  472. bless $self, $pkg if defined($self);
  473. }
  474. sub DESTROY {
  475. return unless $_[0]->isa('HASH');
  476. my $self = tied(%{$_[0]});
  477. return unless defined $self;
  478. delete $ITERATORS{$self};
  479. if (exists $OWNER{$self}) {
  480. tinyWRAPc::delete_SipMessage($self);
  481. delete $OWNER{$self};
  482. }
  483. }
  484. *isResponse = *tinyWRAPc::SipMessage_isResponse;
  485. *getRequestType = *tinyWRAPc::SipMessage_getRequestType;
  486. *getResponseCode = *tinyWRAPc::SipMessage_getResponseCode;
  487. *getResponsePhrase = *tinyWRAPc::SipMessage_getResponsePhrase;
  488. *getSipHeaderValue = *tinyWRAPc::SipMessage_getSipHeaderValue;
  489. *getSipHeaderParamValue = *tinyWRAPc::SipMessage_getSipHeaderParamValue;
  490. *getSipContentLength = *tinyWRAPc::SipMessage_getSipContentLength;
  491. *getSipContent = *tinyWRAPc::SipMessage_getSipContent;
  492. *getSdpMessage = *tinyWRAPc::SipMessage_getSdpMessage;
  493. sub DISOWN {
  494. my $self = shift;
  495. my $ptr = tied(%$self);
  496. delete $OWNER{$ptr};
  497. }
  498. sub ACQUIRE {
  499. my $self = shift;
  500. my $ptr = tied(%$self);
  501. $OWNER{$ptr} = 1;
  502. }
  503. ############# Class : tinyWRAP::SipEvent ##############
  504. package tinyWRAP::SipEvent;
  505. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  506. @ISA = qw( tinyWRAP );
  507. %OWNER = ();
  508. %ITERATORS = ();
  509. sub DESTROY {
  510. return unless $_[0]->isa('HASH');
  511. my $self = tied(%{$_[0]});
  512. return unless defined $self;
  513. delete $ITERATORS{$self};
  514. if (exists $OWNER{$self}) {
  515. tinyWRAPc::delete_SipEvent($self);
  516. delete $OWNER{$self};
  517. }
  518. }
  519. *getCode = *tinyWRAPc::SipEvent_getCode;
  520. *getPhrase = *tinyWRAPc::SipEvent_getPhrase;
  521. *getBaseSession = *tinyWRAPc::SipEvent_getBaseSession;
  522. *getSipMessage = *tinyWRAPc::SipEvent_getSipMessage;
  523. sub DISOWN {
  524. my $self = shift;
  525. my $ptr = tied(%$self);
  526. delete $OWNER{$ptr};
  527. }
  528. sub ACQUIRE {
  529. my $self = shift;
  530. my $ptr = tied(%$self);
  531. $OWNER{$ptr} = 1;
  532. }
  533. ############# Class : tinyWRAP::DialogEvent ##############
  534. package tinyWRAP::DialogEvent;
  535. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  536. @ISA = qw( tinyWRAP::SipEvent tinyWRAP );
  537. %OWNER = ();
  538. %ITERATORS = ();
  539. sub DESTROY {
  540. return unless $_[0]->isa('HASH');
  541. my $self = tied(%{$_[0]});
  542. return unless defined $self;
  543. delete $ITERATORS{$self};
  544. if (exists $OWNER{$self}) {
  545. tinyWRAPc::delete_DialogEvent($self);
  546. delete $OWNER{$self};
  547. }
  548. }
  549. sub DISOWN {
  550. my $self = shift;
  551. my $ptr = tied(%$self);
  552. delete $OWNER{$ptr};
  553. }
  554. sub ACQUIRE {
  555. my $self = shift;
  556. my $ptr = tied(%$self);
  557. $OWNER{$ptr} = 1;
  558. }
  559. ############# Class : tinyWRAP::StackEvent ##############
  560. package tinyWRAP::StackEvent;
  561. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  562. @ISA = qw( tinyWRAP::SipEvent tinyWRAP );
  563. %OWNER = ();
  564. %ITERATORS = ();
  565. sub DESTROY {
  566. return unless $_[0]->isa('HASH');
  567. my $self = tied(%{$_[0]});
  568. return unless defined $self;
  569. delete $ITERATORS{$self};
  570. if (exists $OWNER{$self}) {
  571. tinyWRAPc::delete_StackEvent($self);
  572. delete $OWNER{$self};
  573. }
  574. }
  575. sub DISOWN {
  576. my $self = shift;
  577. my $ptr = tied(%$self);
  578. delete $OWNER{$ptr};
  579. }
  580. sub ACQUIRE {
  581. my $self = shift;
  582. my $ptr = tied(%$self);
  583. $OWNER{$ptr} = 1;
  584. }
  585. ############# Class : tinyWRAP::InviteEvent ##############
  586. package tinyWRAP::InviteEvent;
  587. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  588. @ISA = qw( tinyWRAP::SipEvent tinyWRAP );
  589. %OWNER = ();
  590. %ITERATORS = ();
  591. sub DESTROY {
  592. return unless $_[0]->isa('HASH');
  593. my $self = tied(%{$_[0]});
  594. return unless defined $self;
  595. delete $ITERATORS{$self};
  596. if (exists $OWNER{$self}) {
  597. tinyWRAPc::delete_InviteEvent($self);
  598. delete $OWNER{$self};
  599. }
  600. }
  601. *getType = *tinyWRAPc::InviteEvent_getType;
  602. *getMediaType = *tinyWRAPc::InviteEvent_getMediaType;
  603. *getSession = *tinyWRAPc::InviteEvent_getSession;
  604. *takeCallSessionOwnership = *tinyWRAPc::InviteEvent_takeCallSessionOwnership;
  605. *takeMsrpSessionOwnership = *tinyWRAPc::InviteEvent_takeMsrpSessionOwnership;
  606. sub DISOWN {
  607. my $self = shift;
  608. my $ptr = tied(%$self);
  609. delete $OWNER{$ptr};
  610. }
  611. sub ACQUIRE {
  612. my $self = shift;
  613. my $ptr = tied(%$self);
  614. $OWNER{$ptr} = 1;
  615. }
  616. ############# Class : tinyWRAP::MessagingEvent ##############
  617. package tinyWRAP::MessagingEvent;
  618. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  619. @ISA = qw( tinyWRAP::SipEvent tinyWRAP );
  620. %OWNER = ();
  621. %ITERATORS = ();
  622. sub DESTROY {
  623. return unless $_[0]->isa('HASH');
  624. my $self = tied(%{$_[0]});
  625. return unless defined $self;
  626. delete $ITERATORS{$self};
  627. if (exists $OWNER{$self}) {
  628. tinyWRAPc::delete_MessagingEvent($self);
  629. delete $OWNER{$self};
  630. }
  631. }
  632. *getType = *tinyWRAPc::MessagingEvent_getType;
  633. *getSession = *tinyWRAPc::MessagingEvent_getSession;
  634. *takeSessionOwnership = *tinyWRAPc::MessagingEvent_takeSessionOwnership;
  635. sub DISOWN {
  636. my $self = shift;
  637. my $ptr = tied(%$self);
  638. delete $OWNER{$ptr};
  639. }
  640. sub ACQUIRE {
  641. my $self = shift;
  642. my $ptr = tied(%$self);
  643. $OWNER{$ptr} = 1;
  644. }
  645. ############# Class : tinyWRAP::InfoEvent ##############
  646. package tinyWRAP::InfoEvent;
  647. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  648. @ISA = qw( tinyWRAP::SipEvent tinyWRAP );
  649. %OWNER = ();
  650. %ITERATORS = ();
  651. sub DESTROY {
  652. return unless $_[0]->isa('HASH');
  653. my $self = tied(%{$_[0]});
  654. return unless defined $self;
  655. delete $ITERATORS{$self};
  656. if (exists $OWNER{$self}) {
  657. tinyWRAPc::delete_InfoEvent($self);
  658. delete $OWNER{$self};
  659. }
  660. }
  661. *getType = *tinyWRAPc::InfoEvent_getType;
  662. *getSession = *tinyWRAPc::InfoEvent_getSession;
  663. *takeSessionOwnership = *tinyWRAPc::InfoEvent_takeSessionOwnership;
  664. sub DISOWN {
  665. my $self = shift;
  666. my $ptr = tied(%$self);
  667. delete $OWNER{$ptr};
  668. }
  669. sub ACQUIRE {
  670. my $self = shift;
  671. my $ptr = tied(%$self);
  672. $OWNER{$ptr} = 1;
  673. }
  674. ############# Class : tinyWRAP::OptionsEvent ##############
  675. package tinyWRAP::OptionsEvent;
  676. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  677. @ISA = qw( tinyWRAP::SipEvent tinyWRAP );
  678. %OWNER = ();
  679. %ITERATORS = ();
  680. sub DESTROY {
  681. return unless $_[0]->isa('HASH');
  682. my $self = tied(%{$_[0]});
  683. return unless defined $self;
  684. delete $ITERATORS{$self};
  685. if (exists $OWNER{$self}) {
  686. tinyWRAPc::delete_OptionsEvent($self);
  687. delete $OWNER{$self};
  688. }
  689. }
  690. *getType = *tinyWRAPc::OptionsEvent_getType;
  691. *getSession = *tinyWRAPc::OptionsEvent_getSession;
  692. *takeSessionOwnership = *tinyWRAPc::OptionsEvent_takeSessionOwnership;
  693. sub DISOWN {
  694. my $self = shift;
  695. my $ptr = tied(%$self);
  696. delete $OWNER{$ptr};
  697. }
  698. sub ACQUIRE {
  699. my $self = shift;
  700. my $ptr = tied(%$self);
  701. $OWNER{$ptr} = 1;
  702. }
  703. ############# Class : tinyWRAP::PublicationEvent ##############
  704. package tinyWRAP::PublicationEvent;
  705. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  706. @ISA = qw( tinyWRAP::SipEvent tinyWRAP );
  707. %OWNER = ();
  708. %ITERATORS = ();
  709. sub DESTROY {
  710. return unless $_[0]->isa('HASH');
  711. my $self = tied(%{$_[0]});
  712. return unless defined $self;
  713. delete $ITERATORS{$self};
  714. if (exists $OWNER{$self}) {
  715. tinyWRAPc::delete_PublicationEvent($self);
  716. delete $OWNER{$self};
  717. }
  718. }
  719. *getType = *tinyWRAPc::PublicationEvent_getType;
  720. *getSession = *tinyWRAPc::PublicationEvent_getSession;
  721. *takeSessionOwnership = *tinyWRAPc::PublicationEvent_takeSessionOwnership;
  722. sub DISOWN {
  723. my $self = shift;
  724. my $ptr = tied(%$self);
  725. delete $OWNER{$ptr};
  726. }
  727. sub ACQUIRE {
  728. my $self = shift;
  729. my $ptr = tied(%$self);
  730. $OWNER{$ptr} = 1;
  731. }
  732. ############# Class : tinyWRAP::RegistrationEvent ##############
  733. package tinyWRAP::RegistrationEvent;
  734. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  735. @ISA = qw( tinyWRAP::SipEvent tinyWRAP );
  736. %OWNER = ();
  737. %ITERATORS = ();
  738. sub DESTROY {
  739. return unless $_[0]->isa('HASH');
  740. my $self = tied(%{$_[0]});
  741. return unless defined $self;
  742. delete $ITERATORS{$self};
  743. if (exists $OWNER{$self}) {
  744. tinyWRAPc::delete_RegistrationEvent($self);
  745. delete $OWNER{$self};
  746. }
  747. }
  748. *getType = *tinyWRAPc::RegistrationEvent_getType;
  749. *getSession = *tinyWRAPc::RegistrationEvent_getSession;
  750. *takeSessionOwnership = *tinyWRAPc::RegistrationEvent_takeSessionOwnership;
  751. sub DISOWN {
  752. my $self = shift;
  753. my $ptr = tied(%$self);
  754. delete $OWNER{$ptr};
  755. }
  756. sub ACQUIRE {
  757. my $self = shift;
  758. my $ptr = tied(%$self);
  759. $OWNER{$ptr} = 1;
  760. }
  761. ############# Class : tinyWRAP::SubscriptionEvent ##############
  762. package tinyWRAP::SubscriptionEvent;
  763. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  764. @ISA = qw( tinyWRAP::SipEvent tinyWRAP );
  765. %OWNER = ();
  766. %ITERATORS = ();
  767. sub DESTROY {
  768. return unless $_[0]->isa('HASH');
  769. my $self = tied(%{$_[0]});
  770. return unless defined $self;
  771. delete $ITERATORS{$self};
  772. if (exists $OWNER{$self}) {
  773. tinyWRAPc::delete_SubscriptionEvent($self);
  774. delete $OWNER{$self};
  775. }
  776. }
  777. *getType = *tinyWRAPc::SubscriptionEvent_getType;
  778. *getSession = *tinyWRAPc::SubscriptionEvent_getSession;
  779. *takeSessionOwnership = *tinyWRAPc::SubscriptionEvent_takeSessionOwnership;
  780. sub DISOWN {
  781. my $self = shift;
  782. my $ptr = tied(%$self);
  783. delete $OWNER{$ptr};
  784. }
  785. sub ACQUIRE {
  786. my $self = shift;
  787. my $ptr = tied(%$self);
  788. $OWNER{$ptr} = 1;
  789. }
  790. ############# Class : tinyWRAP::T140CallbackData ##############
  791. package tinyWRAP::T140CallbackData;
  792. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  793. @ISA = qw( tinyWRAP );
  794. %OWNER = ();
  795. %ITERATORS = ();
  796. sub DESTROY {
  797. return unless $_[0]->isa('HASH');
  798. my $self = tied(%{$_[0]});
  799. return unless defined $self;
  800. delete $ITERATORS{$self};
  801. if (exists $OWNER{$self}) {
  802. tinyWRAPc::delete_T140CallbackData($self);
  803. delete $OWNER{$self};
  804. }
  805. }
  806. *getType = *tinyWRAPc::T140CallbackData_getType;
  807. *getSize = *tinyWRAPc::T140CallbackData_getSize;
  808. *getData = *tinyWRAPc::T140CallbackData_getData;
  809. sub DISOWN {
  810. my $self = shift;
  811. my $ptr = tied(%$self);
  812. delete $OWNER{$ptr};
  813. }
  814. sub ACQUIRE {
  815. my $self = shift;
  816. my $ptr = tied(%$self);
  817. $OWNER{$ptr} = 1;
  818. }
  819. ############# Class : tinyWRAP::T140Callback ##############
  820. package tinyWRAP::T140Callback;
  821. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  822. @ISA = qw( tinyWRAP );
  823. %OWNER = ();
  824. %ITERATORS = ();
  825. sub new {
  826. my $pkg = shift;
  827. my $self = tinyWRAPc::new_T140Callback(@_);
  828. bless $self, $pkg if defined($self);
  829. }
  830. sub DESTROY {
  831. return unless $_[0]->isa('HASH');
  832. my $self = tied(%{$_[0]});
  833. return unless defined $self;
  834. delete $ITERATORS{$self};
  835. if (exists $OWNER{$self}) {
  836. tinyWRAPc::delete_T140Callback($self);
  837. delete $OWNER{$self};
  838. }
  839. }
  840. *ondata = *tinyWRAPc::T140Callback_ondata;
  841. sub DISOWN {
  842. my $self = shift;
  843. my $ptr = tied(%$self);
  844. delete $OWNER{$ptr};
  845. }
  846. sub ACQUIRE {
  847. my $self = shift;
  848. my $ptr = tied(%$self);
  849. $OWNER{$ptr} = 1;
  850. }
  851. ############# Class : tinyWRAP::SipSession ##############
  852. package tinyWRAP::SipSession;
  853. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  854. @ISA = qw( tinyWRAP );
  855. %OWNER = ();
  856. %ITERATORS = ();
  857. sub new {
  858. my $pkg = shift;
  859. my $self = tinyWRAPc::new_SipSession(@_);
  860. bless $self, $pkg if defined($self);
  861. }
  862. sub DESTROY {
  863. return unless $_[0]->isa('HASH');
  864. my $self = tied(%{$_[0]});
  865. return unless defined $self;
  866. delete $ITERATORS{$self};
  867. if (exists $OWNER{$self}) {
  868. tinyWRAPc::delete_SipSession($self);
  869. delete $OWNER{$self};
  870. }
  871. }
  872. *haveOwnership = *tinyWRAPc::SipSession_haveOwnership;
  873. *addHeader = *tinyWRAPc::SipSession_addHeader;
  874. *removeHeader = *tinyWRAPc::SipSession_removeHeader;
  875. *addCaps = *tinyWRAPc::SipSession_addCaps;
  876. *removeCaps = *tinyWRAPc::SipSession_removeCaps;
  877. *setExpires = *tinyWRAPc::SipSession_setExpires;
  878. *setFromUri = *tinyWRAPc::SipSession_setFromUri;
  879. *setToUri = *tinyWRAPc::SipSession_setToUri;
  880. *setSilentHangup = *tinyWRAPc::SipSession_setSilentHangup;
  881. *addSigCompCompartment = *tinyWRAPc::SipSession_addSigCompCompartment;
  882. *removeSigCompCompartment = *tinyWRAPc::SipSession_removeSigCompCompartment;
  883. *getId = *tinyWRAPc::SipSession_getId;
  884. sub DISOWN {
  885. my $self = shift;
  886. my $ptr = tied(%$self);
  887. delete $OWNER{$ptr};
  888. }
  889. sub ACQUIRE {
  890. my $self = shift;
  891. my $ptr = tied(%$self);
  892. $OWNER{$ptr} = 1;
  893. }
  894. ############# Class : tinyWRAP::InviteSession ##############
  895. package tinyWRAP::InviteSession;
  896. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  897. @ISA = qw( tinyWRAP::SipSession tinyWRAP );
  898. %OWNER = ();
  899. %ITERATORS = ();
  900. sub new {
  901. my $pkg = shift;
  902. my $self = tinyWRAPc::new_InviteSession(@_);
  903. bless $self, $pkg if defined($self);
  904. }
  905. sub DESTROY {
  906. return unless $_[0]->isa('HASH');
  907. my $self = tied(%{$_[0]});
  908. return unless defined $self;
  909. delete $ITERATORS{$self};
  910. if (exists $OWNER{$self}) {
  911. tinyWRAPc::delete_InviteSession($self);
  912. delete $OWNER{$self};
  913. }
  914. }
  915. *accept = *tinyWRAPc::InviteSession_accept;
  916. *hangup = *tinyWRAPc::InviteSession_hangup;
  917. *reject = *tinyWRAPc::InviteSession_reject;
  918. *sendInfo = *tinyWRAPc::InviteSession_sendInfo;
  919. *getMediaMgr = *tinyWRAPc::InviteSession_getMediaMgr;
  920. sub DISOWN {
  921. my $self = shift;
  922. my $ptr = tied(%$self);
  923. delete $OWNER{$ptr};
  924. }
  925. sub ACQUIRE {
  926. my $self = shift;
  927. my $ptr = tied(%$self);
  928. $OWNER{$ptr} = 1;
  929. }
  930. ############# Class : tinyWRAP::CallSession ##############
  931. package tinyWRAP::CallSession;
  932. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  933. @ISA = qw( tinyWRAP::InviteSession tinyWRAP );
  934. %OWNER = ();
  935. %ITERATORS = ();
  936. sub new {
  937. my $pkg = shift;
  938. my $self = tinyWRAPc::new_CallSession(@_);
  939. bless $self, $pkg if defined($self);
  940. }
  941. sub DESTROY {
  942. return unless $_[0]->isa('HASH');
  943. my $self = tied(%{$_[0]});
  944. return unless defined $self;
  945. delete $ITERATORS{$self};
  946. if (exists $OWNER{$self}) {
  947. tinyWRAPc::delete_CallSession($self);
  948. delete $OWNER{$self};
  949. }
  950. }
  951. *callAudio = *tinyWRAPc::CallSession_callAudio;
  952. *callAudioVideo = *tinyWRAPc::CallSession_callAudioVideo;
  953. *callVideo = *tinyWRAPc::CallSession_callVideo;
  954. *call = *tinyWRAPc::CallSession_call;
  955. *setSessionTimer = *tinyWRAPc::CallSession_setSessionTimer;
  956. *set100rel = *tinyWRAPc::CallSession_set100rel;
  957. *setRtcp = *tinyWRAPc::CallSession_setRtcp;
  958. *setRtcpMux = *tinyWRAPc::CallSession_setRtcpMux;
  959. *setSRtpMode = *tinyWRAPc::CallSession_setSRtpMode;
  960. *setAvpfMode = *tinyWRAPc::CallSession_setAvpfMode;
  961. *setICE = *tinyWRAPc::CallSession_setICE;
  962. *setICEStun = *tinyWRAPc::CallSession_setICEStun;
  963. *setICETurn = *tinyWRAPc::CallSession_setICETurn;
  964. *setSTUNServer = *tinyWRAPc::CallSession_setSTUNServer;
  965. *setSTUNCred = *tinyWRAPc::CallSession_setSTUNCred;
  966. *setVideoFps = *tinyWRAPc::CallSession_setVideoFps;
  967. *setVideoBandwidthUploadMax = *tinyWRAPc::CallSession_setVideoBandwidthUploadMax;
  968. *setVideoBandwidthDownloadMax = *tinyWRAPc::CallSession_setVideoBandwidthDownloadMax;
  969. *setVideoPrefSize = *tinyWRAPc::CallSession_setVideoPrefSize;
  970. *setQoS = *tinyWRAPc::CallSession_setQoS;
  971. *hold = *tinyWRAPc::CallSession_hold;
  972. *resume = *tinyWRAPc::CallSession_resume;
  973. *transfer = *tinyWRAPc::CallSession_transfer;
  974. *acceptTransfer = *tinyWRAPc::CallSession_acceptTransfer;
  975. *rejectTransfer = *tinyWRAPc::CallSession_rejectTransfer;
  976. *sendDTMF = *tinyWRAPc::CallSession_sendDTMF;
  977. *getSessionTransferId = *tinyWRAPc::CallSession_getSessionTransferId;
  978. *sendT140Data = *tinyWRAPc::CallSession_sendT140Data;
  979. *setT140Callback = *tinyWRAPc::CallSession_setT140Callback;
  980. sub DISOWN {
  981. my $self = shift;
  982. my $ptr = tied(%$self);
  983. delete $OWNER{$ptr};
  984. }
  985. sub ACQUIRE {
  986. my $self = shift;
  987. my $ptr = tied(%$self);
  988. $OWNER{$ptr} = 1;
  989. }
  990. ############# Class : tinyWRAP::MsrpSession ##############
  991. package tinyWRAP::MsrpSession;
  992. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  993. @ISA = qw( tinyWRAP::InviteSession tinyWRAP );
  994. %OWNER = ();
  995. %ITERATORS = ();
  996. sub new {
  997. my $pkg = shift;
  998. my $self = tinyWRAPc::new_MsrpSession(@_);
  999. bless $self, $pkg if defined($self);
  1000. }
  1001. sub DESTROY {
  1002. return unless $_[0]->isa('HASH');
  1003. my $self = tied(%{$_[0]});
  1004. return unless defined $self;
  1005. delete $ITERATORS{$self};
  1006. if (exists $OWNER{$self}) {
  1007. tinyWRAPc::delete_MsrpSession($self);
  1008. delete $OWNER{$self};
  1009. }
  1010. }
  1011. *setCallback = *tinyWRAPc::MsrpSession_setCallback;
  1012. *callMsrp = *tinyWRAPc::MsrpSession_callMsrp;
  1013. *sendMessage = *tinyWRAPc::MsrpSession_sendMessage;
  1014. *sendFile = *tinyWRAPc::MsrpSession_sendFile;
  1015. sub DISOWN {
  1016. my $self = shift;
  1017. my $ptr = tied(%$self);
  1018. delete $OWNER{$ptr};
  1019. }
  1020. sub ACQUIRE {
  1021. my $self = shift;
  1022. my $ptr = tied(%$self);
  1023. $OWNER{$ptr} = 1;
  1024. }
  1025. ############# Class : tinyWRAP::MessagingSession ##############
  1026. package tinyWRAP::MessagingSession;
  1027. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1028. @ISA = qw( tinyWRAP::SipSession tinyWRAP );
  1029. %OWNER = ();
  1030. %ITERATORS = ();
  1031. sub new {
  1032. my $pkg = shift;
  1033. my $self = tinyWRAPc::new_MessagingSession(@_);
  1034. bless $self, $pkg if defined($self);
  1035. }
  1036. sub DESTROY {
  1037. return unless $_[0]->isa('HASH');
  1038. my $self = tied(%{$_[0]});
  1039. return unless defined $self;
  1040. delete $ITERATORS{$self};
  1041. if (exists $OWNER{$self}) {
  1042. tinyWRAPc::delete_MessagingSession($self);
  1043. delete $OWNER{$self};
  1044. }
  1045. }
  1046. *send = *tinyWRAPc::MessagingSession_send;
  1047. *accept = *tinyWRAPc::MessagingSession_accept;
  1048. *reject = *tinyWRAPc::MessagingSession_reject;
  1049. sub DISOWN {
  1050. my $self = shift;
  1051. my $ptr = tied(%$self);
  1052. delete $OWNER{$ptr};
  1053. }
  1054. sub ACQUIRE {
  1055. my $self = shift;
  1056. my $ptr = tied(%$self);
  1057. $OWNER{$ptr} = 1;
  1058. }
  1059. ############# Class : tinyWRAP::InfoSession ##############
  1060. package tinyWRAP::InfoSession;
  1061. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1062. @ISA = qw( tinyWRAP::SipSession tinyWRAP );
  1063. %OWNER = ();
  1064. %ITERATORS = ();
  1065. sub new {
  1066. my $pkg = shift;
  1067. my $self = tinyWRAPc::new_InfoSession(@_);
  1068. bless $self, $pkg if defined($self);
  1069. }
  1070. sub DESTROY {
  1071. return unless $_[0]->isa('HASH');
  1072. my $self = tied(%{$_[0]});
  1073. return unless defined $self;
  1074. delete $ITERATORS{$self};
  1075. if (exists $OWNER{$self}) {
  1076. tinyWRAPc::delete_InfoSession($self);
  1077. delete $OWNER{$self};
  1078. }
  1079. }
  1080. *send = *tinyWRAPc::InfoSession_send;
  1081. *accept = *tinyWRAPc::InfoSession_accept;
  1082. *reject = *tinyWRAPc::InfoSession_reject;
  1083. sub DISOWN {
  1084. my $self = shift;
  1085. my $ptr = tied(%$self);
  1086. delete $OWNER{$ptr};
  1087. }
  1088. sub ACQUIRE {
  1089. my $self = shift;
  1090. my $ptr = tied(%$self);
  1091. $OWNER{$ptr} = 1;
  1092. }
  1093. ############# Class : tinyWRAP::OptionsSession ##############
  1094. package tinyWRAP::OptionsSession;
  1095. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1096. @ISA = qw( tinyWRAP::SipSession tinyWRAP );
  1097. %OWNER = ();
  1098. %ITERATORS = ();
  1099. sub new {
  1100. my $pkg = shift;
  1101. my $self = tinyWRAPc::new_OptionsSession(@_);
  1102. bless $self, $pkg if defined($self);
  1103. }
  1104. sub DESTROY {
  1105. return unless $_[0]->isa('HASH');
  1106. my $self = tied(%{$_[0]});
  1107. return unless defined $self;
  1108. delete $ITERATORS{$self};
  1109. if (exists $OWNER{$self}) {
  1110. tinyWRAPc::delete_OptionsSession($self);
  1111. delete $OWNER{$self};
  1112. }
  1113. }
  1114. *send = *tinyWRAPc::OptionsSession_send;
  1115. *accept = *tinyWRAPc::OptionsSession_accept;
  1116. *reject = *tinyWRAPc::OptionsSession_reject;
  1117. sub DISOWN {
  1118. my $self = shift;
  1119. my $ptr = tied(%$self);
  1120. delete $OWNER{$ptr};
  1121. }
  1122. sub ACQUIRE {
  1123. my $self = shift;
  1124. my $ptr = tied(%$self);
  1125. $OWNER{$ptr} = 1;
  1126. }
  1127. ############# Class : tinyWRAP::PublicationSession ##############
  1128. package tinyWRAP::PublicationSession;
  1129. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1130. @ISA = qw( tinyWRAP::SipSession tinyWRAP );
  1131. %OWNER = ();
  1132. %ITERATORS = ();
  1133. sub new {
  1134. my $pkg = shift;
  1135. my $self = tinyWRAPc::new_PublicationSession(@_);
  1136. bless $self, $pkg if defined($self);
  1137. }
  1138. sub DESTROY {
  1139. return unless $_[0]->isa('HASH');
  1140. my $self = tied(%{$_[0]});
  1141. return unless defined $self;
  1142. delete $ITERATORS{$self};
  1143. if (exists $OWNER{$self}) {
  1144. tinyWRAPc::delete_PublicationSession($self);
  1145. delete $OWNER{$self};
  1146. }
  1147. }
  1148. *publish = *tinyWRAPc::PublicationSession_publish;
  1149. *unPublish = *tinyWRAPc::PublicationSession_unPublish;
  1150. sub DISOWN {
  1151. my $self = shift;
  1152. my $ptr = tied(%$self);
  1153. delete $OWNER{$ptr};
  1154. }
  1155. sub ACQUIRE {
  1156. my $self = shift;
  1157. my $ptr = tied(%$self);
  1158. $OWNER{$ptr} = 1;
  1159. }
  1160. ############# Class : tinyWRAP::RegistrationSession ##############
  1161. package tinyWRAP::RegistrationSession;
  1162. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1163. @ISA = qw( tinyWRAP::SipSession tinyWRAP );
  1164. %OWNER = ();
  1165. %ITERATORS = ();
  1166. sub new {
  1167. my $pkg = shift;
  1168. my $self = tinyWRAPc::new_RegistrationSession(@_);
  1169. bless $self, $pkg if defined($self);
  1170. }
  1171. sub DESTROY {
  1172. return unless $_[0]->isa('HASH');
  1173. my $self = tied(%{$_[0]});
  1174. return unless defined $self;
  1175. delete $ITERATORS{$self};
  1176. if (exists $OWNER{$self}) {
  1177. tinyWRAPc::delete_RegistrationSession($self);
  1178. delete $OWNER{$self};
  1179. }
  1180. }
  1181. *register_ = *tinyWRAPc::RegistrationSession_register_;
  1182. *unRegister = *tinyWRAPc::RegistrationSession_unRegister;
  1183. *accept = *tinyWRAPc::RegistrationSession_accept;
  1184. *reject = *tinyWRAPc::RegistrationSession_reject;
  1185. sub DISOWN {
  1186. my $self = shift;
  1187. my $ptr = tied(%$self);
  1188. delete $OWNER{$ptr};
  1189. }
  1190. sub ACQUIRE {
  1191. my $self = shift;
  1192. my $ptr = tied(%$self);
  1193. $OWNER{$ptr} = 1;
  1194. }
  1195. ############# Class : tinyWRAP::SubscriptionSession ##############
  1196. package tinyWRAP::SubscriptionSession;
  1197. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1198. @ISA = qw( tinyWRAP::SipSession tinyWRAP );
  1199. %OWNER = ();
  1200. %ITERATORS = ();
  1201. sub new {
  1202. my $pkg = shift;
  1203. my $self = tinyWRAPc::new_SubscriptionSession(@_);
  1204. bless $self, $pkg if defined($self);
  1205. }
  1206. sub DESTROY {
  1207. return unless $_[0]->isa('HASH');
  1208. my $self = tied(%{$_[0]});
  1209. return unless defined $self;
  1210. delete $ITERATORS{$self};
  1211. if (exists $OWNER{$self}) {
  1212. tinyWRAPc::delete_SubscriptionSession($self);
  1213. delete $OWNER{$self};
  1214. }
  1215. }
  1216. *subscribe = *tinyWRAPc::SubscriptionSession_subscribe;
  1217. *unSubscribe = *tinyWRAPc::SubscriptionSession_unSubscribe;
  1218. sub DISOWN {
  1219. my $self = shift;
  1220. my $ptr = tied(%$self);
  1221. delete $OWNER{$ptr};
  1222. }
  1223. sub ACQUIRE {
  1224. my $self = shift;
  1225. my $ptr = tied(%$self);
  1226. $OWNER{$ptr} = 1;
  1227. }
  1228. ############# Class : tinyWRAP::ProxyPluginMgr ##############
  1229. package tinyWRAP::ProxyPluginMgr;
  1230. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1231. @ISA = qw( tinyWRAP );
  1232. %OWNER = ();
  1233. %ITERATORS = ();
  1234. sub DESTROY {
  1235. return unless $_[0]->isa('HASH');
  1236. my $self = tied(%{$_[0]});
  1237. return unless defined $self;
  1238. delete $ITERATORS{$self};
  1239. if (exists $OWNER{$self}) {
  1240. tinyWRAPc::delete_ProxyPluginMgr($self);
  1241. delete $OWNER{$self};
  1242. }
  1243. }
  1244. *createInstance = *tinyWRAPc::ProxyPluginMgr_createInstance;
  1245. *getInstance = *tinyWRAPc::ProxyPluginMgr_getInstance;
  1246. *findPlugin = *tinyWRAPc::ProxyPluginMgr_findPlugin;
  1247. *findAudioConsumer = *tinyWRAPc::ProxyPluginMgr_findAudioConsumer;
  1248. *findVideoConsumer = *tinyWRAPc::ProxyPluginMgr_findVideoConsumer;
  1249. *findAudioProducer = *tinyWRAPc::ProxyPluginMgr_findAudioProducer;
  1250. *findVideoProducer = *tinyWRAPc::ProxyPluginMgr_findVideoProducer;
  1251. sub DISOWN {
  1252. my $self = shift;
  1253. my $ptr = tied(%$self);
  1254. delete $OWNER{$ptr};
  1255. }
  1256. sub ACQUIRE {
  1257. my $self = shift;
  1258. my $ptr = tied(%$self);
  1259. $OWNER{$ptr} = 1;
  1260. }
  1261. ############# Class : tinyWRAP::ProxyPluginMgrCallback ##############
  1262. package tinyWRAP::ProxyPluginMgrCallback;
  1263. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1264. @ISA = qw( tinyWRAP );
  1265. %OWNER = ();
  1266. %ITERATORS = ();
  1267. sub new {
  1268. my $pkg = shift;
  1269. my $self = tinyWRAPc::new_ProxyPluginMgrCallback(@_);
  1270. bless $self, $pkg if defined($self);
  1271. }
  1272. sub DESTROY {
  1273. return unless $_[0]->isa('HASH');
  1274. my $self = tied(%{$_[0]});
  1275. return unless defined $self;
  1276. delete $ITERATORS{$self};
  1277. if (exists $OWNER{$self}) {
  1278. tinyWRAPc::delete_ProxyPluginMgrCallback($self);
  1279. delete $OWNER{$self};
  1280. }
  1281. }
  1282. *OnPluginCreated = *tinyWRAPc::ProxyPluginMgrCallback_OnPluginCreated;
  1283. *OnPluginDestroyed = *tinyWRAPc::ProxyPluginMgrCallback_OnPluginDestroyed;
  1284. sub DISOWN {
  1285. my $self = shift;
  1286. my $ptr = tied(%$self);
  1287. delete $OWNER{$ptr};
  1288. }
  1289. sub ACQUIRE {
  1290. my $self = shift;
  1291. my $ptr = tied(%$self);
  1292. $OWNER{$ptr} = 1;
  1293. }
  1294. ############# Class : tinyWRAP::ProxyPlugin ##############
  1295. package tinyWRAP::ProxyPlugin;
  1296. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1297. @ISA = qw( tinyWRAP );
  1298. %OWNER = ();
  1299. %ITERATORS = ();
  1300. sub DESTROY {
  1301. return unless $_[0]->isa('HASH');
  1302. my $self = tied(%{$_[0]});
  1303. return unless defined $self;
  1304. delete $ITERATORS{$self};
  1305. if (exists $OWNER{$self}) {
  1306. tinyWRAPc::delete_ProxyPlugin($self);
  1307. delete $OWNER{$self};
  1308. }
  1309. }
  1310. *getType = *tinyWRAPc::ProxyPlugin_getType;
  1311. *getId = *tinyWRAPc::ProxyPlugin_getId;
  1312. sub DISOWN {
  1313. my $self = shift;
  1314. my $ptr = tied(%$self);
  1315. delete $OWNER{$ptr};
  1316. }
  1317. sub ACQUIRE {
  1318. my $self = shift;
  1319. my $ptr = tied(%$self);
  1320. $OWNER{$ptr} = 1;
  1321. }
  1322. ############# Class : tinyWRAP::ProxyAudioConsumerCallback ##############
  1323. package tinyWRAP::ProxyAudioConsumerCallback;
  1324. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1325. @ISA = qw( tinyWRAP );
  1326. %OWNER = ();
  1327. %ITERATORS = ();
  1328. sub new {
  1329. my $pkg = shift;
  1330. my $self = tinyWRAPc::new_ProxyAudioConsumerCallback(@_);
  1331. bless $self, $pkg if defined($self);
  1332. }
  1333. sub DESTROY {
  1334. return unless $_[0]->isa('HASH');
  1335. my $self = tied(%{$_[0]});
  1336. return unless defined $self;
  1337. delete $ITERATORS{$self};
  1338. if (exists $OWNER{$self}) {
  1339. tinyWRAPc::delete_ProxyAudioConsumerCallback($self);
  1340. delete $OWNER{$self};
  1341. }
  1342. }
  1343. *prepare = *tinyWRAPc::ProxyAudioConsumerCallback_prepare;
  1344. *start = *tinyWRAPc::ProxyAudioConsumerCallback_start;
  1345. *pause = *tinyWRAPc::ProxyAudioConsumerCallback_pause;
  1346. *stop = *tinyWRAPc::ProxyAudioConsumerCallback_stop;
  1347. sub DISOWN {
  1348. my $self = shift;
  1349. my $ptr = tied(%$self);
  1350. delete $OWNER{$ptr};
  1351. }
  1352. sub ACQUIRE {
  1353. my $self = shift;
  1354. my $ptr = tied(%$self);
  1355. $OWNER{$ptr} = 1;
  1356. }
  1357. ############# Class : tinyWRAP::ProxyAudioConsumer ##############
  1358. package tinyWRAP::ProxyAudioConsumer;
  1359. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1360. @ISA = qw( tinyWRAP::ProxyPlugin tinyWRAP );
  1361. %OWNER = ();
  1362. %ITERATORS = ();
  1363. sub DESTROY {
  1364. return unless $_[0]->isa('HASH');
  1365. my $self = tied(%{$_[0]});
  1366. return unless defined $self;
  1367. delete $ITERATORS{$self};
  1368. if (exists $OWNER{$self}) {
  1369. tinyWRAPc::delete_ProxyAudioConsumer($self);
  1370. delete $OWNER{$self};
  1371. }
  1372. }
  1373. *setActualSndCardPlaybackParams = *tinyWRAPc::ProxyAudioConsumer_setActualSndCardPlaybackParams;
  1374. *queryForResampler = *tinyWRAPc::ProxyAudioConsumer_queryForResampler;
  1375. *setPullBuffer = *tinyWRAPc::ProxyAudioConsumer_setPullBuffer;
  1376. *pull = *tinyWRAPc::ProxyAudioConsumer_pull;
  1377. *setGain = *tinyWRAPc::ProxyAudioConsumer_setGain;
  1378. *getGain = *tinyWRAPc::ProxyAudioConsumer_getGain;
  1379. *reset = *tinyWRAPc::ProxyAudioConsumer_reset;
  1380. *setCallback = *tinyWRAPc::ProxyAudioConsumer_setCallback;
  1381. *getMediaSessionId = *tinyWRAPc::ProxyAudioConsumer_getMediaSessionId;
  1382. *registerPlugin = *tinyWRAPc::ProxyAudioConsumer_registerPlugin;
  1383. sub DISOWN {
  1384. my $self = shift;
  1385. my $ptr = tied(%$self);
  1386. delete $OWNER{$ptr};
  1387. }
  1388. sub ACQUIRE {
  1389. my $self = shift;
  1390. my $ptr = tied(%$self);
  1391. $OWNER{$ptr} = 1;
  1392. }
  1393. ############# Class : tinyWRAP::ProxyVideoConsumerCallback ##############
  1394. package tinyWRAP::ProxyVideoConsumerCallback;
  1395. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1396. @ISA = qw( tinyWRAP );
  1397. %OWNER = ();
  1398. %ITERATORS = ();
  1399. sub new {
  1400. my $pkg = shift;
  1401. my $self = tinyWRAPc::new_ProxyVideoConsumerCallback(@_);
  1402. bless $self, $pkg if defined($self);
  1403. }
  1404. sub DESTROY {
  1405. return unless $_[0]->isa('HASH');
  1406. my $self = tied(%{$_[0]});
  1407. return unless defined $self;
  1408. delete $ITERATORS{$self};
  1409. if (exists $OWNER{$self}) {
  1410. tinyWRAPc::delete_ProxyVideoConsumerCallback($self);
  1411. delete $OWNER{$self};
  1412. }
  1413. }
  1414. *prepare = *tinyWRAPc::ProxyVideoConsumerCallback_prepare;
  1415. *consume = *tinyWRAPc::ProxyVideoConsumerCallback_consume;
  1416. *bufferCopied = *tinyWRAPc::ProxyVideoConsumerCallback_bufferCopied;
  1417. *start = *tinyWRAPc::ProxyVideoConsumerCallback_start;
  1418. *pause = *tinyWRAPc::ProxyVideoConsumerCallback_pause;
  1419. *stop = *tinyWRAPc::ProxyVideoConsumerCallback_stop;
  1420. sub DISOWN {
  1421. my $self = shift;
  1422. my $ptr = tied(%$self);
  1423. delete $OWNER{$ptr};
  1424. }
  1425. sub ACQUIRE {
  1426. my $self = shift;
  1427. my $ptr = tied(%$self);
  1428. $OWNER{$ptr} = 1;
  1429. }
  1430. ############# Class : tinyWRAP::ProxyVideoConsumer ##############
  1431. package tinyWRAP::ProxyVideoConsumer;
  1432. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1433. @ISA = qw( tinyWRAP::ProxyPlugin tinyWRAP );
  1434. %OWNER = ();
  1435. %ITERATORS = ();
  1436. sub DESTROY {
  1437. return unless $_[0]->isa('HASH');
  1438. my $self = tied(%{$_[0]});
  1439. return unless defined $self;
  1440. delete $ITERATORS{$self};
  1441. if (exists $OWNER{$self}) {
  1442. tinyWRAPc::delete_ProxyVideoConsumer($self);
  1443. delete $OWNER{$self};
  1444. }
  1445. }
  1446. *setDisplaySize = *tinyWRAPc::ProxyVideoConsumer_setDisplaySize;
  1447. *getDisplayWidth = *tinyWRAPc::ProxyVideoConsumer_getDisplayWidth;
  1448. *getDisplayHeight = *tinyWRAPc::ProxyVideoConsumer_getDisplayHeight;
  1449. *getDecodedWidth = *tinyWRAPc::ProxyVideoConsumer_getDecodedWidth;
  1450. *getDecodedHeight = *tinyWRAPc::ProxyVideoConsumer_getDecodedHeight;
  1451. *setCallback = *tinyWRAPc::ProxyVideoConsumer_setCallback;
  1452. *setAutoResizeDisplay = *tinyWRAPc::ProxyVideoConsumer_setAutoResizeDisplay;
  1453. *getAutoResizeDisplay = *tinyWRAPc::ProxyVideoConsumer_getAutoResizeDisplay;
  1454. *setConsumeBuffer = *tinyWRAPc::ProxyVideoConsumer_setConsumeBuffer;
  1455. *pull = *tinyWRAPc::ProxyVideoConsumer_pull;
  1456. *reset = *tinyWRAPc::ProxyVideoConsumer_reset;
  1457. *getMediaSessionId = *tinyWRAPc::ProxyVideoConsumer_getMediaSessionId;
  1458. *registerPlugin = *tinyWRAPc::ProxyVideoConsumer_registerPlugin;
  1459. *setDefaultChroma = *tinyWRAPc::ProxyVideoConsumer_setDefaultChroma;
  1460. *setDefaultAutoResizeDisplay = *tinyWRAPc::ProxyVideoConsumer_setDefaultAutoResizeDisplay;
  1461. sub DISOWN {
  1462. my $self = shift;
  1463. my $ptr = tied(%$self);
  1464. delete $OWNER{$ptr};
  1465. }
  1466. sub ACQUIRE {
  1467. my $self = shift;
  1468. my $ptr = tied(%$self);
  1469. $OWNER{$ptr} = 1;
  1470. }
  1471. ############# Class : tinyWRAP::ProxyVideoFrame ##############
  1472. package tinyWRAP::ProxyVideoFrame;
  1473. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1474. @ISA = qw( tinyWRAP );
  1475. %OWNER = ();
  1476. %ITERATORS = ();
  1477. sub DESTROY {
  1478. return unless $_[0]->isa('HASH');
  1479. my $self = tied(%{$_[0]});
  1480. return unless defined $self;
  1481. delete $ITERATORS{$self};
  1482. if (exists $OWNER{$self}) {
  1483. tinyWRAPc::delete_ProxyVideoFrame($self);
  1484. delete $OWNER{$self};
  1485. }
  1486. }
  1487. *getSize = *tinyWRAPc::ProxyVideoFrame_getSize;
  1488. *getContent = *tinyWRAPc::ProxyVideoFrame_getContent;
  1489. *getFrameWidth = *tinyWRAPc::ProxyVideoFrame_getFrameWidth;
  1490. *getFrameHeight = *tinyWRAPc::ProxyVideoFrame_getFrameHeight;
  1491. sub DISOWN {
  1492. my $self = shift;
  1493. my $ptr = tied(%$self);
  1494. delete $OWNER{$ptr};
  1495. }
  1496. sub ACQUIRE {
  1497. my $self = shift;
  1498. my $ptr = tied(%$self);
  1499. $OWNER{$ptr} = 1;
  1500. }
  1501. ############# Class : tinyWRAP::ProxyAudioProducerCallback ##############
  1502. package tinyWRAP::ProxyAudioProducerCallback;
  1503. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1504. @ISA = qw( tinyWRAP );
  1505. %OWNER = ();
  1506. %ITERATORS = ();
  1507. sub new {
  1508. my $pkg = shift;
  1509. my $self = tinyWRAPc::new_ProxyAudioProducerCallback(@_);
  1510. bless $self, $pkg if defined($self);
  1511. }
  1512. sub DESTROY {
  1513. return unless $_[0]->isa('HASH');
  1514. my $self = tied(%{$_[0]});
  1515. return unless defined $self;
  1516. delete $ITERATORS{$self};
  1517. if (exists $OWNER{$self}) {
  1518. tinyWRAPc::delete_ProxyAudioProducerCallback($self);
  1519. delete $OWNER{$self};
  1520. }
  1521. }
  1522. *prepare = *tinyWRAPc::ProxyAudioProducerCallback_prepare;
  1523. *start = *tinyWRAPc::ProxyAudioProducerCallback_start;
  1524. *pause = *tinyWRAPc::ProxyAudioProducerCallback_pause;
  1525. *stop = *tinyWRAPc::ProxyAudioProducerCallback_stop;
  1526. *fillPushBuffer = *tinyWRAPc::ProxyAudioProducerCallback_fillPushBuffer;
  1527. sub DISOWN {
  1528. my $self = shift;
  1529. my $ptr = tied(%$self);
  1530. delete $OWNER{$ptr};
  1531. }
  1532. sub ACQUIRE {
  1533. my $self = shift;
  1534. my $ptr = tied(%$self);
  1535. $OWNER{$ptr} = 1;
  1536. }
  1537. ############# Class : tinyWRAP::ProxyAudioProducer ##############
  1538. package tinyWRAP::ProxyAudioProducer;
  1539. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1540. @ISA = qw( tinyWRAP::ProxyPlugin tinyWRAP );
  1541. %OWNER = ();
  1542. %ITERATORS = ();
  1543. sub DESTROY {
  1544. return unless $_[0]->isa('HASH');
  1545. my $self = tied(%{$_[0]});
  1546. return unless defined $self;
  1547. delete $ITERATORS{$self};
  1548. if (exists $OWNER{$self}) {
  1549. tinyWRAPc::delete_ProxyAudioProducer($self);
  1550. delete $OWNER{$self};
  1551. }
  1552. }
  1553. *setActualSndCardRecordParams = *tinyWRAPc::ProxyAudioProducer_setActualSndCardRecordParams;
  1554. *setPushBuffer = *tinyWRAPc::ProxyAudioProducer_setPushBuffer;
  1555. *push = *tinyWRAPc::ProxyAudioProducer_push;
  1556. *setGain = *tinyWRAPc::ProxyAudioProducer_setGain;
  1557. *getGain = *tinyWRAPc::ProxyAudioProducer_getGain;
  1558. *setCallback = *tinyWRAPc::ProxyAudioProducer_setCallback;
  1559. *getMediaSessionId = *tinyWRAPc::ProxyAudioProducer_getMediaSessionId;
  1560. *registerPlugin = *tinyWRAPc::ProxyAudioProducer_registerPlugin;
  1561. sub DISOWN {
  1562. my $self = shift;
  1563. my $ptr = tied(%$self);
  1564. delete $OWNER{$ptr};
  1565. }
  1566. sub ACQUIRE {
  1567. my $self = shift;
  1568. my $ptr = tied(%$self);
  1569. $OWNER{$ptr} = 1;
  1570. }
  1571. ############# Class : tinyWRAP::ProxyVideoProducerCallback ##############
  1572. package tinyWRAP::ProxyVideoProducerCallback;
  1573. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1574. @ISA = qw( tinyWRAP );
  1575. %OWNER = ();
  1576. %ITERATORS = ();
  1577. sub new {
  1578. my $pkg = shift;
  1579. my $self = tinyWRAPc::new_ProxyVideoProducerCallback(@_);
  1580. bless $self, $pkg if defined($self);
  1581. }
  1582. sub DESTROY {
  1583. return unless $_[0]->isa('HASH');
  1584. my $self = tied(%{$_[0]});
  1585. return unless defined $self;
  1586. delete $ITERATORS{$self};
  1587. if (exists $OWNER{$self}) {
  1588. tinyWRAPc::delete_ProxyVideoProducerCallback($self);
  1589. delete $OWNER{$self};
  1590. }
  1591. }
  1592. *prepare = *tinyWRAPc::ProxyVideoProducerCallback_prepare;
  1593. *start = *tinyWRAPc::ProxyVideoProducerCallback_start;
  1594. *pause = *tinyWRAPc::ProxyVideoProducerCallback_pause;
  1595. *stop = *tinyWRAPc::ProxyVideoProducerCallback_stop;
  1596. sub DISOWN {
  1597. my $self = shift;
  1598. my $ptr = tied(%$self);
  1599. delete $OWNER{$ptr};
  1600. }
  1601. sub ACQUIRE {
  1602. my $self = shift;
  1603. my $ptr = tied(%$self);
  1604. $OWNER{$ptr} = 1;
  1605. }
  1606. ############# Class : tinyWRAP::ProxyVideoProducer ##############
  1607. package tinyWRAP::ProxyVideoProducer;
  1608. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1609. @ISA = qw( tinyWRAP::ProxyPlugin tinyWRAP );
  1610. %OWNER = ();
  1611. %ITERATORS = ();
  1612. sub DESTROY {
  1613. return unless $_[0]->isa('HASH');
  1614. my $self = tied(%{$_[0]});
  1615. return unless defined $self;
  1616. delete $ITERATORS{$self};
  1617. if (exists $OWNER{$self}) {
  1618. tinyWRAPc::delete_ProxyVideoProducer($self);
  1619. delete $OWNER{$self};
  1620. }
  1621. }
  1622. *getRotation = *tinyWRAPc::ProxyVideoProducer_getRotation;
  1623. *setRotation = *tinyWRAPc::ProxyVideoProducer_setRotation;
  1624. *getMirror = *tinyWRAPc::ProxyVideoProducer_getMirror;
  1625. *setMirror = *tinyWRAPc::ProxyVideoProducer_setMirror;
  1626. *setActualCameraOutputSize = *tinyWRAPc::ProxyVideoProducer_setActualCameraOutputSize;
  1627. *push = *tinyWRAPc::ProxyVideoProducer_push;
  1628. *setCallback = *tinyWRAPc::ProxyVideoProducer_setCallback;
  1629. *getMediaSessionId = *tinyWRAPc::ProxyVideoProducer_getMediaSessionId;
  1630. *registerPlugin = *tinyWRAPc::ProxyVideoProducer_registerPlugin;
  1631. *setDefaultChroma = *tinyWRAPc::ProxyVideoProducer_setDefaultChroma;
  1632. sub DISOWN {
  1633. my $self = shift;
  1634. my $ptr = tied(%$self);
  1635. delete $OWNER{$ptr};
  1636. }
  1637. sub ACQUIRE {
  1638. my $self = shift;
  1639. my $ptr = tied(%$self);
  1640. $OWNER{$ptr} = 1;
  1641. }
  1642. ############# Class : tinyWRAP::SipCallback ##############
  1643. package tinyWRAP::SipCallback;
  1644. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1645. @ISA = qw( tinyWRAP );
  1646. %OWNER = ();
  1647. %ITERATORS = ();
  1648. sub new {
  1649. my $pkg = shift;
  1650. my $self = tinyWRAPc::new_SipCallback(@_);
  1651. bless $self, $pkg if defined($self);
  1652. }
  1653. sub DESTROY {
  1654. return unless $_[0]->isa('HASH');
  1655. my $self = tied(%{$_[0]});
  1656. return unless defined $self;
  1657. delete $ITERATORS{$self};
  1658. if (exists $OWNER{$self}) {
  1659. tinyWRAPc::delete_SipCallback($self);
  1660. delete $OWNER{$self};
  1661. }
  1662. }
  1663. *OnDialogEvent = *tinyWRAPc::SipCallback_OnDialogEvent;
  1664. *OnStackEvent = *tinyWRAPc::SipCallback_OnStackEvent;
  1665. *OnInviteEvent = *tinyWRAPc::SipCallback_OnInviteEvent;
  1666. *OnMessagingEvent = *tinyWRAPc::SipCallback_OnMessagingEvent;
  1667. *OnInfoEvent = *tinyWRAPc::SipCallback_OnInfoEvent;
  1668. *OnOptionsEvent = *tinyWRAPc::SipCallback_OnOptionsEvent;
  1669. *OnPublicationEvent = *tinyWRAPc::SipCallback_OnPublicationEvent;
  1670. *OnRegistrationEvent = *tinyWRAPc::SipCallback_OnRegistrationEvent;
  1671. *OnSubscriptionEvent = *tinyWRAPc::SipCallback_OnSubscriptionEvent;
  1672. sub DISOWN {
  1673. my $self = shift;
  1674. my $ptr = tied(%$self);
  1675. delete $OWNER{$ptr};
  1676. }
  1677. sub ACQUIRE {
  1678. my $self = shift;
  1679. my $ptr = tied(%$self);
  1680. $OWNER{$ptr} = 1;
  1681. }
  1682. ############# Class : tinyWRAP::SafeObject ##############
  1683. package tinyWRAP::SafeObject;
  1684. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1685. @ISA = qw( tinyWRAP );
  1686. %OWNER = ();
  1687. %ITERATORS = ();
  1688. sub new {
  1689. my $pkg = shift;
  1690. my $self = tinyWRAPc::new_SafeObject(@_);
  1691. bless $self, $pkg if defined($self);
  1692. }
  1693. sub DESTROY {
  1694. return unless $_[0]->isa('HASH');
  1695. my $self = tied(%{$_[0]});
  1696. return unless defined $self;
  1697. delete $ITERATORS{$self};
  1698. if (exists $OWNER{$self}) {
  1699. tinyWRAPc::delete_SafeObject($self);
  1700. delete $OWNER{$self};
  1701. }
  1702. }
  1703. *Lock = *tinyWRAPc::SafeObject_Lock;
  1704. *UnLock = *tinyWRAPc::SafeObject_UnLock;
  1705. sub DISOWN {
  1706. my $self = shift;
  1707. my $ptr = tied(%$self);
  1708. delete $OWNER{$ptr};
  1709. }
  1710. sub ACQUIRE {
  1711. my $self = shift;
  1712. my $ptr = tied(%$self);
  1713. $OWNER{$ptr} = 1;
  1714. }
  1715. ############# Class : tinyWRAP::SipStack ##############
  1716. package tinyWRAP::SipStack;
  1717. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1718. @ISA = qw( tinyWRAP::SafeObject tinyWRAP );
  1719. %OWNER = ();
  1720. %ITERATORS = ();
  1721. sub new {
  1722. my $pkg = shift;
  1723. my $self = tinyWRAPc::new_SipStack(@_);
  1724. bless $self, $pkg if defined($self);
  1725. }
  1726. sub DESTROY {
  1727. return unless $_[0]->isa('HASH');
  1728. my $self = tied(%{$_[0]});
  1729. return unless defined $self;
  1730. delete $ITERATORS{$self};
  1731. if (exists $OWNER{$self}) {
  1732. tinyWRAPc::delete_SipStack($self);
  1733. delete $OWNER{$self};
  1734. }
  1735. }
  1736. *start = *tinyWRAPc::SipStack_start;
  1737. *setDebugCallback = *tinyWRAPc::SipStack_setDebugCallback;
  1738. *setDisplayName = *tinyWRAPc::SipStack_setDisplayName;
  1739. *setRealm = *tinyWRAPc::SipStack_setRealm;
  1740. *setIMPI = *tinyWRAPc::SipStack_setIMPI;
  1741. *setIMPU = *tinyWRAPc::SipStack_setIMPU;
  1742. *setPassword = *tinyWRAPc::SipStack_setPassword;
  1743. *setAMF = *tinyWRAPc::SipStack_setAMF;
  1744. *setOperatorId = *tinyWRAPc::SipStack_setOperatorId;
  1745. *setProxyCSCF = *tinyWRAPc::SipStack_setProxyCSCF;
  1746. *setLocalIP = *tinyWRAPc::SipStack_setLocalIP;
  1747. *setLocalPort = *tinyWRAPc::SipStack_setLocalPort;
  1748. *setEarlyIMS = *tinyWRAPc::SipStack_setEarlyIMS;
  1749. *addHeader = *tinyWRAPc::SipStack_addHeader;
  1750. *removeHeader = *tinyWRAPc::SipStack_removeHeader;
  1751. *addDnsServer = *tinyWRAPc::SipStack_addDnsServer;
  1752. *setDnsDiscovery = *tinyWRAPc::SipStack_setDnsDiscovery;
  1753. *setAoR = *tinyWRAPc::SipStack_setAoR;
  1754. *setSigCompParams = *tinyWRAPc::SipStack_setSigCompParams;
  1755. *addSigCompCompartment = *tinyWRAPc::SipStack_addSigCompCompartment;
  1756. *removeSigCompCompartment = *tinyWRAPc::SipStack_removeSigCompCompartment;
  1757. *setSTUNEnabledForICE = *tinyWRAPc::SipStack_setSTUNEnabledForICE;
  1758. *setSTUNServer = *tinyWRAPc::SipStack_setSTUNServer;
  1759. *setSTUNCred = *tinyWRAPc::SipStack_setSTUNCred;
  1760. *setSTUNEnabled = *tinyWRAPc::SipStack_setSTUNEnabled;
  1761. *setTLSSecAgree = *tinyWRAPc::SipStack_setTLSSecAgree;
  1762. *setSSLCertificates = *tinyWRAPc::SipStack_setSSLCertificates;
  1763. *setSSLCretificates = *tinyWRAPc::SipStack_setSSLCretificates;
  1764. *setIPSecSecAgree = *tinyWRAPc::SipStack_setIPSecSecAgree;
  1765. *setIPSecParameters = *tinyWRAPc::SipStack_setIPSecParameters;
  1766. *dnsENUM = *tinyWRAPc::SipStack_dnsENUM;
  1767. *dnsNaptrSrv = *tinyWRAPc::SipStack_dnsNaptrSrv;
  1768. *dnsSrv = *tinyWRAPc::SipStack_dnsSrv;
  1769. *setMaxFDs = *tinyWRAPc::SipStack_setMaxFDs;
  1770. *getLocalIPnPort = *tinyWRAPc::SipStack_getLocalIPnPort;
  1771. *getPreferredIdentity = *tinyWRAPc::SipStack_getPreferredIdentity;
  1772. *isValid = *tinyWRAPc::SipStack_isValid;
  1773. *stop = *tinyWRAPc::SipStack_stop;
  1774. *initialize = *tinyWRAPc::SipStack_initialize;
  1775. *deInitialize = *tinyWRAPc::SipStack_deInitialize;
  1776. *setCodecs = *tinyWRAPc::SipStack_setCodecs;
  1777. *setCodecs_2 = *tinyWRAPc::SipStack_setCodecs_2;
  1778. *setCodecPriority = *tinyWRAPc::SipStack_setCodecPriority;
  1779. *setCodecPriority_2 = *tinyWRAPc::SipStack_setCodecPriority_2;
  1780. *isCodecSupported = *tinyWRAPc::SipStack_isCodecSupported;
  1781. *isIPSecSupported = *tinyWRAPc::SipStack_isIPSecSupported;
  1782. sub DISOWN {
  1783. my $self = shift;
  1784. my $ptr = tied(%$self);
  1785. delete $OWNER{$ptr};
  1786. }
  1787. sub ACQUIRE {
  1788. my $self = shift;
  1789. my $ptr = tied(%$self);
  1790. $OWNER{$ptr} = 1;
  1791. }
  1792. ############# Class : tinyWRAP::XcapSelector ##############
  1793. package tinyWRAP::XcapSelector;
  1794. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1795. @ISA = qw( tinyWRAP );
  1796. %OWNER = ();
  1797. %ITERATORS = ();
  1798. sub new {
  1799. my $pkg = shift;
  1800. my $self = tinyWRAPc::new_XcapSelector(@_);
  1801. bless $self, $pkg if defined($self);
  1802. }
  1803. sub DESTROY {
  1804. return unless $_[0]->isa('HASH');
  1805. my $self = tied(%{$_[0]});
  1806. return unless defined $self;
  1807. delete $ITERATORS{$self};
  1808. if (exists $OWNER{$self}) {
  1809. tinyWRAPc::delete_XcapSelector($self);
  1810. delete $OWNER{$self};
  1811. }
  1812. }
  1813. *setAUID = *tinyWRAPc::XcapSelector_setAUID;
  1814. *setName = *tinyWRAPc::XcapSelector_setName;
  1815. *setAttribute = *tinyWRAPc::XcapSelector_setAttribute;
  1816. *setPos = *tinyWRAPc::XcapSelector_setPos;
  1817. *setPosAttribute = *tinyWRAPc::XcapSelector_setPosAttribute;
  1818. *setNamespace = *tinyWRAPc::XcapSelector_setNamespace;
  1819. *getString = *tinyWRAPc::XcapSelector_getString;
  1820. *reset = *tinyWRAPc::XcapSelector_reset;
  1821. sub DISOWN {
  1822. my $self = shift;
  1823. my $ptr = tied(%$self);
  1824. delete $OWNER{$ptr};
  1825. }
  1826. sub ACQUIRE {
  1827. my $self = shift;
  1828. my $ptr = tied(%$self);
  1829. $OWNER{$ptr} = 1;
  1830. }
  1831. ############# Class : tinyWRAP::XcapMessage ##############
  1832. package tinyWRAP::XcapMessage;
  1833. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1834. @ISA = qw( tinyWRAP );
  1835. %OWNER = ();
  1836. %ITERATORS = ();
  1837. sub new {
  1838. my $pkg = shift;
  1839. my $self = tinyWRAPc::new_XcapMessage(@_);
  1840. bless $self, $pkg if defined($self);
  1841. }
  1842. sub DESTROY {
  1843. return unless $_[0]->isa('HASH');
  1844. my $self = tied(%{$_[0]});
  1845. return unless defined $self;
  1846. delete $ITERATORS{$self};
  1847. if (exists $OWNER{$self}) {
  1848. tinyWRAPc::delete_XcapMessage($self);
  1849. delete $OWNER{$self};
  1850. }
  1851. }
  1852. *getCode = *tinyWRAPc::XcapMessage_getCode;
  1853. *getPhrase = *tinyWRAPc::XcapMessage_getPhrase;
  1854. *getXcapHeaderValue = *tinyWRAPc::XcapMessage_getXcapHeaderValue;
  1855. *getXcapHeaderParamValue = *tinyWRAPc::XcapMessage_getXcapHeaderParamValue;
  1856. *getXcapContentLength = *tinyWRAPc::XcapMessage_getXcapContentLength;
  1857. *getXcapContent = *tinyWRAPc::XcapMessage_getXcapContent;
  1858. sub DISOWN {
  1859. my $self = shift;
  1860. my $ptr = tied(%$self);
  1861. delete $OWNER{$ptr};
  1862. }
  1863. sub ACQUIRE {
  1864. my $self = shift;
  1865. my $ptr = tied(%$self);
  1866. $OWNER{$ptr} = 1;
  1867. }
  1868. ############# Class : tinyWRAP::XcapEvent ##############
  1869. package tinyWRAP::XcapEvent;
  1870. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1871. @ISA = qw( tinyWRAP );
  1872. %OWNER = ();
  1873. %ITERATORS = ();
  1874. sub DESTROY {
  1875. return unless $_[0]->isa('HASH');
  1876. my $self = tied(%{$_[0]});
  1877. return unless defined $self;
  1878. delete $ITERATORS{$self};
  1879. if (exists $OWNER{$self}) {
  1880. tinyWRAPc::delete_XcapEvent($self);
  1881. delete $OWNER{$self};
  1882. }
  1883. }
  1884. *getType = *tinyWRAPc::XcapEvent_getType;
  1885. *getXcapMessage = *tinyWRAPc::XcapEvent_getXcapMessage;
  1886. sub DISOWN {
  1887. my $self = shift;
  1888. my $ptr = tied(%$self);
  1889. delete $OWNER{$ptr};
  1890. }
  1891. sub ACQUIRE {
  1892. my $self = shift;
  1893. my $ptr = tied(%$self);
  1894. $OWNER{$ptr} = 1;
  1895. }
  1896. ############# Class : tinyWRAP::XcapCallback ##############
  1897. package tinyWRAP::XcapCallback;
  1898. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1899. @ISA = qw( tinyWRAP );
  1900. %OWNER = ();
  1901. %ITERATORS = ();
  1902. sub new {
  1903. my $pkg = shift;
  1904. my $self = tinyWRAPc::new_XcapCallback(@_);
  1905. bless $self, $pkg if defined($self);
  1906. }
  1907. sub DESTROY {
  1908. return unless $_[0]->isa('HASH');
  1909. my $self = tied(%{$_[0]});
  1910. return unless defined $self;
  1911. delete $ITERATORS{$self};
  1912. if (exists $OWNER{$self}) {
  1913. tinyWRAPc::delete_XcapCallback($self);
  1914. delete $OWNER{$self};
  1915. }
  1916. }
  1917. *onEvent = *tinyWRAPc::XcapCallback_onEvent;
  1918. sub DISOWN {
  1919. my $self = shift;
  1920. my $ptr = tied(%$self);
  1921. delete $OWNER{$ptr};
  1922. }
  1923. sub ACQUIRE {
  1924. my $self = shift;
  1925. my $ptr = tied(%$self);
  1926. $OWNER{$ptr} = 1;
  1927. }
  1928. ############# Class : tinyWRAP::XcapStack ##############
  1929. package tinyWRAP::XcapStack;
  1930. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1931. @ISA = qw( tinyWRAP );
  1932. %OWNER = ();
  1933. %ITERATORS = ();
  1934. sub new {
  1935. my $pkg = shift;
  1936. my $self = tinyWRAPc::new_XcapStack(@_);
  1937. bless $self, $pkg if defined($self);
  1938. }
  1939. sub DESTROY {
  1940. return unless $_[0]->isa('HASH');
  1941. my $self = tied(%{$_[0]});
  1942. return unless defined $self;
  1943. delete $ITERATORS{$self};
  1944. if (exists $OWNER{$self}) {
  1945. tinyWRAPc::delete_XcapStack($self);
  1946. delete $OWNER{$self};
  1947. }
  1948. }
  1949. *registerAUID = *tinyWRAPc::XcapStack_registerAUID;
  1950. *start = *tinyWRAPc::XcapStack_start;
  1951. *setCredentials = *tinyWRAPc::XcapStack_setCredentials;
  1952. *setXcapRoot = *tinyWRAPc::XcapStack_setXcapRoot;
  1953. *setLocalIP = *tinyWRAPc::XcapStack_setLocalIP;
  1954. *setLocalPort = *tinyWRAPc::XcapStack_setLocalPort;
  1955. *addHeader = *tinyWRAPc::XcapStack_addHeader;
  1956. *removeHeader = *tinyWRAPc::XcapStack_removeHeader;
  1957. *setTimeout = *tinyWRAPc::XcapStack_setTimeout;
  1958. *getDocument = *tinyWRAPc::XcapStack_getDocument;
  1959. *getElement = *tinyWRAPc::XcapStack_getElement;
  1960. *getAttribute = *tinyWRAPc::XcapStack_getAttribute;
  1961. *deleteDocument = *tinyWRAPc::XcapStack_deleteDocument;
  1962. *deleteElement = *tinyWRAPc::XcapStack_deleteElement;
  1963. *deleteAttribute = *tinyWRAPc::XcapStack_deleteAttribute;
  1964. *putDocument = *tinyWRAPc::XcapStack_putDocument;
  1965. *putElement = *tinyWRAPc::XcapStack_putElement;
  1966. *putAttribute = *tinyWRAPc::XcapStack_putAttribute;
  1967. *stop = *tinyWRAPc::XcapStack_stop;
  1968. sub DISOWN {
  1969. my $self = shift;
  1970. my $ptr = tied(%$self);
  1971. delete $OWNER{$ptr};
  1972. }
  1973. sub ACQUIRE {
  1974. my $self = shift;
  1975. my $ptr = tied(%$self);
  1976. $OWNER{$ptr} = 1;
  1977. }
  1978. ############# Class : tinyWRAP::RPMessage ##############
  1979. package tinyWRAP::RPMessage;
  1980. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  1981. @ISA = qw( tinyWRAP );
  1982. %OWNER = ();
  1983. %ITERATORS = ();
  1984. sub new {
  1985. my $pkg = shift;
  1986. my $self = tinyWRAPc::new_RPMessage(@_);
  1987. bless $self, $pkg if defined($self);
  1988. }
  1989. sub DESTROY {
  1990. return unless $_[0]->isa('HASH');
  1991. my $self = tied(%{$_[0]});
  1992. return unless defined $self;
  1993. delete $ITERATORS{$self};
  1994. if (exists $OWNER{$self}) {
  1995. tinyWRAPc::delete_RPMessage($self);
  1996. delete $OWNER{$self};
  1997. }
  1998. }
  1999. *getType = *tinyWRAPc::RPMessage_getType;
  2000. *getPayloadLength = *tinyWRAPc::RPMessage_getPayloadLength;
  2001. *getPayload = *tinyWRAPc::RPMessage_getPayload;
  2002. sub DISOWN {
  2003. my $self = shift;
  2004. my $ptr = tied(%$self);
  2005. delete $OWNER{$ptr};
  2006. }
  2007. sub ACQUIRE {
  2008. my $self = shift;
  2009. my $ptr = tied(%$self);
  2010. $OWNER{$ptr} = 1;
  2011. }
  2012. ############# Class : tinyWRAP::SMSData ##############
  2013. package tinyWRAP::SMSData;
  2014. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  2015. @ISA = qw( tinyWRAP );
  2016. %OWNER = ();
  2017. %ITERATORS = ();
  2018. sub new {
  2019. my $pkg = shift;
  2020. my $self = tinyWRAPc::new_SMSData(@_);
  2021. bless $self, $pkg if defined($self);
  2022. }
  2023. sub DESTROY {
  2024. return unless $_[0]->isa('HASH');
  2025. my $self = tied(%{$_[0]});
  2026. return unless defined $self;
  2027. delete $ITERATORS{$self};
  2028. if (exists $OWNER{$self}) {
  2029. tinyWRAPc::delete_SMSData($self);
  2030. delete $OWNER{$self};
  2031. }
  2032. }
  2033. *getType = *tinyWRAPc::SMSData_getType;
  2034. *getMR = *tinyWRAPc::SMSData_getMR;
  2035. *getPayloadLength = *tinyWRAPc::SMSData_getPayloadLength;
  2036. *getPayload = *tinyWRAPc::SMSData_getPayload;
  2037. *getOA = *tinyWRAPc::SMSData_getOA;
  2038. *getDA = *tinyWRAPc::SMSData_getDA;
  2039. sub DISOWN {
  2040. my $self = shift;
  2041. my $ptr = tied(%$self);
  2042. delete $OWNER{$ptr};
  2043. }
  2044. sub ACQUIRE {
  2045. my $self = shift;
  2046. my $ptr = tied(%$self);
  2047. $OWNER{$ptr} = 1;
  2048. }
  2049. ############# Class : tinyWRAP::SMSEncoder ##############
  2050. package tinyWRAP::SMSEncoder;
  2051. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  2052. @ISA = qw( tinyWRAP );
  2053. %OWNER = ();
  2054. %ITERATORS = ();
  2055. *encodeSubmit = *tinyWRAPc::SMSEncoder_encodeSubmit;
  2056. *encodeDeliver = *tinyWRAPc::SMSEncoder_encodeDeliver;
  2057. *encodeACK = *tinyWRAPc::SMSEncoder_encodeACK;
  2058. *encodeError = *tinyWRAPc::SMSEncoder_encodeError;
  2059. *decode = *tinyWRAPc::SMSEncoder_decode;
  2060. sub DESTROY {
  2061. return unless $_[0]->isa('HASH');
  2062. my $self = tied(%{$_[0]});
  2063. return unless defined $self;
  2064. delete $ITERATORS{$self};
  2065. if (exists $OWNER{$self}) {
  2066. tinyWRAPc::delete_SMSEncoder($self);
  2067. delete $OWNER{$self};
  2068. }
  2069. }
  2070. sub DISOWN {
  2071. my $self = shift;
  2072. my $ptr = tied(%$self);
  2073. delete $OWNER{$ptr};
  2074. }
  2075. sub ACQUIRE {
  2076. my $self = shift;
  2077. my $ptr = tied(%$self);
  2078. $OWNER{$ptr} = 1;
  2079. }
  2080. ############# Class : tinyWRAP::MsrpMessage ##############
  2081. package tinyWRAP::MsrpMessage;
  2082. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  2083. @ISA = qw( tinyWRAP );
  2084. %OWNER = ();
  2085. %ITERATORS = ();
  2086. sub new {
  2087. my $pkg = shift;
  2088. my $self = tinyWRAPc::new_MsrpMessage(@_);
  2089. bless $self, $pkg if defined($self);
  2090. }
  2091. sub DESTROY {
  2092. return unless $_[0]->isa('HASH');
  2093. my $self = tied(%{$_[0]});
  2094. return unless defined $self;
  2095. delete $ITERATORS{$self};
  2096. if (exists $OWNER{$self}) {
  2097. tinyWRAPc::delete_MsrpMessage($self);
  2098. delete $OWNER{$self};
  2099. }
  2100. }
  2101. *isRequest = *tinyWRAPc::MsrpMessage_isRequest;
  2102. *getCode = *tinyWRAPc::MsrpMessage_getCode;
  2103. *getPhrase = *tinyWRAPc::MsrpMessage_getPhrase;
  2104. *getRequestType = *tinyWRAPc::MsrpMessage_getRequestType;
  2105. *getByteRange = *tinyWRAPc::MsrpMessage_getByteRange;
  2106. *isLastChunck = *tinyWRAPc::MsrpMessage_isLastChunck;
  2107. *isFirstChunck = *tinyWRAPc::MsrpMessage_isFirstChunck;
  2108. *isSuccessReport = *tinyWRAPc::MsrpMessage_isSuccessReport;
  2109. *getMsrpHeaderValue = *tinyWRAPc::MsrpMessage_getMsrpHeaderValue;
  2110. *getMsrpHeaderParamValue = *tinyWRAPc::MsrpMessage_getMsrpHeaderParamValue;
  2111. *getMsrpContentLength = *tinyWRAPc::MsrpMessage_getMsrpContentLength;
  2112. *getMsrpContent = *tinyWRAPc::MsrpMessage_getMsrpContent;
  2113. sub DISOWN {
  2114. my $self = shift;
  2115. my $ptr = tied(%$self);
  2116. delete $OWNER{$ptr};
  2117. }
  2118. sub ACQUIRE {
  2119. my $self = shift;
  2120. my $ptr = tied(%$self);
  2121. $OWNER{$ptr} = 1;
  2122. }
  2123. ############# Class : tinyWRAP::MsrpEvent ##############
  2124. package tinyWRAP::MsrpEvent;
  2125. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  2126. @ISA = qw( tinyWRAP );
  2127. %OWNER = ();
  2128. %ITERATORS = ();
  2129. sub DESTROY {
  2130. return unless $_[0]->isa('HASH');
  2131. my $self = tied(%{$_[0]});
  2132. return unless defined $self;
  2133. delete $ITERATORS{$self};
  2134. if (exists $OWNER{$self}) {
  2135. tinyWRAPc::delete_MsrpEvent($self);
  2136. delete $OWNER{$self};
  2137. }
  2138. }
  2139. *getType = *tinyWRAPc::MsrpEvent_getType;
  2140. *getSipSession = *tinyWRAPc::MsrpEvent_getSipSession;
  2141. *getMessage = *tinyWRAPc::MsrpEvent_getMessage;
  2142. sub DISOWN {
  2143. my $self = shift;
  2144. my $ptr = tied(%$self);
  2145. delete $OWNER{$ptr};
  2146. }
  2147. sub ACQUIRE {
  2148. my $self = shift;
  2149. my $ptr = tied(%$self);
  2150. $OWNER{$ptr} = 1;
  2151. }
  2152. ############# Class : tinyWRAP::MsrpCallback ##############
  2153. package tinyWRAP::MsrpCallback;
  2154. use vars qw(@ISA %OWNER %ITERATORS %BLESSEDMEMBERS);
  2155. @ISA = qw( tinyWRAP );
  2156. %OWNER = ();
  2157. %ITERATORS = ();
  2158. sub new {
  2159. my $pkg = shift;
  2160. my $self = tinyWRAPc::new_MsrpCallback(@_);
  2161. bless $self, $pkg if defined($self);
  2162. }
  2163. sub DESTROY {
  2164. return unless $_[0]->isa('HASH');
  2165. my $self = tied(%{$_[0]});
  2166. return unless defined $self;
  2167. delete $ITERATORS{$self};
  2168. if (exists $OWNER{$self}) {
  2169. tinyWRAPc::delete_MsrpCallback($self);
  2170. delete $OWNER{$self};
  2171. }
  2172. }
  2173. *OnEvent = *tinyWRAPc::MsrpCallback_OnEvent;
  2174. sub DISOWN {
  2175. my $self = shift;
  2176. my $ptr = tied(%$self);
  2177. delete $OWNER{$ptr};
  2178. }
  2179. sub ACQUIRE {
  2180. my $self = shift;
  2181. my $ptr = tied(%$self);
  2182. $OWNER{$ptr} = 1;
  2183. }
  2184. # ------- VARIABLE STUBS --------
  2185. package tinyWRAP;
  2186. *twrap_media_none = *tinyWRAPc::twrap_media_none;
  2187. *twrap_media_audio = *tinyWRAPc::twrap_media_audio;
  2188. *twrap_media_video = *tinyWRAPc::twrap_media_video;
  2189. *twrap_media_msrp = *tinyWRAPc::twrap_media_msrp;
  2190. *twrap_media_t140 = *tinyWRAPc::twrap_media_t140;
  2191. *twrap_media_bfcp = *tinyWRAPc::twrap_media_bfcp;
  2192. *twrap_media_bfcp_audio = *tinyWRAPc::twrap_media_bfcp_audio;
  2193. *twrap_media_bfcp_video = *tinyWRAPc::twrap_media_bfcp_video;
  2194. *twrap_media_audiovideo = *tinyWRAPc::twrap_media_audiovideo;
  2195. *twrap_media_audio_video = *tinyWRAPc::twrap_media_audio_video;
  2196. *twrap_proxy_plugin_audio_producer = *tinyWRAPc::twrap_proxy_plugin_audio_producer;
  2197. *twrap_proxy_plugin_video_producer = *tinyWRAPc::twrap_proxy_plugin_video_producer;
  2198. *twrap_proxy_plugin_audio_consumer = *tinyWRAPc::twrap_proxy_plugin_audio_consumer;
  2199. *twrap_proxy_plugin_video_consumer = *tinyWRAPc::twrap_proxy_plugin_video_consumer;
  2200. *tsip_stack_mode_ua = *tinyWRAPc::tsip_stack_mode_ua;
  2201. *tsip_stack_mode_p2p = *tinyWRAPc::tsip_stack_mode_p2p;
  2202. *tsip_stack_mode_mediaproxy = *tinyWRAPc::tsip_stack_mode_mediaproxy;
  2203. *tsip_stack_mode_mcu = *tinyWRAPc::tsip_stack_mode_mcu;
  2204. *tsip_NONE = *tinyWRAPc::tsip_NONE;
  2205. *tsip_ACK = *tinyWRAPc::tsip_ACK;
  2206. *tsip_BYE = *tinyWRAPc::tsip_BYE;
  2207. *tsip_CANCEL = *tinyWRAPc::tsip_CANCEL;
  2208. *tsip_INVITE = *tinyWRAPc::tsip_INVITE;
  2209. *tsip_OPTIONS = *tinyWRAPc::tsip_OPTIONS;
  2210. *tsip_REGISTER = *tinyWRAPc::tsip_REGISTER;
  2211. *tsip_SUBSCRIBE = *tinyWRAPc::tsip_SUBSCRIBE;
  2212. *tsip_NOTIFY = *tinyWRAPc::tsip_NOTIFY;
  2213. *tsip_REFER = *tinyWRAPc::tsip_REFER;
  2214. *tsip_INFO = *tinyWRAPc::tsip_INFO;
  2215. *tsip_UPDATE = *tinyWRAPc::tsip_UPDATE;
  2216. *tsip_MESSAGE = *tinyWRAPc::tsip_MESSAGE;
  2217. *tsip_PUBLISH = *tinyWRAPc::tsip_PUBLISH;
  2218. *tsip_PRACK = *tinyWRAPc::tsip_PRACK;
  2219. *tsip_event_invite = *tinyWRAPc::tsip_event_invite;
  2220. *tsip_event_message = *tinyWRAPc::tsip_event_message;
  2221. *tsip_event_info = *tinyWRAPc::tsip_event_info;
  2222. *tsip_event_options = *tinyWRAPc::tsip_event_options;
  2223. *tsip_event_publish = *tinyWRAPc::tsip_event_publish;
  2224. *tsip_event_register = *tinyWRAPc::tsip_event_register;
  2225. *tsip_event_subscribe = *tinyWRAPc::tsip_event_subscribe;
  2226. *tsip_event_dialog = *tinyWRAPc::tsip_event_dialog;
  2227. *tsip_event_code_dialog_transport_error = *tinyWRAPc::tsip_event_code_dialog_transport_error;
  2228. *tsip_event_code_dialog_global_error = *tinyWRAPc::tsip_event_code_dialog_global_error;
  2229. *tsip_event_code_dialog_message_error = *tinyWRAPc::tsip_event_code_dialog_message_error;
  2230. *tsip_event_code_dialog_request_incoming = *tinyWRAPc::tsip_event_code_dialog_request_incoming;
  2231. *tsip_event_code_dialog_request_outgoing = *tinyWRAPc::tsip_event_code_dialog_request_outgoing;
  2232. *tsip_event_code_dialog_request_cancelled = *tinyWRAPc::tsip_event_code_dialog_request_cancelled;
  2233. *tsip_event_code_dialog_request_sent = *tinyWRAPc::tsip_event_code_dialog_request_sent;
  2234. *tsip_event_code_dialog_request_prechecking = *tinyWRAPc::tsip_event_code_dialog_request_prechecking;
  2235. *tsip_event_code_dialog_connecting = *tinyWRAPc::tsip_event_code_dialog_connecting;
  2236. *tsip_event_code_dialog_connected = *tinyWRAPc::tsip_event_code_dialog_connected;
  2237. *tsip_event_code_dialog_terminating = *tinyWRAPc::tsip_event_code_dialog_terminating;
  2238. *tsip_event_code_dialog_terminated = *tinyWRAPc::tsip_event_code_dialog_terminated;
  2239. *tsip_event_code_stack_starting = *tinyWRAPc::tsip_event_code_stack_starting;
  2240. *tsip_event_code_stack_started = *tinyWRAPc::tsip_event_code_stack_started;
  2241. *tsip_event_code_stack_stopping = *tinyWRAPc::tsip_event_code_stack_stopping;
  2242. *tsip_event_code_stack_stopped = *tinyWRAPc::tsip_event_code_stack_stopped;
  2243. *tsip_event_code_stack_failed_to_start = *tinyWRAPc::tsip_event_code_stack_failed_to_start;
  2244. *tsip_event_code_stack_failed_to_stop = *tinyWRAPc::tsip_event_code_stack_failed_to_stop;
  2245. *tsip_event_code_stack_disconnected = *tinyWRAPc::tsip_event_code_stack_disconnected;
  2246. *tsip_i_newreg = *tinyWRAPc::tsip_i_newreg;
  2247. *tsip_i_register = *tinyWRAPc::tsip_i_register;
  2248. *tsip_ao_register = *tinyWRAPc::tsip_ao_register;
  2249. *tsip_i_unregister = *tinyWRAPc::tsip_i_unregister;
  2250. *tsip_ao_unregister = *tinyWRAPc::tsip_ao_unregister;
  2251. *tsip_i_subscribe = *tinyWRAPc::tsip_i_subscribe;
  2252. *tsip_ao_subscribe = *tinyWRAPc::tsip_ao_subscribe;
  2253. *tsip_i_unsubscribe = *tinyWRAPc::tsip_i_unsubscribe;
  2254. *tsip_ao_unsubscribe = *tinyWRAPc::tsip_ao_unsubscribe;
  2255. *tsip_i_notify = *tinyWRAPc::tsip_i_notify;
  2256. *tsip_ao_notify = *tinyWRAPc::tsip_ao_notify;
  2257. *tsip_i_publish = *tinyWRAPc::tsip_i_publish;
  2258. *tsip_ao_publish = *tinyWRAPc::tsip_ao_publish;
  2259. *tsip_i_unpublish = *tinyWRAPc::tsip_i_unpublish;
  2260. *tsip_ao_unpublish = *tinyWRAPc::tsip_ao_unpublish;
  2261. *tsip_i_message = *tinyWRAPc::tsip_i_message;
  2262. *tsip_ao_message = *tinyWRAPc::tsip_ao_message;
  2263. *tsip_i_info = *tinyWRAPc::tsip_i_info;
  2264. *tsip_ao_info = *tinyWRAPc::tsip_ao_info;
  2265. *tsip_i_options = *tinyWRAPc::tsip_i_options;
  2266. *tsip_ao_options = *tinyWRAPc::tsip_ao_options;
  2267. *tsip_i_newcall = *tinyWRAPc::tsip_i_newcall;
  2268. *tsip_i_prechecking = *tinyWRAPc::tsip_i_prechecking;
  2269. *tsip_i_request = *tinyWRAPc::tsip_i_request;
  2270. *tsip_ao_request = *tinyWRAPc::tsip_ao_request;
  2271. *tsip_o_ect_trying = *tinyWRAPc::tsip_o_ect_trying;
  2272. *tsip_o_ect_accepted = *tinyWRAPc::tsip_o_ect_accepted;
  2273. *tsip_o_ect_completed = *tinyWRAPc::tsip_o_ect_completed;
  2274. *tsip_o_ect_failed = *tinyWRAPc::tsip_o_ect_failed;
  2275. *tsip_o_ect_notify = *tinyWRAPc::tsip_o_ect_notify;
  2276. *tsip_i_ect_requested = *tinyWRAPc::tsip_i_ect_requested;
  2277. *tsip_i_ect_newcall = *tinyWRAPc::tsip_i_ect_newcall;
  2278. *tsip_i_ect_completed = *tinyWRAPc::tsip_i_ect_completed;
  2279. *tsip_i_ect_failed = *tinyWRAPc::tsip_i_ect_failed;
  2280. *tsip_i_ect_notify = *tinyWRAPc::tsip_i_ect_notify;
  2281. *tsip_m_early_media = *tinyWRAPc::tsip_m_early_media;
  2282. *tsip_m_updating = *tinyWRAPc::tsip_m_updating;
  2283. *tsip_m_updated = *tinyWRAPc::tsip_m_updated;
  2284. *tsip_m_local_hold_ok = *tinyWRAPc::tsip_m_local_hold_ok;
  2285. *tsip_m_local_hold_nok = *tinyWRAPc::tsip_m_local_hold_nok;
  2286. *tsip_m_local_resume_ok = *tinyWRAPc::tsip_m_local_resume_ok;
  2287. *tsip_m_local_resume_nok = *tinyWRAPc::tsip_m_local_resume_nok;
  2288. *tsip_m_remote_hold = *tinyWRAPc::tsip_m_remote_hold;
  2289. *tsip_m_remote_resume = *tinyWRAPc::tsip_m_remote_resume;
  2290. *tmedia_qos_stype_none = *tinyWRAPc::tmedia_qos_stype_none;
  2291. *tmedia_qos_stype_segmented = *tinyWRAPc::tmedia_qos_stype_segmented;
  2292. *tmedia_qos_stype_e2e = *tinyWRAPc::tmedia_qos_stype_e2e;
  2293. *tmedia_qos_strength_none = *tinyWRAPc::tmedia_qos_strength_none;
  2294. *tmedia_qos_strength_failure = *tinyWRAPc::tmedia_qos_strength_failure;
  2295. *tmedia_qos_strength_unknown = *tinyWRAPc::tmedia_qos_strength_unknown;
  2296. *tmedia_qos_strength_optional = *tinyWRAPc::tmedia_qos_strength_optional;
  2297. *tmedia_qos_strength_mandatory = *tinyWRAPc::tmedia_qos_strength_mandatory;
  2298. *tmedia_chroma_none = *tinyWRAPc::tmedia_chroma_none;
  2299. *tmedia_chroma_rgb24 = *tinyWRAPc::tmedia_chroma_rgb24;
  2300. *tmedia_chroma_bgr24 = *tinyWRAPc::tmedia_chroma_bgr24;
  2301. *tmedia_chroma_rgb32 = *tinyWRAPc::tmedia_chroma_rgb32;
  2302. *tmedia_chroma_rgb565le = *tinyWRAPc::tmedia_chroma_rgb565le;
  2303. *tmedia_chroma_rgb565be = *tinyWRAPc::tmedia_chroma_rgb565be;
  2304. *tmedia_chroma_nv12 = *tinyWRAPc::tmedia_chroma_nv12;
  2305. *tmedia_chroma_nv21 = *tinyWRAPc::tmedia_chroma_nv21;
  2306. *tmedia_chroma_yuv422p = *tinyWRAPc::tmedia_chroma_yuv422p;
  2307. *tmedia_chroma_uyvy422 = *tinyWRAPc::tmedia_chroma_uyvy422;
  2308. *tmedia_chroma_yuv420p = *tinyWRAPc::tmedia_chroma_yuv420p;
  2309. *tmedia_chroma_mjpeg = *tinyWRAPc::tmedia_chroma_mjpeg;
  2310. *tmedia_chroma_yuyv422 = *tinyWRAPc::tmedia_chroma_yuyv422;
  2311. *tmedia_mode_none = *tinyWRAPc::tmedia_mode_none;
  2312. *tmedia_mode_optional = *tinyWRAPc::tmedia_mode_optional;
  2313. *tmedia_mode_mandatory = *tinyWRAPc::tmedia_mode_mandatory;
  2314. *tmedia_srtp_mode_none = *tinyWRAPc::tmedia_srtp_mode_none;
  2315. *tmedia_srtp_mode_optional = *tinyWRAPc::tmedia_srtp_mode_optional;
  2316. *tmedia_srtp_mode_mandatory = *tinyWRAPc::tmedia_srtp_mode_mandatory;
  2317. *tmedia_srtp_type_none = *tinyWRAPc::tmedia_srtp_type_none;
  2318. *tmedia_srtp_type_sdes = *tinyWRAPc::tmedia_srtp_type_sdes;
  2319. *tmedia_srtp_type_dtls = *tinyWRAPc::tmedia_srtp_type_dtls;
  2320. *tmedia_srtp_type_sdes_dtls = *tinyWRAPc::tmedia_srtp_type_sdes_dtls;
  2321. *tmedia_t140_data_type_utf8 = *tinyWRAPc::tmedia_t140_data_type_utf8;
  2322. *tmedia_t140_data_type_zero_width_no_break_space = *tinyWRAPc::tmedia_t140_data_type_zero_width_no_break_space;
  2323. *tmedia_t140_data_type_backspace = *tinyWRAPc::tmedia_t140_data_type_backspace;
  2324. *tmedia_t140_data_type_esc = *tinyWRAPc::tmedia_t140_data_type_esc;
  2325. *tmedia_t140_data_type_cr = *tinyWRAPc::tmedia_t140_data_type_cr;
  2326. *tmedia_t140_data_type_lf = *tinyWRAPc::tmedia_t140_data_type_lf;
  2327. *tmedia_t140_data_type_cr_lf = *tinyWRAPc::tmedia_t140_data_type_cr_lf;
  2328. *tmedia_t140_data_type_interrupt2 = *tinyWRAPc::tmedia_t140_data_type_interrupt2;
  2329. *tmedia_t140_data_type_bell = *tinyWRAPc::tmedia_t140_data_type_bell;
  2330. *tmedia_t140_data_type_sos = *tinyWRAPc::tmedia_t140_data_type_sos;
  2331. *tmedia_t140_data_type_string_term = *tinyWRAPc::tmedia_t140_data_type_string_term;
  2332. *tmedia_t140_data_type_graphic_start = *tinyWRAPc::tmedia_t140_data_type_graphic_start;
  2333. *tmedia_t140_data_type_graphic_end = *tinyWRAPc::tmedia_t140_data_type_graphic_end;
  2334. *tmedia_t140_data_type_loss_char_char = *tinyWRAPc::tmedia_t140_data_type_loss_char_char;
  2335. *tmedia_t140_data_type_loss_utf8 = *tinyWRAPc::tmedia_t140_data_type_loss_utf8;
  2336. *tmedia_profile_default = *tinyWRAPc::tmedia_profile_default;
  2337. *tmedia_profile_rtcweb = *tinyWRAPc::tmedia_profile_rtcweb;
  2338. *tmedia_bl_low = *tinyWRAPc::tmedia_bl_low;
  2339. *tmedia_bl_medium = *tinyWRAPc::tmedia_bl_medium;
  2340. *tmedia_bl_hight = *tinyWRAPc::tmedia_bl_hight;
  2341. *tmedia_bl_unrestricted = *tinyWRAPc::tmedia_bl_unrestricted;
  2342. *tmedia_pref_video_size_sqcif = *tinyWRAPc::tmedia_pref_video_size_sqcif;
  2343. *tmedia_pref_video_size_qcif = *tinyWRAPc::tmedia_pref_video_size_qcif;
  2344. *tmedia_pref_video_size_qvga = *tinyWRAPc::tmedia_pref_video_size_qvga;
  2345. *tmedia_pref_video_size_cif = *tinyWRAPc::tmedia_pref_video_size_cif;
  2346. *tmedia_pref_video_size_hvga = *tinyWRAPc::tmedia_pref_video_size_hvga;
  2347. *tmedia_pref_video_size_vga = *tinyWRAPc::tmedia_pref_video_size_vga;
  2348. *tmedia_pref_video_size_4cif = *tinyWRAPc::tmedia_pref_video_size_4cif;
  2349. *tmedia_pref_video_size_wvga = *tinyWRAPc::tmedia_pref_video_size_wvga;
  2350. *tmedia_pref_video_size_svga = *tinyWRAPc::tmedia_pref_video_size_svga;
  2351. *tmedia_pref_video_size_480p = *tinyWRAPc::tmedia_pref_video_size_480p;
  2352. *tmedia_pref_video_size_xga = *tinyWRAPc::tmedia_pref_video_size_xga;
  2353. *tmedia_pref_video_size_720p = *tinyWRAPc::tmedia_pref_video_size_720p;
  2354. *tmedia_pref_video_size_16cif = *tinyWRAPc::tmedia_pref_video_size_16cif;
  2355. *tmedia_pref_video_size_1080p = *tinyWRAPc::tmedia_pref_video_size_1080p;
  2356. *tmedia_pref_video_size_2160p = *tinyWRAPc::tmedia_pref_video_size_2160p;
  2357. *tmedia_codec_id_none = *tinyWRAPc::tmedia_codec_id_none;
  2358. *tmedia_codec_id_amr_nb_oa = *tinyWRAPc::tmedia_codec_id_amr_nb_oa;
  2359. *tmedia_codec_id_amr_nb_be = *tinyWRAPc::tmedia_codec_id_amr_nb_be;
  2360. *tmedia_codec_id_amr_wb_oa = *tinyWRAPc::tmedia_codec_id_amr_wb_oa;
  2361. *tmedia_codec_id_amr_wb_be = *tinyWRAPc::tmedia_codec_id_amr_wb_be;
  2362. *tmedia_codec_id_gsm = *tinyWRAPc::tmedia_codec_id_gsm;
  2363. *tmedia_codec_id_pcma = *tinyWRAPc::tmedia_codec_id_pcma;
  2364. *tmedia_codec_id_pcmu = *tinyWRAPc::tmedia_codec_id_pcmu;
  2365. *tmedia_codec_id_ilbc = *tinyWRAPc::tmedia_codec_id_ilbc;
  2366. *tmedia_codec_id_speex_nb = *tinyWRAPc::tmedia_codec_id_speex_nb;
  2367. *tmedia_codec_id_speex_wb = *tinyWRAPc::tmedia_codec_id_speex_wb;
  2368. *tmedia_codec_id_speex_uwb = *tinyWRAPc::tmedia_codec_id_speex_uwb;
  2369. *tmedia_codec_id_bv16 = *tinyWRAPc::tmedia_codec_id_bv16;
  2370. *tmedia_codec_id_bv32 = *tinyWRAPc::tmedia_codec_id_bv32;
  2371. *tmedia_codec_id_opus = *tinyWRAPc::tmedia_codec_id_opus;
  2372. *tmedia_codec_id_g729ab = *tinyWRAPc::tmedia_codec_id_g729ab;
  2373. *tmedia_codec_id_g722 = *tinyWRAPc::tmedia_codec_id_g722;
  2374. *tmedia_codec_id_h261 = *tinyWRAPc::tmedia_codec_id_h261;
  2375. *tmedia_codec_id_h263 = *tinyWRAPc::tmedia_codec_id_h263;
  2376. *tmedia_codec_id_h263p = *tinyWRAPc::tmedia_codec_id_h263p;
  2377. *tmedia_codec_id_h263pp = *tinyWRAPc::tmedia_codec_id_h263pp;
  2378. *tmedia_codec_id_h264_bp = *tinyWRAPc::tmedia_codec_id_h264_bp;
  2379. *tmedia_codec_id_h264_mp = *tinyWRAPc::tmedia_codec_id_h264_mp;
  2380. *tmedia_codec_id_h264_hp = *tinyWRAPc::tmedia_codec_id_h264_hp;
  2381. *tmedia_codec_id_h264_bp10 = *tinyWRAPc::tmedia_codec_id_h264_bp10;
  2382. *tmedia_codec_id_h264_bp20 = *tinyWRAPc::tmedia_codec_id_h264_bp20;
  2383. *tmedia_codec_id_h264_bp30 = *tinyWRAPc::tmedia_codec_id_h264_bp30;
  2384. *tmedia_codec_id_h264_svc = *tinyWRAPc::tmedia_codec_id_h264_svc;
  2385. *tmedia_codec_id_theora = *tinyWRAPc::tmedia_codec_id_theora;
  2386. *tmedia_codec_id_mp4ves_es = *tinyWRAPc::tmedia_codec_id_mp4ves_es;
  2387. *tmedia_codec_id_vp8 = *tinyWRAPc::tmedia_codec_id_vp8;
  2388. *tmedia_codec_id_t140 = *tinyWRAPc::tmedia_codec_id_t140;
  2389. *tmedia_codec_id_red = *tinyWRAPc::tmedia_codec_id_red;
  2390. *tdav_codec_id_none = *tinyWRAPc::tdav_codec_id_none;
  2391. *tdav_codec_id_amr_nb_oa = *tinyWRAPc::tdav_codec_id_amr_nb_oa;
  2392. *tdav_codec_id_amr_nb_be = *tinyWRAPc::tdav_codec_id_amr_nb_be;
  2393. *tdav_codec_id_amr_wb_oa = *tinyWRAPc::tdav_codec_id_amr_wb_oa;
  2394. *tdav_codec_id_amr_wb_be = *tinyWRAPc::tdav_codec_id_amr_wb_be;
  2395. *tdav_codec_id_gsm = *tinyWRAPc::tdav_codec_id_gsm;
  2396. *tdav_codec_id_pcma = *tinyWRAPc::tdav_codec_id_pcma;
  2397. *tdav_codec_id_pcmu = *tinyWRAPc::tdav_codec_id_pcmu;
  2398. *tdav_codec_id_ilbc = *tinyWRAPc::tdav_codec_id_ilbc;
  2399. *tdav_codec_id_speex_nb = *tinyWRAPc::tdav_codec_id_speex_nb;
  2400. *tdav_codec_id_speex_wb = *tinyWRAPc::tdav_codec_id_speex_wb;
  2401. *tdav_codec_id_speex_uwb = *tinyWRAPc::tdav_codec_id_speex_uwb;
  2402. *tdav_codec_id_bv16 = *tinyWRAPc::tdav_codec_id_bv16;
  2403. *tdav_codec_id_bv32 = *tinyWRAPc::tdav_codec_id_bv32;
  2404. *tdav_codec_id_opus = *tinyWRAPc::tdav_codec_id_opus;
  2405. *tdav_codec_id_g729ab = *tinyWRAPc::tdav_codec_id_g729ab;
  2406. *tdav_codec_id_g722 = *tinyWRAPc::tdav_codec_id_g722;
  2407. *tdav_codec_id_h261 = *tinyWRAPc::tdav_codec_id_h261;
  2408. *tdav_codec_id_h263 = *tinyWRAPc::tdav_codec_id_h263;
  2409. *tdav_codec_id_h263p = *tinyWRAPc::tdav_codec_id_h263p;
  2410. *tdav_codec_id_h263pp = *tinyWRAPc::tdav_codec_id_h263pp;
  2411. *tdav_codec_id_h264_bp = *tinyWRAPc::tdav_codec_id_h264_bp;
  2412. *tdav_codec_id_h264_mp = *tinyWRAPc::tdav_codec_id_h264_mp;
  2413. *tdav_codec_id_h264_hp = *tinyWRAPc::tdav_codec_id_h264_hp;
  2414. *tdav_codec_id_h264_bp10 = *tinyWRAPc::tdav_codec_id_h264_bp10;
  2415. *tdav_codec_id_h264_bp20 = *tinyWRAPc::tdav_codec_id_h264_bp20;
  2416. *tdav_codec_id_h264_bp30 = *tinyWRAPc::tdav_codec_id_h264_bp30;
  2417. *tdav_codec_id_h264_svc = *tinyWRAPc::tdav_codec_id_h264_svc;
  2418. *tdav_codec_id_theora = *tinyWRAPc::tdav_codec_id_theora;
  2419. *tdav_codec_id_mp4ves_es = *tinyWRAPc::tdav_codec_id_mp4ves_es;
  2420. *tdav_codec_id_vp8 = *tinyWRAPc::tdav_codec_id_vp8;
  2421. *tdav_codec_id_t140 = *tinyWRAPc::tdav_codec_id_t140;
  2422. *tdav_codec_id_red = *tinyWRAPc::tdav_codec_id_red;
  2423. *thttp_event_dialog_started = *tinyWRAPc::thttp_event_dialog_started;
  2424. *thttp_event_message = *tinyWRAPc::thttp_event_message;
  2425. *thttp_event_auth_failed = *tinyWRAPc::thttp_event_auth_failed;
  2426. *thttp_event_closed = *tinyWRAPc::thttp_event_closed;
  2427. *thttp_event_transport_error = *tinyWRAPc::thttp_event_transport_error;
  2428. *thttp_event_dialog_terminated = *tinyWRAPc::thttp_event_dialog_terminated;
  2429. *twrap_rpmessage_type_sms_none = *tinyWRAPc::twrap_rpmessage_type_sms_none;
  2430. *twrap_rpmessage_type_sms_submit = *tinyWRAPc::twrap_rpmessage_type_sms_submit;
  2431. *twrap_rpmessage_type_sms_deliver = *tinyWRAPc::twrap_rpmessage_type_sms_deliver;
  2432. *twrap_rpmessage_type_sms_ack = *tinyWRAPc::twrap_rpmessage_type_sms_ack;
  2433. *twrap_rpmessage_type_sms_error = *tinyWRAPc::twrap_rpmessage_type_sms_error;
  2434. *twrap_sms_type_none = *tinyWRAPc::twrap_sms_type_none;
  2435. *twrap_sms_type_rpdata = *tinyWRAPc::twrap_sms_type_rpdata;
  2436. *twrap_sms_type_smma = *tinyWRAPc::twrap_sms_type_smma;
  2437. *twrap_sms_type_ack = *tinyWRAPc::twrap_sms_type_ack;
  2438. *twrap_sms_type_error = *tinyWRAPc::twrap_sms_type_error;
  2439. *tmsrp_NONE = *tinyWRAPc::tmsrp_NONE;
  2440. *tmsrp_SEND = *tinyWRAPc::tmsrp_SEND;
  2441. *tmsrp_REPORT = *tinyWRAPc::tmsrp_REPORT;
  2442. *tmsrp_AUTH = *tinyWRAPc::tmsrp_AUTH;
  2443. *tmsrp_event_type_none = *tinyWRAPc::tmsrp_event_type_none;
  2444. *tmsrp_event_type_connected = *tinyWRAPc::tmsrp_event_type_connected;
  2445. *tmsrp_event_type_disconnected = *tinyWRAPc::tmsrp_event_type_disconnected;
  2446. *tmsrp_event_type_message = *tinyWRAPc::tmsrp_event_type_message;
  2447. 1;