Powered by Universal Speech Solutions LLC

Menu
Announcements

UniMRCP 1.2.0 Released


UniMRCP 1.2.0 has been released and can be downloaded from the following location:

 
The recommended version of the dependencies package is available for download at:

 
This release provides a number of improvements in various integral components of UniMRCP. One of the major additions is the ability to better scale and withstand high load conditions. For more details, please see the following post:


The implementation of the SDP offer/answer model has been enhanced to properly handle the cases where capabilities of two endpoints do not match. Two potential crashes in the client and server libraries have been fixed. A new NLSML parser interface has been implemented. Debugging capabilities have been enriched.

The client application and plugin integration interfaces retain backward compatibility. Everybody is encouraged to upgrade. A more complete list of changes follows.

APR-toolkit library
  • 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.
  • Took out the legacy NLSML interface.
  • Fixed a gcc warning for strict-aliasing rules.
  • Implemented apt_pair_array_generate() in 2 passes, apr_pstrcatv() alike.
  • Prevent compilation warnings for unused-but-set-variable.
  • 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'.
  • 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.
  • Added apt_va_log() which accepts va_list as an input argument.
  • Set the default maximum number of log files used in rotation to 100.
  • Set thread names for APT tasks to be shown in debuggers. Thanks Vali.
  • Enable apt_timer logs only if APT_TIMER_DEBUG is defined.
  • Use a local temporary char buffer to construct the hostname in apt_ip_get() not to allocate memory from a permanent pool.
  • Unified pointer logging in APT style. Thanks Vali.
  • Define APT_PTR_FMT as 0x%I64x for 64-bit Windows.
  • Removed unused function apt_text_boolean_value_insert/apt_boolean_value_insert (inconsistent declaration/definition). Thanks Vali.
MPF library
  • The function mpf_codec_lists_intersect() now returns FALSE if there is no match for the primary codec descriptor.
  • Reject the RTP session if there is no match in remote and local codecs.
  • Use the reserved RTP payload type 19 in case codec list is empty (media stream is rejected).
  • If the codec list does not match the capabilities, mark the stream as disabled.
  • Do not set SO_REUSEADDR on RTP sockets.
  • Made G.711 implementation bit-exact with ITU-T reference implementation. 
  • Use APR typedefs in G.711 implementation.
  • Improved the RTP port management for those cases when the specified RTP port range is not enough to handle concurrent MRCP sessions.
  • Check the number of ports per engine to be even to ensure there is a room for a pair of RTP/RTCP ports.
  • Added debugging capabilities to mpf_frame_buffer.
  • Copy name string when adding to codec capabilities. Thanks Vali.
MRCP common library
  • Use apr_snprintf() instead of sprintf() in mrcp_request_id_generate().
  • 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.
MRCP client library
  • Completed the implementation of the new API function to retrieve a SIP/RTSP response code received from the server (Issue-90).
  • 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.
  • Allow a pool/factory of signaling agents to be defined with the MRCPv1 and/or MRCPv2 profiles.
  • Respond straight away with success to the session termination request if the session creation failed in the first place.
  • Keep track of associations between RTP termination factories (pools of RTP ports) and media engines.
  • Allow a pool/factory of media processing engines to be defined with the MRCPv1 and/or MRCPv2 profiles.
  • Allow a pool/factory of MRCPv2 connection agents to be defined with the MRCPv2 profiles.
  • Added the ability to specify an IP address by the name of network interface/adapter.
  • Added a new accessor function to the client API mrcp_client_profiles_get() which retrieves the available profiles.
  • Store the profile name not only as a key in the profile table but also in the profile structure.
  • Allow setting an arbitrary tag to the profile.
MRCP server library
  • 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.
  • Fixed a crash if MRCP resource not found. Thanks Vali.
  • Keep track of associations between RTP termination factories (pools of RTP ports) and media engines.
  • Added the ability to specify an IP address by the name of network interface/adapter.
  • Log maximum engine channel count exceeded. Thanks Vali.
Sofia-SIP module (MRCPv2 agent)
  • Do not generate media format list for a disabled audio stream.
  • Use snprintf() consistently in mrcp_sdp.c.
  • Implemented the log redirection routine of SofiaSIP.
  • Added an identifier of the SofiaSIP agent to the log statement "Receive SIP Event".
RTSP module (MRCPv1 agent)
  • Do not generate media format list for a disabled audio stream.
Demo plugins
  • Respond with failure if codec descriptor is unavailable (associated media stream is disabled).
UMC sample application
  • Terminate execution of sample application if media descriptor is unavailable (media stream is disabled).
  • Use the new NLSML parser interface in sample apps.
  • Set the header field Save-Waveform to TRUE in the sample umc recog application.
  • Fixed an invalid read of 8 bytes in umc application: sizeof(mpf_codec_capabilities_t) was meant to be allocated.
ASR Client application (and library)
  • Get rid of 1Kb grammar file limit in libasrclient. Load the content into an allocated buffer instead.
Miscellaneous
  • Copy the version and revision header files located in the build directory to the SDK include directory.
  • Added/fixed support for DESTDIR.
  • Take into consideration m4 macro files generated for/by libtool 2. 
  • Set ac_macro_dir variable manually, since newer versions of autoconf don't do that.
  • Enable silent build rules (--enable-silent-rules)and use silent build by default.
  • Enhanced the report generated by the ./configure script.
  • Pass no-define to AM_INIT_AUTOMAKE in order not to define PACKAGE and VERSION.
  • Do not use autoconf generated compiler DEFS by replacing confdefs.h after AC_INIT, AM_INIT_AUTOMAKE and AC_PROG_LIBTOLL getting called.
  • Updated definition of the macro AX_COMPILER_VENDOR and moved it out from configure.ac to a separate m4 file.
  • Added missing dereferences of pointers to the (potential) terminal NUL of some strings. Thanks Vali.
  • Disabled DEFAULT_INCLUDES provided by automake.
  • Added generic apr_common.m4 in order to use helper m4 macros APR_ADDTO() and APR_CONFIG_NICE().
  • Generate ./config.nice to reuse ./configure command-line.
  • Added uni_plugin.m4 which provides generic macros UNI_PLUGIN_ENABLED(name) and UNI_PLUGIN_DISABLED(name).
  • Added common GNU make rules/vars for plugins, client and server libs/apps alike VS property sheets.
  • The macro UNIMRCP_CHECK_APR() now checks and sets variables for both APR and APR-util libraries.
  • Added a brief description of the license definition which is intended to be used for Windows resource files only.
  • Brought XML schema definitions of configuration file formats up to date.
  • Cppcheck: printf-like formats fix, possible NULL pointer dereference, member not initialized in the constructor, unused variable/value, method can be made static. Thanks Vali.
  • Define _WIN64 in Visual Studio x64 targets (for IDE only, the compiler defines _WIN64 anyway). Thanks Vali.
  • Fixed some GCC warnings. Thanks Vali.
  • Moved mrcp-flite and mrcp-pocketsphinx plugins out of the source tree into the external solutions directory.

Thanks for using UniMRCP.


--
Arsen Chaloyan
Author of UniMRCP
http://www.unimrcp.org

Announcement Group

Subscribe to the Announcements Group if you prefer to receive news and press releases only. Please note that announcements are normally posted to the Discussion Group as well.