2
0

unimrcpclient.xml 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- UniMRCP client document -->
  3. <unimrcpclient xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:noNamespaceSchemaLocation="unimrcpclient.xsd"
  5. version="1.0"
  6. subfolder="client-profiles">
  7. <properties>
  8. <!-- If the attribute "type" is set to "auto", IP address is
  9. determined implicitly by the hostname. This is the default setting. -->
  10. <ip type="auto"/>
  11. <!-- If the attribute "type" is set to "iface", IP address is
  12. determined by the specified name of network interface/adapter. -->
  13. <!-- <ip type="iface">eth0</ip>-->
  14. <!-- IP address can also be specified explicitly. -->
  15. <!-- <ip>10.10.0.1</ip> -->
  16. <!-- <ext-ip>a.b.c.d</ext-ip> -->
  17. <!-- <server-ip>a.b.c.d</server-ip> -->
  18. </properties>
  19. <components>
  20. <!-- Factory of MRCP resources -->
  21. <resource-factory>
  22. <resource id="speechsynth" enable="true"/>
  23. <resource id="speechrecog" enable="true"/>
  24. <resource id="recorder" enable="true"/>
  25. <resource id="speakverify" enable="true"/>
  26. </resource-factory>
  27. <!-- SofiaSIP MRCPv2 signaling agent -->
  28. <sip-uac id="SIP-Agent-1" type="SofiaSIP">
  29. <!-- By default, "ip" and "ext-ip" addresses set in the properties will be used.
  30. They still can be explicitly specified (overriden) here.
  31. -->
  32. <!-- <sip-ip>10.10.0.1</sip-ip> -->
  33. <!-- <sip-ext-ip>a.b.c.d</sip-ext-ip> -->
  34. <sip-port>8062</sip-port>
  35. <sip-transport>udp</sip-transport>
  36. <ua-name>UniMRCP SofiaSIP</ua-name>
  37. <sdp-origin>UniMRCPClient</sdp-origin>
  38. <!-- <sip-t1>500</sip-t1> -->
  39. <!-- <sip-t2>4000</sip-t2> -->
  40. <!-- <sip-t4>4000</sip-t4> -->
  41. <!-- <sip-t1x64>32000</sip-t1x64> -->
  42. <!-- <sip-message-output>true</sip-message-output> -->
  43. <!-- <sip-message-dump>sofia-sip-uac.log</sip-message-dump> -->
  44. </sip-uac>
  45. <!-- UniRTSP MRCPv1 signaling agent -->
  46. <rtsp-uac id="RTSP-Agent-1" type="UniRTSP">
  47. <max-connection-count>100</max-connection-count>
  48. <!-- <request-timeout>5000</request-timeout> -->
  49. <sdp-origin>UniMRCPClient</sdp-origin>
  50. </rtsp-uac>
  51. <!-- MRCPv2 connection agent -->
  52. <mrcpv2-uac id="MRCPv2-Agent-1">
  53. <max-connection-count>100</max-connection-count>
  54. <offer-new-connection>false</offer-new-connection>
  55. <rx-buffer-size>1024</rx-buffer-size>
  56. <tx-buffer-size>1024</tx-buffer-size>
  57. <!-- <request-timeout>5000</request-timeout> -->
  58. </mrcpv2-uac>
  59. <!-- Media processing engine -->
  60. <media-engine id="Media-Engine-1">
  61. <realtime-rate>1</realtime-rate>
  62. </media-engine>
  63. <!-- Factory of RTP terminations -->
  64. <rtp-factory id="RTP-Factory-1">
  65. <!-- By default, "ip" and "ext-ip" addresses set in the properties will be used.
  66. They still can be explicitly specified (overriden) here.
  67. -->
  68. <!-- <rtp-ip>10.10.0.1</rtp-ip> -->
  69. <!-- <rtp-ext-ip>a.b.c.d</rtp-ext-ip> -->
  70. <rtp-port-min>4000</rtp-port-min>
  71. <rtp-port-max>5000</rtp-port-max>
  72. </rtp-factory>
  73. </components>
  74. <settings>
  75. <!-- common (default) RTP/RTCP settings -->
  76. <rtp-settings id="RTP-Settings-1">
  77. <jitter-buffer>
  78. <adaptive>1</adaptive>
  79. <playout-delay>50</playout-delay>
  80. <max-playout-delay>600</max-playout-delay>
  81. <time-skew-detection>1</time-skew-detection>
  82. </jitter-buffer>
  83. <ptime>20</ptime>
  84. <codecs>PCMU PCMA L16/96/8000 telephone-event/101/8000</codecs>
  85. <!-- <codecs>PCMU PCMA L16/96/8000 PCMU/97/16000 PCMA/98/16000 L16/99/16000</codecs> -->
  86. <!-- enable/disable RTCP support -->
  87. <rtcp enable="false">
  88. <!-- RTCP BYE policies (RTCP must be enabled first)
  89. 0 - disable RTCP BYE
  90. 1 - send RTCP BYE at the end of session
  91. 2 - send RTCP BYE also at the end of each talkspurt (input)
  92. -->
  93. <rtcp-bye>1</rtcp-bye>
  94. <!-- rtcp transmission interval in msec (set 0 to disable) -->
  95. <tx-interval>5000</tx-interval>
  96. <!-- period (timeout) to check for new rtcp messages in msec (set 0 to disable) -->
  97. <rx-resolution>1000</rx-resolution>
  98. </rtcp>
  99. </rtp-settings>
  100. </settings>
  101. </unimrcpclient>