CHANGES 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. Changes for UniMRCP-1.2.0
  2. APR-toolkit library
  3. * Implemented a new interface for the NLSML parser in accordance with the NSLML schema defined in http://tools.ietf.org/html/rfc6787#section-16.1.
  4. * Took out the legacy NLSML interface.
  5. * Fixed a gcc warning for strict-aliasing rules.
  6. * Implemented apt_pair_array_generate() in 2 passes, apr_pstrcatv() alike.
  7. * Prevent compilation warnings for unused-but-set-variable.
  8. * Use int instead of apt_task_msg_type_e to suppress a warning triggered by gcc 4.7: case value not in enumerated type 'apt_task_msg_type_e'.
  9. * Upon creation of a new memory pool, register apr_abortfunc_t callback which is supposed to be invoked when memory allocation fails within apr_pool.
  10. * Added apt_va_log() which accepts va_list as an input argument.
  11. * Set the default maximum number of log files used in rotation to 100.
  12. * Set thread names for APT tasks to be shown in debuggers. Thanks Vali.
  13. * Enable apt_timer logs only if APT_TIMER_DEBUG is defined.
  14. * Use a local temporary char buffer to construct the hostname in apt_ip_get() not to allocate memory from a permanent pool.
  15. * Unified pointer logging in APT style. Thanks Vali.
  16. * Define APT_PTR_FMT as 0x%I64x for 64-bit Windows.
  17. * Removed unused function apt_text_boolean_value_insert/apt_boolean_value_insert (inconsistent declaration/definition). Thanks Vali.
  18. MPF library
  19. * The function mpf_codec_lists_intersect() now returns FALSE if there is no match for the primary codec descriptor.
  20. * Reject the RTP session if there is no match in remote and local codecs.
  21. * Use the reserved RTP payload type 19 in case codec list is empty (media stream is rejected).
  22. * If the codec list does not match the capabilities, mark the stream as disabled.
  23. * Do not set SO_REUSEADDR on RTP sockets.
  24. * Made G.711 implementation bit-exact with ITU-T reference implementation.
  25. * Use APR typedefs in G.711 implementation.
  26. * Improved the RTP port management for those cases when the specified RTP port range is not enough to handle concurrent MRCP sessions.
  27. * Check the number of ports per engine to be even to ensure there is a room for a pair of RTP/RTCP ports.
  28. * Added debugging capabilities to mpf_frame_buffer.
  29. * Copy name string when adding to codec capabilities. Thanks Vali.
  30. MRCP common library
  31. * Use apr_snprintf() instead of sprintf() in mrcp_request_id_generate().
  32. * Get rid of local fixed-size char buffers and additional string copies. Instead, allocate buffers from memory pool and generate strings straight into the buffers.
  33. MRCP client library
  34. * Completed the implementation of the new API function to retrieve a SIP/RTSP response code received from the server (Issue-90).
  35. * Fixed a potential crash of the client stack which could happen when the server unexpectedly closes the MRCPv2 connection while the client stack is processing an application request.
  36. * Allow a pool/factory of signaling agents to be defined with the MRCPv1 and/or MRCPv2 profiles.
  37. * Respond straight away with success to the session termination request if the session creation failed in the first place.
  38. * Keep track of associations between RTP termination factories (pools of RTP ports) and media engines.
  39. * Allow a pool/factory of media processing engines to be defined with the MRCPv1 and/or MRCPv2 profiles.
  40. * Allow a pool/factory of MRCPv2 connection agents to be defined with the MRCPv2 profiles.
  41. * Added the ability to specify an IP address by the name of network interface/adapter.
  42. * Added a new accessor function to the client API mrcp_client_profiles_get() which retrieves the available profiles.
  43. * Store the profile name not only as a key in the profile table but also in the profile structure.
  44. * Allow setting an arbitrary tag to the profile.
  45. MRCP server library
  46. * Handle separately the case when an RTSP SETUP contains no SDP, which means it's up to the server to decide which codec to use.
  47. * Fixed a crash if MRCP resource not found. Thanks Vali.
  48. * Keep track of associations between RTP termination factories (pools of RTP ports) and media engines.
  49. * Added the ability to specify an IP address by the name of network interface/adapter.
  50. * Log maximum engine channel count exceeded. Thanks Vali.
  51. Sofia-SIP module (MRCPv2 agent)
  52. * Do not generate media format list for a disabled audio stream.
  53. * Use snprintf() consistently in mrcp_sdp.c.
  54. * Implemented the log redirection routine of SofiaSIP.
  55. * Added an indentifier of the SofiaSIP agent to the log statement "Receive SIP Event".
  56. RTSP module (MRCPv1 agent)
  57. * Do not generate media format list for a disabled audio stream.
  58. Demo plugins
  59. * Respond with failure if codec descriptor is unavailable (associated media stream is disabled).
  60. UMC sample application
  61. * Terminate execution of sample application if media descriptor is unavailable (media stream is disabled).
  62. * Use the new NLSML parser interface in sample apps.
  63. * Set the header field Save-Waveform to TRUE in the sample umc recog application.
  64. * Fixed an invalid read of 8 bytes in umc application: sizeof(mpf_codec_capabilities_t) was meant to be allocated.
  65. ASR Client application (and library)
  66. * Get rid of 1Kb grammar file limit in libasrclient. Load the content into an allocated buffer instead.
  67. Miscellaneous
  68. * Copy the version and revision header files located in the build directory to the SDK include directory.
  69. * Added/fixed support for DESTDIR.
  70. * Take into consideration m4 macro files generated for/by libtool 2.
  71. * Set ac_macro_dir variable manually, since newer versions of autoconf don't do that.
  72. * Enable silent build rules (--enable-silent-rules)and use silent build by default.
  73. * Enhanced the report generated by the ./configure script.
  74. * Pass no-define to AM_INIT_AUTOMAKE in order not to define PACKAGE and VERSION.
  75. * Do not use autoconf generated compiler DEFS by replacing confdefs.h after AC_INIT, AM_INIT_AUTOMAKE and AC_PROG_LIBTOLL getting called.
  76. * Updated definition of the macro AX_COMPILER_VENDOR and moved it out from configure.ac to a separate m4 file.
  77. * Added missing dereferences of pointers to the (potential) terminal NUL of some strings. Thanks Vali.
  78. * Disabled DEFAULT_INCLUDES provided by automake.
  79. * Added generic apr_common.m4 in order to use helper m4 macros APR_ADDTO() and APR_CONFIG_NICE().
  80. * Generate ./config.nice to reuse ./configure command-line.
  81. * Added uni_plugin.m4 which provides generic macros UNI_PLUGIN_ENABLED(name) and UNI_PLUGIN_DISABLED(name).
  82. * Added common GNU make rules/vars for plugins, client and server libs/apps alike VS property sheets.
  83. * The macro UNIMRCP_CHECK_APR() now checks and sets variables for both APR and APR-util libraries.
  84. * Added a brief description of the license definition which is intended to be used for Windows resource files only.
  85. * Brought XML schema definitions of configuration file formats up to date.
  86. * Cppcheck: printf-like formats fix, possible NULL pointer dereference, member not initialized in the constructor,
  87. unused variable/value, method can be made static. Thanks Vali.
  88. * Define _WIN64 in Visual Studio x64 targets (for IDE only, the compiler defines _WIN64 anyway). Thanks Vali.
  89. * Fixed some GCC warnings. Thanks Vali.
  90. * Moved mrcp-flite and mrcp-pocketsphinx plugins out of the source tree into the external solutions directory.
  91. Changes for UniMRCP-1.1.0
  92. APR-toolkit library
  93. * The function apt_log_file_open() makes a copy of dir_path and file_name variables passed from a user application.
  94. * Applied a patch to the apt_log routine which allows the log file to be appended instead of being overwritten. The patch was submitted by Dani. Thanks.
  95. * Added a new parameter to the function apt_log_file_open() which specifies whether the log file should be appended or overwritten.
  96. * Fixed the formatting of float values in the header fields. Applied a patch submitted by Randy (Issue-108). Thanks.
  97. * Fixed apt_log_output_mode_check() which returned TRUE if any mode was enabled or checked regardless their correspondence. Thanks Vali.
  98. * Enhanced the debug output by adding task message identifier to the log statements "Signal Message" and "Process Message".
  99. * Fixed a potential crash related to the use of pollsets.
  100. * Fixed a potential buffer overflow in apt_text_pair_array_insert(). Thanks Vali.
  101. * Remove a socket descriptor from the pollset only if the descriptor has been properly added to the pollset. Otherwise, this operation could cause a crash.
  102. MPF library
  103. * Tweaked DTMF detector's energy thresholds to eliminate false positives during in-band (from audio) DTMF detection. Thanks Vali.
  104. * Took into consideration the RTP marker in order to re-sync the jitter buffer on a new talkspurt. Audio data loss could be experienced in the RTP receiver in case of consecutive SPEAK (for client) or RECOGNIZE (for server) requests.
  105. * Instead of discarding a non-aligned RTP packet, adjust the timestamp and write available frames to the jitter buffer (Issue-122).
  106. * Added support for the adaptive jitter buffer. Applied a reworked patch submitted by Erik. Thanks.
  107. * Enhanced the detection of a new RTP talkspurt by implicitly setting the RTP marker if a gap between two RTP packets is more than the specified threshold (INTER_TALSKPUSRT_GAP = 1000 msec).
  108. * Allow the initial playout delay in the jitter buffer to be set to 0.
  109. * Implemented a time skew detection algorithm for RTP streams. The detection can be enabled and used for both the adaptive and static jitter buffer.
  110. * Added support for redirection of RTP traces (RTP_TRACE, JB_TRACE) to the debug output window of Visual Studio.
  111. * Enhanced the processing of the RTP named events.
  112. RTSP library
  113. * Use strcasecmp() instead of apr_strnatcasecmp() to match RTSP resource names (Issue-94).
  114. * Fixed a crash in the RTSP client stack when the server closes a TCP connection while the associated RTSP session is being destroyed (Issue-124).
  115. * Fixed the processing of RTSP TEARDOWN requests being timed out. Applied a patch submitted to Issue-125 by Chris. Thanks.
  116. * For logging purposes, pass a string identifier of the RTSP/MRCPv1 signaling agent to the RTSP client and server stacks.
  117. MRCP common library
  118. * Added missing recognizer header fields used for voice enrollment (speaker-dependent recognition).
  119. * Added support for custom MRCP header fields.
  120. * Added support for speaker verification and identification resource.
  121. * Added missing recognizer methods used for voice enrollment and interpretation.
  122. * Updated the state machine of the recognizer resource to take into consideration requests, responses and events used for interpretation.
  123. * Enhanced helper functions which operate on the MRCP header to properly set, get and inherit header fields (Issue-110).
  124. MRCP client library
  125. * Added support for SIP redirection with 300 Multiple Choices used by the Nuance Resource Manager.
  126. * Added support for feature-tags set in the SIP Accept-Contact header field in an outgoing SIP INVITE message sent to the Nuance Resource Manager.
  127. * Added a new accessor function to the client API to get an audio stream associated with the specified channel. The function name is mrcp_application_audio_stream_get().
  128. * Added the ability to retrieve an external object associated with the MRCP session through the log handler (apt_log_ext_handler_f).
  129. * Fixed the processing of a response to the SIP OPTIONS request used for resource discovery (Issue-112).
  130. * Added a new constructor function unimrcp_client_create2() which allows to pass the client XML configuration not by a file, but rather by a string parameter. Thanks Vali.
  131. * Fixed the processing of more than one pending application requests upon reception of a SIP BYE message from the server.
  132. * Fixed the loading of the client configuration parameter <offer-new-connection>.
  133. * Respond to client user application requests with failure if a new session couldn't be created due to an error in initialization of the SIP stack (Issue-127).
  134. * When originating an offer from the client, take into account capabilities of an audio stream created by the client user application.
  135. * Added a new function to the client API to retrieve a SIP/RTSP response code received from the server (Issue-90). The support is incomplete.
  136. MRCP server library
  137. * Fixed an interoperability issue with AVP. The mid attribute is not required when the SDP contains only one m-line.
  138. * Fixed the build of C++ MRCP plugins for platforms other than Win32. Thanks Vali.
  139. * Added the ability to take and use parameters set by the plugin in a response to the GET-PARAMS request. Thanks Vali.
  140. Sofia-SIP module
  141. * Took out unused tags (variables) to compile with Sofia-SIP 1.12.11.
  142. * Added support for Sofia-SIP's TPTAG_LOG() and TPTAG_DUMP() tags which can be enabled from the client and server configuration to print out and/or dump SIP messages.
  143. PocketSphinx plugin
  144. * In the PocketSphinx plugin, instead of using one common timeout for detection of speech activity and inactivity, use two different timeouts: one for activity and the other for inactivity detection.
  145. * In the recognition results sent from the PocketSphinx plugin, set both <instance> and <input> elements.
  146. * Fixed a race condition in the PocketSphinx plugin which caused the server to crash.
  147. * Fixed the use of recognition timer in the PocketSphinx plugin.
  148. * Set an MRCP version specific completion cause in the PocketSphinx plugin.
  149. UniMRCP server application
  150. * Enhanced the UniMRCP Windows service manager. Thanks Vali.
  151. * Corrected FileType in Windows resources from DLL to APP. Thanks Vali.
  152. * Added a Windows resource file for the unimrcpservice application.
  153. UMC sample application
  154. * Set the default profile name in umcscenarios.xml to "uni2".
  155. * Added sample 8kHz and 16 kHz voiceprints in the data directory which are used by the umc application for a sample verification scenario.
  156. * Added mandatory attributes for the SSML <speak> element in the sample speak.xml file.
  157. * Added support for a binary recognition grammar used in RecogScenario by the sample umc application. Thanks Vali.
  158. * Added a sample SRGS ABNF grammar to the data directory.
  159. Miscellaneous
  160. * Added init.d script. The script was originally submitted by pdeschen. Thanks.
  161. * Modified the "prepare" utility project to use the new location of PthreadVC2.dll which is now built from source with other dependencies.
  162. * Added support for Visual Studio 2010.
  163. * Modified the MPF test application to read a raw PCM data from one file, transmit it over RTP, and write the data back to another file.
  164. * Set the libtool parameters link_all_deplibs and link_all_deplibs_CXX to "yes" by default, with an option to disable them (--disable-interlib-deps), if ever needed. This fixes a link error on recent Debian/Ubuntu distributions.
  165. * Modified the apr.m4 and apu.m4 macros to use '--link-ld' instead of '--link-libtool --libs' for the APR library dependencies. This addresses the problem with a wrong -L path to the expat library.
  166. * Set prerequisite version for autoconf to 2.59.
  167. * Added a checking for pkg-config to the configure script.
  168. * Added a new option (-v or --version) to the unimrcpserver as well as the sample umc and unimrcpclient applications.