2
0

unimrcpserver.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="unimrcpserver">
  4. <xsd:annotation>
  5. <xsd:documentation>UniMRCP server 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:sequence>
  26. </xsd:complexType>
  27. </xsd:element>
  28. <xsd:element name="components" minOccurs="0">
  29. <xsd:annotation>
  30. <xsd:documentation>Common components</xsd:documentation>
  31. </xsd:annotation>
  32. <xsd:complexType>
  33. <xsd:sequence>
  34. <xsd:element name="resource-factory" minOccurs="0">
  35. <xsd:annotation>
  36. <xsd:documentation>Factory of MRCP resources</xsd:documentation>
  37. </xsd:annotation>
  38. <xsd:complexType>
  39. <xsd:sequence maxOccurs="unbounded">
  40. <xsd:element name="resource">
  41. <xsd:complexType>
  42. <xsd:attribute name="id" type="xsd:string" use="required" />
  43. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  44. </xsd:complexType>
  45. </xsd:element>
  46. </xsd:sequence>
  47. </xsd:complexType>
  48. </xsd:element>
  49. <xsd:element name="sip-uas" minOccurs="0" maxOccurs="unbounded">
  50. <xsd:annotation>
  51. <xsd:documentation>SIP signaling agent</xsd:documentation>
  52. </xsd:annotation>
  53. <xsd:complexType>
  54. <xsd:sequence>
  55. <xsd:element name="sip-ip" type="xsd:string" minOccurs="0" />
  56. <xsd:element name="sip-ext-ip" type="xsd:string" minOccurs="0" />
  57. <xsd:element name="sip-port" type="xsd:short" />
  58. <xsd:element name="sip-transport" type="xsd:string" />
  59. <xsd:element name="force-destination" type="xsd:boolean" default="false" minOccurs="0" />
  60. <xsd:element name="ua-name" type="xsd:string" minOccurs="0" />
  61. <xsd:element name="sdp-origin" type="xsd:string" minOccurs="0" />
  62. <xsd:element name="sip-t1" type="xsd:long" minOccurs="0" />
  63. <xsd:element name="sip-t2" type="xsd:long" minOccurs="0" />
  64. <xsd:element name="sip-t4" type="xsd:long" minOccurs="0" />
  65. <xsd:element name="sip-t1x64" type="xsd:long" minOccurs="0" />
  66. <xsd:element name="sip-message-output" type="xsd:boolean" />
  67. <xsd:element name="sip-message-dump" type="xsd:string" />
  68. </xsd:sequence>
  69. <xsd:attribute name="id" type="xsd:string" use="required" />
  70. <xsd:attribute name="type" type="xsd:string" use="required" />
  71. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  72. </xsd:complexType>
  73. </xsd:element>
  74. <xsd:element name="rtsp-uas" minOccurs="0" maxOccurs="unbounded">
  75. <xsd:annotation>
  76. <xsd:documentation>RTSP signaling agent</xsd:documentation>
  77. </xsd:annotation>
  78. <xsd:complexType>
  79. <xsd:sequence>
  80. <xsd:element name="rtsp-ip" type="xsd:string" minOccurs="0" />
  81. <xsd:element name="rtsp-ext-ip" type="xsd:string" minOccurs="0" />
  82. <xsd:element name="rtsp-port" type="xsd:string" />
  83. <xsd:element name="resource-map">
  84. <xsd:complexType>
  85. <xsd:sequence>
  86. <xsd:element name="param" maxOccurs="unbounded">
  87. <xsd:complexType>
  88. <xsd:attribute name="name" type="xsd:string" use="required" />
  89. <xsd:attribute name="value" type="xsd:string" use="required" />
  90. </xsd:complexType>
  91. </xsd:element>
  92. </xsd:sequence>
  93. </xsd:complexType>
  94. </xsd:element>
  95. <xsd:element name="max-connection-count" type="xsd:short" minOccurs="0" />
  96. <xsd:element name="sdp-origin" type="xsd:string" minOccurs="0" />
  97. </xsd:sequence>
  98. <xsd:attribute name="id" type="xsd:string" use="required" />
  99. <xsd:attribute name="type" type="xsd:string" use="required" />
  100. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  101. </xsd:complexType>
  102. </xsd:element>
  103. <xsd:element name="mrcpv2-uas" minOccurs="0" maxOccurs="unbounded">
  104. <xsd:annotation>
  105. <xsd:documentation>MRCPv2 connection agent</xsd:documentation>
  106. </xsd:annotation>
  107. <xsd:complexType>
  108. <xsd:sequence>
  109. <xsd:element name="mrcp-ip" type="xsd:string" minOccurs="0" />
  110. <xsd:element name="mrcp-port" type="xsd:string" />
  111. <xsd:element name="max-connection-count" type="xsd:short" minOccurs="0" />
  112. <xsd:element name="force-new-connection" type="xsd:boolean" minOccurs="0" />
  113. <xsd:element name="rx-buffer-size" type="xsd:long" minOccurs="0" />
  114. <xsd:element name="tx-buffer-size" type="xsd:long" minOccurs="0" />
  115. </xsd:sequence>
  116. <xsd:attribute name="id" type="xsd:string" use="required" />
  117. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  118. </xsd:complexType>
  119. </xsd:element>
  120. <xsd:element name="media-engine" minOccurs="0" maxOccurs="unbounded">
  121. <xsd:annotation>
  122. <xsd:documentation>Media processing engine</xsd:documentation>
  123. </xsd:annotation>
  124. <xsd:complexType>
  125. <xsd:sequence>
  126. <xsd:element name="realtime-rate" type="xsd:short" minOccurs="0" />
  127. </xsd:sequence>
  128. <xsd:attribute name="id" type="xsd:string" use="required" />
  129. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  130. </xsd:complexType>
  131. </xsd:element>
  132. <xsd:element name="rtp-factory" minOccurs="0" maxOccurs="unbounded">
  133. <xsd:annotation>
  134. <xsd:documentation>Factory of RTP terminations</xsd:documentation>
  135. </xsd:annotation>
  136. <xsd:complexType>
  137. <xsd:sequence>
  138. <xsd:element name="rtp-ip" type="xsd:string" minOccurs="0" />
  139. <xsd:element name="rtp-ext-ip" type="xsd:string" minOccurs="0" />
  140. <xsd:element name="rtp-port-min" type="xsd:short" />
  141. <xsd:element name="rtp-port-max" type="xsd:short" />
  142. </xsd:sequence>
  143. <xsd:attribute name="id" type="xsd:string" use="required" />
  144. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  145. </xsd:complexType>
  146. </xsd:element>
  147. <xsd:element name="plugin-factory" minOccurs="0">
  148. <xsd:annotation>
  149. <xsd:documentation>Factory of plugins (MRCP engines)</xsd:documentation>
  150. </xsd:annotation>
  151. <xsd:complexType>
  152. <xsd:sequence maxOccurs="unbounded">
  153. <xsd:element name="engine">
  154. <xsd:complexType>
  155. <xsd:sequence>
  156. <xsd:element name="max-channel-count" minOccurs="0" />
  157. <xsd:element name="param" minOccurs="0" maxOccurs="unbounded">
  158. <xsd:complexType>
  159. <xsd:attribute name="name" type="xsd:string" use="required" />
  160. <xsd:attribute name="value" type="xsd:string" use="required" />
  161. </xsd:complexType>
  162. </xsd:element>
  163. </xsd:sequence>
  164. <xsd:attribute name="id" type="xsd:string" use="required" />
  165. <xsd:attribute name="name" type="xsd:string" use="required" />
  166. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  167. </xsd:complexType>
  168. </xsd:element>
  169. </xsd:sequence>
  170. </xsd:complexType>
  171. </xsd:element>
  172. </xsd:sequence>
  173. </xsd:complexType>
  174. </xsd:element>
  175. <xsd:element name="settings" minOccurs="0">
  176. <xsd:annotation>
  177. <xsd:documentation>Settings</xsd:documentation>
  178. </xsd:annotation>
  179. <xsd:complexType>
  180. <xsd:sequence>
  181. <xsd:element name="rtp-settings" minOccurs="0" maxOccurs="unbounded">
  182. <xsd:annotation>
  183. <xsd:documentation>RTP settings</xsd:documentation>
  184. </xsd:annotation>
  185. <xsd:complexType>
  186. <xsd:sequence>
  187. <xsd:element name="jitter-buffer" minOccurs="0">
  188. <xsd:complexType>
  189. <xsd:sequence>
  190. <xsd:element name="adaptive" type="xsd:byte" />
  191. <xsd:element name="playout-delay" type="xsd:long" />
  192. <xsd:element name="max-playout-delay" type="xsd:long" />
  193. <xsd:element name="time-skew-detection" type="xsd:byte" />
  194. </xsd:sequence>
  195. </xsd:complexType>
  196. </xsd:element>
  197. <xsd:element name="ptime" type="xsd:long" minOccurs="0" />
  198. <xsd:element name="codecs">
  199. <xsd:complexType>
  200. <xsd:simpleContent>
  201. <xsd:extension base="xsd:string">
  202. <xsd:attribute name="own-preference" type="xsd:boolean" use="optional" />
  203. </xsd:extension>
  204. </xsd:simpleContent>
  205. </xsd:complexType>
  206. </xsd:element>
  207. <xsd:element name="rtcp" minOccurs="0">
  208. <xsd:complexType>
  209. <xsd:sequence>
  210. <xsd:element name="rtcp-bye" type="xsd:int" />
  211. <xsd:element name="tx-interval" type="xsd:long" />
  212. <xsd:element name="rx-resolution" type="xsd:long" />
  213. </xsd:sequence>
  214. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  215. </xsd:complexType>
  216. </xsd:element>
  217. </xsd:sequence>
  218. <xsd:attribute name="id" type="xsd:string" use="required" />
  219. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  220. </xsd:complexType>
  221. </xsd:element>
  222. </xsd:sequence>
  223. </xsd:complexType>
  224. </xsd:element>
  225. <xsd:element name="profiles" minOccurs="0">
  226. <xsd:annotation>
  227. <xsd:documentation>Profiles</xsd:documentation>
  228. </xsd:annotation>
  229. <xsd:complexType>
  230. <xsd:sequence>
  231. <xsd:element name="mrcpv2-profile" minOccurs="0" maxOccurs="unbounded">
  232. <xsd:annotation>
  233. <xsd:documentation>MRCPv2 profile</xsd:documentation>
  234. </xsd:annotation>
  235. <xsd:complexType>
  236. <xsd:sequence>
  237. <xsd:element name="sip-uas" type="xsd:string" />
  238. <xsd:element name="mrcpv2-uas" type="xsd:string" />
  239. <xsd:element name="media-engine" type="xsd:string" />
  240. <xsd:element name="rtp-factory" type="xsd:string" />
  241. <xsd:element name="rtp-settings" type="xsd:string" />
  242. </xsd:sequence>
  243. <xsd:attribute name="id" type="xsd:string" use="required" />
  244. <xsd:attribute name="enable" type="xsd:boolean" use="optional" />
  245. </xsd:complexType>
  246. </xsd:element>
  247. <xsd:element name="mrcpv1-profile" minOccurs="0" maxOccurs="unbounded">
  248. <xsd:annotation>
  249. <xsd:documentation>MRCPv1 profile</xsd:documentation>
  250. </xsd:annotation>
  251. <xsd:complexType>
  252. <xsd:sequence>
  253. <xsd:element name="rtsp-uas" type="xsd:string" />
  254. <xsd:element name="media-engine" type="xsd:string" />
  255. <xsd:element name="rtp-factory" 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>