2
0

unimrcpclient.xsd 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  3. <xsd:element name="unimrcpclient">
  4. <xsd:annotation>
  5. <xsd:documentation>UniMRCP client document</xsd:documentation>
  6. </xsd:annotation>
  7. <xsd:complexType>
  8. <xsd:sequence>
  9. <xsd:element name="properties" minOccurs="0">
  10. <xsd:annotation>
  11. <xsd:documentation>Generic properties</xsd:documentation>
  12. </xsd:annotation>
  13. <xsd:complexType>
  14. <xsd:sequence>
  15. <xsd:element name="ip" minOccurs="0">
  16. <xsd:complexType>
  17. <xsd:attribute name="type" type="xsd:string" />
  18. </xsd:complexType>
  19. </xsd:element>
  20. <xsd:element name="ext-ip" minOccurs="0">
  21. <xsd:complexType>
  22. <xsd:attribute name="type" type="xsd:string" />
  23. </xsd:complexType>
  24. </xsd:element>
  25. <xsd:element name="server-ip" minOccurs="0">
  26. <xsd:complexType>
  27. <xsd:attribute name="type" type="xsd:string" />
  28. </xsd:complexType>
  29. </xsd:element>
  30. </xsd:sequence>
  31. </xsd:complexType>
  32. </xsd:element>
  33. <xsd:element name="components" minOccurs="0">
  34. <xsd:annotation>
  35. <xsd:documentation>Common components</xsd:documentation>
  36. </xsd:annotation>
  37. <xsd:complexType>
  38. <xsd:sequence>
  39. <xsd:element name="resource-factory" minOccurs="0">
  40. <xsd:annotation>
  41. <xsd:documentation>Factory of MRCP resources</xsd:documentation>
  42. </xsd:annotation>
  43. <xsd:complexType>
  44. <xsd:sequence maxOccurs="unbounded">
  45. <xsd:element name="resource">
  46. <xsd:complexType>
  47. <xsd:attribute name="id" type="xsd:string" use="required" />
  48. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  49. </xsd:complexType>
  50. </xsd:element>
  51. </xsd:sequence>
  52. </xsd:complexType>
  53. </xsd:element>
  54. <xsd:element name="sip-uac" minOccurs="0" maxOccurs="unbounded">
  55. <xsd:annotation>
  56. <xsd:documentation>SIP signaling agent</xsd:documentation>
  57. </xsd:annotation>
  58. <xsd:complexType>
  59. <xsd:sequence>
  60. <xsd:element name="sip-ip" type="xsd:string" minOccurs="0" />
  61. <xsd:element name="sip-ext-ip" type="xsd:string" minOccurs="0" />
  62. <xsd:element name="sip-port" type="xsd:short" />
  63. <xsd:element name="sip-transport" type="xsd:string" />
  64. <xsd:element name="ua-name" type="xsd:string" minOccurs="0" />
  65. <xsd:element name="sdp-origin" type="xsd:string" minOccurs="0" />
  66. <xsd:element name="sip-t1" type="xsd:long" minOccurs="0" />
  67. <xsd:element name="sip-t2" type="xsd:long" minOccurs="0" />
  68. <xsd:element name="sip-t4" type="xsd:long" minOccurs="0" />
  69. <xsd:element name="sip-t1x64" type="xsd:long" minOccurs="0" />
  70. <xsd:element name="sip-message-output" type="xsd:boolean" />
  71. <xsd:element name="sip-message-dump" type="xsd:string" />
  72. </xsd:sequence>
  73. <xsd:attribute name="id" type="xsd:string" use="required" />
  74. <xsd:attribute name="type" type="xsd:string" use="required" />
  75. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  76. </xsd:complexType>
  77. </xsd:element>
  78. <xsd:element name="rtsp-uac" minOccurs="0" maxOccurs="unbounded">
  79. <xsd:annotation>
  80. <xsd:documentation>RTSP signaling agent</xsd:documentation>
  81. </xsd:annotation>
  82. <xsd:complexType>
  83. <xsd:sequence>
  84. <xsd:element name="max-connection-count" type="xsd:short" minOccurs="0" />
  85. <xsd:element name="request-timeout" type="xsd:long" minOccurs="0" />
  86. <xsd:element name="sdp-origin" type="xsd:string" minOccurs="0" />
  87. </xsd:sequence>
  88. <xsd:attribute name="id" type="xsd:string" use="required" />
  89. <xsd:attribute name="type" type="xsd:string" use="required" />
  90. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  91. </xsd:complexType>
  92. </xsd:element>
  93. <xsd:element name="mrcpv2-uac" minOccurs="0" maxOccurs="unbounded">
  94. <xsd:annotation>
  95. <xsd:documentation>MRCPv2 connection agent</xsd:documentation>
  96. </xsd:annotation>
  97. <xsd:complexType>
  98. <xsd:sequence>
  99. <xsd:element name="max-connection-count" type="xsd:short" minOccurs="0" />
  100. <xsd:element name="offer-new-connection" type="xsd:boolean" minOccurs="0" />
  101. <xsd:element name="rx-buffer-size" type="xsd:long" minOccurs="0" />
  102. <xsd:element name="tx-buffer-size" type="xsd:long" minOccurs="0" />
  103. <xsd:element name="request-timeout" type="xsd:long" minOccurs="0" />
  104. </xsd:sequence>
  105. <xsd:attribute name="id" type="xsd:string" use="required" />
  106. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  107. </xsd:complexType>
  108. </xsd:element>
  109. <xsd:element name="media-engine" minOccurs="0" maxOccurs="unbounded">
  110. <xsd:annotation>
  111. <xsd:documentation>Media processing engine</xsd:documentation>
  112. </xsd:annotation>
  113. <xsd:complexType>
  114. <xsd:sequence>
  115. <xsd:element name="realtime-rate" type="xsd:short" minOccurs="0" />
  116. </xsd:sequence>
  117. <xsd:attribute name="id" type="xsd:string" use="required" />
  118. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  119. </xsd:complexType>
  120. </xsd:element>
  121. <xsd:element name="rtp-factory" minOccurs="0" maxOccurs="unbounded">
  122. <xsd:annotation>
  123. <xsd:documentation>Factory of RTP terminations</xsd:documentation>
  124. </xsd:annotation>
  125. <xsd:complexType>
  126. <xsd:sequence>
  127. <xsd:element name="rtp-ip" type="xsd:string" minOccurs="0" />
  128. <xsd:element name="rtp-ext-ip" type="xsd:string" minOccurs="0" />
  129. <xsd:element name="rtp-port-min" type="xsd:short" />
  130. <xsd:element name="rtp-port-max" type="xsd:short" />
  131. </xsd:sequence>
  132. <xsd:attribute name="id" type="xsd:string" use="required" />
  133. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  134. </xsd:complexType>
  135. </xsd:element>
  136. </xsd:sequence>
  137. </xsd:complexType>
  138. </xsd:element>
  139. <xsd:element name="settings" minOccurs="0">
  140. <xsd:annotation>
  141. <xsd:documentation>Settings</xsd:documentation>
  142. </xsd:annotation>
  143. <xsd:complexType>
  144. <xsd:sequence>
  145. <xsd:element name="sip-settings" minOccurs="0" maxOccurs="unbounded">
  146. <xsd:annotation>
  147. <xsd:documentation>SIP settings</xsd:documentation>
  148. </xsd:annotation>
  149. <xsd:complexType>
  150. <xsd:sequence>
  151. <xsd:element name="server-ip" type="xsd:string" minOccurs="0" />
  152. <xsd:element name="server-port" type="xsd:short" />
  153. <xsd:element name="force-destination" type="xsd:boolean" default="false" minOccurs="0" />
  154. <xsd:element name="feature-tags" type="xsd:string" minOccurs="0" />
  155. </xsd:sequence>
  156. <xsd:attribute name="id" type="xsd:string" use="required" />
  157. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  158. </xsd:complexType>
  159. </xsd:element>
  160. <xsd:element name="rtsp-settings" minOccurs="0" maxOccurs="unbounded">
  161. <xsd:annotation>
  162. <xsd:documentation>RTSP settings</xsd:documentation>
  163. </xsd:annotation>
  164. <xsd:complexType>
  165. <xsd:sequence>
  166. <xsd:element name="server-ip" type="xsd:string" minOccurs="0" />
  167. <xsd:element name="server-port" type="xsd:short" />
  168. <xsd:element name="force-destination" type="xsd:boolean" default="false" minOccurs="0" />
  169. <xsd:element name="resource-location" type="xsd:string" />
  170. <xsd:element name="resource-map">
  171. <xsd:complexType>
  172. <xsd:sequence>
  173. <xsd:element name="param" maxOccurs="unbounded">
  174. <xsd:complexType>
  175. <xsd:attribute name="name" type="xsd:string" use="required" />
  176. <xsd:attribute name="value" type="xsd:string" use="required" />
  177. </xsd:complexType>
  178. </xsd:element>
  179. </xsd:sequence>
  180. </xsd:complexType>
  181. </xsd:element>
  182. </xsd:sequence>
  183. <xsd:attribute name="id" type="xsd:string" use="required" />
  184. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  185. </xsd:complexType>
  186. </xsd:element>
  187. <xsd:element name="rtp-settings" minOccurs="0" maxOccurs="unbounded">
  188. <xsd:annotation>
  189. <xsd:documentation>RTP settings</xsd:documentation>
  190. </xsd:annotation>
  191. <xsd:complexType>
  192. <xsd:sequence>
  193. <xsd:element name="jitter-buffer" minOccurs="0">
  194. <xsd:complexType>
  195. <xsd:sequence>
  196. <xsd:element name="adaptive" type="xsd:byte" />
  197. <xsd:element name="playout-delay" type="xsd:long" />
  198. <xsd:element name="max-playout-delay" type="xsd:long" />
  199. <xsd:element name="time-skew-detection" type="xsd:byte" />
  200. </xsd:sequence>
  201. </xsd:complexType>
  202. </xsd:element>
  203. <xsd:element name="ptime" type="xsd:long" minOccurs="0" />
  204. <xsd:element name="codecs" type="xsd:string" />
  205. <xsd:element name="rtcp" minOccurs="0">
  206. <xsd:complexType>
  207. <xsd:sequence>
  208. <xsd:element name="rtcp-bye" type="xsd:int" />
  209. <xsd:element name="tx-interval" type="xsd:long" />
  210. <xsd:element name="rx-resolution" type="xsd:long" />
  211. </xsd:sequence>
  212. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  213. </xsd:complexType>
  214. </xsd:element>
  215. </xsd:sequence>
  216. <xsd:attribute name="id" type="xsd:string" use="required" />
  217. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  218. </xsd:complexType>
  219. </xsd:element>
  220. </xsd:sequence>
  221. </xsd:complexType>
  222. </xsd:element>
  223. <xsd:element name="profiles" minOccurs="0">
  224. <xsd:annotation>
  225. <xsd:documentation>Profiles</xsd:documentation>
  226. </xsd:annotation>
  227. <xsd:complexType>
  228. <xsd:sequence>
  229. <xsd:element name="mrcpv2-profile" minOccurs="0" maxOccurs="unbounded">
  230. <xsd:annotation>
  231. <xsd:documentation>MRCPv2 profile</xsd:documentation>
  232. </xsd:annotation>
  233. <xsd:complexType>
  234. <xsd:sequence>
  235. <xsd:element name="sip-uac" type="xsd:string" />
  236. <xsd:element name="mrcpv2-uac" type="xsd:string" />
  237. <xsd:element name="media-engine" type="xsd:string" />
  238. <xsd:element name="rtp-factory" type="xsd:string" />
  239. <xsd:element name="sip-settings" type="xsd:string" />
  240. <xsd:element name="rtp-settings" type="xsd:string" />
  241. </xsd:sequence>
  242. <xsd:attribute name="id" type="xsd:string" use="required" />
  243. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  244. </xsd:complexType>
  245. </xsd:element>
  246. <xsd:element name="mrcpv1-profile" minOccurs="0" maxOccurs="unbounded">
  247. <xsd:annotation>
  248. <xsd:documentation>MRCPv1 profile</xsd:documentation>
  249. </xsd:annotation>
  250. <xsd:complexType>
  251. <xsd:sequence>
  252. <xsd:element name="rtsp-uac" type="xsd:string" />
  253. <xsd:element name="media-engine" type="xsd:string" />
  254. <xsd:element name="rtp-factory" type="xsd:string" />
  255. <xsd:element name="rtsp-settings" type="xsd:string" />
  256. <xsd:element name="rtp-settings" type="xsd:string" />
  257. </xsd:sequence>
  258. <xsd:attribute name="id" type="xsd:string" use="required" />
  259. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  260. </xsd:complexType>
  261. </xsd:element>
  262. </xsd:sequence>
  263. </xsd:complexType>
  264. </xsd:element>
  265. <xsd:element name="misc" minOccurs="0">
  266. <xsd:complexType>
  267. <xsd:sequence>
  268. <xsd:element name="sofiasip-logger" type="xsd:string" />
  269. </xsd:sequence>
  270. </xsd:complexType>
  271. </xsd:element>
  272. </xsd:sequence>
  273. <xsd:attribute name="version" type="xsd:string" use="required" />
  274. <xsd:attribute name="subfolder" type="xsd:string" use="optional" />
  275. </xsd:complexType>
  276. </xsd:element>
  277. </xsd:schema>