calejost / unimrcp

Automatically exported from code.google.com/p/unimrcp
Apache License 2.0
0 stars 0 forks source link

Shraing RTSP session among resources #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi Arsen,

while testing UniMRCP server with IBM VoiceEnabler, we found a bug that
causes VE to crash. The scenario looks as follows:

SETUP rtsp://10.6.6.2/media/speechrecognizer RTSP/1.0
cseq: 0
user-agent: WebSphere-VoiceEnabler 5.1.3
transport: ...
...

RTSP/1.0 200 OK
CSeq: 0
Session: 32d66bf00c15ea4a
...

then some recognizer requests:
DEFINE-GRAMMAR
DEFINE-GRAMMAR
DEFINE-GRAMMAR

And now the key point (notice the session header):
SETUP rtsp://10.6.6.2/media/speechsynthesizer RTSP/1.0
cseq: 5
user-agent: WebSphere-VoiceEnabler 5.1.3
session: 32d66bf00c15ea4a
transport: ...
...

RTSP/1.0 200 OK
CSeq: 5
Session: 32d66bf00c15ea4a
...

then
ANNOUNCE recognizer with DEFINE-GRAMMAR
ANNOUNCE synthesizer with SPEAK (Cseq: 7)

and bug:
ANNOUNCE rtsp://10.6.6.2/media/speechrecognizer RTSP/1.0
CSeq: 7
Session: 32d66bf00c15ea4a
Content-Type: application/mrcp
Content-Length: 77

SPEAK-COMPLETE 2147483647 COMPLETE MRCP/1.0
Completion-Cause: 000 normal

Notice that speechrecognizer instead of speechsynthesizer is annouced.

I attached full log file. It is rather large. From the beginning there is
successful communication with GVP and at the end there is that with VE.

Cheers
- Vali

Original issue reported on code.google.com by tomas.valenta@speechtech.cz on 8 Oct 2009 at 12:24

Attachments:

GoogleCodeExporter commented 8 years ago
Hi Vali,

Client stack does support multiple resources in the scope of the same session 
for
both MRCPv1 and MRCPv2. I assumed, that server stack either. However, it's 
turned
out, this scenario couldn't work before in case of v1, but still works for v2.

Thanks for the issue report. Must be fixed.

Original comment by achalo...@gmail.com on 9 Oct 2009 at 7:41

GoogleCodeExporter commented 8 years ago
Hi Vali,

This issue should be fixed in r1180.
Please re-test with GVP.

Original comment by achalo...@gmail.com on 13 Oct 2009 at 6:41

GoogleCodeExporter commented 8 years ago
Hi Arsen,

thanks for the patch. It works with umc so it should work with GVP as well. I 
will
let you know how it works with VE. But please be patient because setting up a VE
testing session takes us some time because we do not have VE client ourselves, 
it is
located on a different place. I will let you know asap.

- Vali

Original comment by tomas.valenta@speechtech.cz on 14 Oct 2009 at 1:02

GoogleCodeExporter commented 8 years ago
Hi Vali,
Thanks for the update.

Actually, it should work with all of them. Hopefully I've not introduced new 
bugs as
I had very limited time to test all the scenarios involved, but so far 
everything
works as intended.
Take your time and test whenever possible. Thanks again for your assistance.

BTW, do you know whether IBM VoiceEnabler is included in IBM WebSphere package?

Original comment by achalo...@gmail.com on 14 Oct 2009 at 1:33

GoogleCodeExporter commented 8 years ago
Hi Arsen,
fixed successfully, works fine.
Vali

Original comment by tomas.valenta@speechtech.cz on 16 Oct 2009 at 10:59

GoogleCodeExporter commented 8 years ago

Original comment by achalo...@gmail.com on 9 Jan 2010 at 6:43