Google SR Plugin 1.29.0 Released

83 views
Skip to first unread message

Arsen Chaloyan

unread,
Sep 21, 2023, 5:53:52 PM9/21/23
to UniMRCP, unimrcp-an...@googlegroups.com
Google Speech Recognition (GSR) Plugin 1.29.0 to the UniMRCP Server (UMS) has been released.

The plugin is based on the following components:

  • Google APIs 1.7.0
  • gRPC 1.30.3
  • Protobuf 3.12.2

The plugin supports the following Google Speech-to-Text API versions:

  • v1
  • v1p1beta1
  • v2

The plugin is available for the following UMS versions:

  • 1.7.0
  • 1.8.0

The binaries are currently available for the following Linux distributions:

  • Red Hat / CentOS 7
    • unimrcp-gsr-1.7.18-1.el7.x86_64.rpm
    • unimrcp-gsr-1.8.5-1.el7.x86_64.rpm
  • Red Hat / CentOS 8
    • unimrcp-gsr-1.7.18-1.el8.x86_64.rpm
    • unimrcp-gsr-1.8.5-1.el8.x86_64.rpm
  • Ubuntu 20.04 LTS
    • unimrcp-gsr_1.7.18-focal_amd64.deb
    • unimrcp-gsr_1.8.5-focal_amd64.deb
  • Ubuntu 22.04 LTS
    • unimrcp-gsr_1.7.18-jammy_amd64.deb
    • unimrcp-gsr_1.8.5-jammy_amd64.deb

This release introduces support for the Google Speech-to-Text v2 API. The support for the v1 and v1p1beta1 APIs remains intact.

The detailed list of changes introduced in this release follows.

New Features
  • Added support for the Google Speech-to-Text v2 API.
Fixed Problems
  • None.
Configuration Parameters
  • Added new attributes 'project-id', 'recognizer-id' and 'recognizer-name' to the element 'streaming-recognition'.
Miscellaneous
  • Updated the Usage Guide to reflect the changes introduced in this release.

Visit the GSR plugin page for more information.

Thank you for using UniMRCP.

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

Amit Patkar

unread,
Sep 27, 2023, 10:28:32 AM9/27/23
to UniMRCP
With Speech-To-Text API v2, getting recognition error. Recognizer is created in project

2023-09-27 19:47:12:870265 [DEBUG]  Process gRPC Event: name [writing] status [1] <e9b83deec8d341d6@gsr>
2023-09-27 19:47:12:993820 [DEBUG]  Process gRPC Event: name [reading] status [0] <e9b83deec8d341d6@gsr>
2023-09-27 19:47:12:993910 [INFO]   Received Response: status [0] type [SPEECH_EVENT_TYPE_UNSPECIFIED] result-count [0] <e9b83deec8d341d6@gsr>
{}
2023-09-27 19:47:12:993926 [DEBUG]  Stop Input <e9b83deec8d341d6@gsr>
2023-09-27 19:47:12:999877 [INFO]   Input Complete [stopped] size=7200 bytes, dur=570 ms <e9b83deec8d341d6@gsr>
2023-09-27 19:47:12:999910 [DEBUG]  Close Waveform File umsgsr-e9b83deec8d341d6-1.wav, content-length [7200]
2023-09-27 19:47:12:999962 [NOTICE] UTTM total file entries [165] timers [0]
2023-09-27 19:47:12:999964 [DEBUG]  Save RDR /opt/unimrcp/var/umsgsr-e9b83deec8d341d6-1.json
2023-09-27 19:47:13:000164 [DEBUG]  Finish Streaming <e9b83deec8d341d6@gsr>
2023-09-27 19:47:13:000183 [NOTICE] RDRM total file entries [153] timers [0]
2023-09-27 19:47:13:000261 [DEBUG]  Signal Message to [MRCP Server] [0x7f374c08f910;3;4]
2023-09-27 19:47:13:000287 [DEBUG]  Process gRPC Event: name [finishing] status [1] <e9b83deec8d341d6@gsr>
2023-09-27 19:47:13:000294 [DEBUG]  Process Message [MRCP Server] [0x7f374c08f910;3;4]
2023-09-27 19:47:13:000307 [WARN]   gRPC Status: Permission denied on resource project xxxx-xxxx. <e9b83deec8d341d6@gsr>
2023-09-27 19:47:13:000327 [INFO]   Process RECOGNITION-COMPLETE Event <e9b83deec8d341d6@speechrecog> [1]
2023-09-27 19:47:13:000364 [INFO]   State Transition RECOGNIZING -> RECOGNIZED <e9b83deec8d341d6@speechrecog>
2023-09-27 19:47:13:000371 [DEBUG]  Signal Message to [MRCPv2-Agent-1] [0x7f374c0386e0;1;0]
2023-09-27 19:47:13:000383 [DEBUG]  Wait for Messages [MRCP Server]
2023-09-27 19:47:13:000398 [DEBUG]  Process Poller Wakeup [MRCPv2-Agent-1]
2023-09-27 19:47:13:000403 [DEBUG]  Process Message [MRCPv2-Agent-1] [0x7f374c0386e0;1;0]
2023-09-27 19:47:13:000410 [INFO]   Send MRCPv2 Data 192.168.5.211:1544 <-> 192.168.5.167:34954 [236 bytes]
MRCP/2.0 236 RECOGNITION-COMPLETE 1 COMPLETE^M
Channel-Identifier: e9b83deec8d341d6@speechrecog^M
Completion-Cause: 006 recognizer-error^M
Waveform-Uri: <http://localhost/utterances/umsgsr-e9b83deec8d341d6-1.wav>;size=7200;duration=570^M

Arsen Chaloyan

unread,
Oct 20, 2023, 5:46:39 PM10/20/23
to uni...@googlegroups.com
It seems that you are trying to access a recognizer resource which was created with a different service account. You may need to either use the same service account or set up the IAM permissions accordingly.

--
You received this message because you are subscribed to the Google Groups "UniMRCP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unimrcp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/unimrcp/b7e28707-e170-46ef-b1ba-ae4d1bf6ad56n%40googlegroups.com.

Amit Patkar

unread,
Oct 23, 2023, 3:59:43 AM10/23/23
to UniMRCP
Issue is related to configuration
We had configured project-id, recognizer-name & recognizer-id parameters in umsgsr.xml file in streaming-recognition section.
recognizer-name & recognizer-id was causing some conflict. After setting recognizer-name parameter to blank, its working now.

There was no issue with project and resource mapping

Thanks for the help

Reply all
Reply to author
Forward
0 new messages