Code Monkey home page Code Monkey logo

Comments (7)

achaloyan avatar achaloyan commented on September 13, 2024
Hi Vali,

I agree, that size_t is not an appropriate define for request identifier. It'd would
be reasonable to define it as apr_uint32_t (32 bit unsigned integer), as MRCPv2
states. From other side, this still will not work with some MRCPv1 clients. Honestly
I can't understand why 32 bit should not be enough for an identifier, which is scoped
to the MRCP session.
Is there any way to shorten, limit that value from VE config?

Reported by achaloyan on 2009-10-16 12:57:22

from unimrcp.

achaloyan avatar achaloyan commented on September 13, 2024
Hi Arsen,

unfortunately it is not possible. VE generates request-ids as usual, i.e. starting
from zero and increasing, with one exception -- the SPEAK requests. Their id is a
kind of hash of what is to be spoken, I guess. Unfortunately the hash is not only
32bit integer, which is not forbidden by MRCPv1 spec in fact. But it is silly, I agree.

Vali

PS. To answer your question from Issue-46. I think VoiceEnabler is not a part of
WebSphere package, but I could not google it anywhere. Maybe it is a nickname our
colleagues use (we do not have VE ourselves, we use another company's one), I will
ask about that.

Reported by [email protected] on 2009-10-16 13:35:14

from unimrcp.

achaloyan avatar achaloyan commented on September 13, 2024

Reported by achaloyan on 2009-10-18 13:35:20

  • Status changed: Accepted
  • Labels added: Type-Defect, Priority-Medium, OpSys-All, Component-Server

from unimrcp.

achaloyan avatar achaloyan commented on September 13, 2024
Hi Arsen,
I can see that change of request id uint32 -> uint64 breaks compatibility, i.e.
server compiled with #define TOO_LONG_MRCP_REQUEST_ID can uderstand plugins compiled
the same and vice versa. Anyway, thanks for effort.
Vali

PS. About VE being part of WebSphere -- sorry, I was blind. See the line from log:
user-agent: WebSphere-VoiceEnabler 5.1.3

Reported by [email protected] on 2009-10-20 09:19:06

from unimrcp.

achaloyan avatar achaloyan commented on September 13, 2024
Hi Vali,

Sorry, I was a bit tired yesterday and just forgot to add a comment here.
I see you have already caught it!

I decided to support "too long" request identifiers at compile time for now. So you
should define TOO_LONG_MRCP_REQUEST_ID for that. Yes, plugins and server must be
compiled the same way. Hopefully it works for you.

P.S.
I suspected that VE should be included in WebSphere. A while ago someone from IBM had
contributed WebSphere MRCP package to the project, but I couldn't find VE there.
Anyway, thanks for the info.

Reported by achaloyan on 2009-10-20 11:52:31

  • Status changed: Fixed

from unimrcp.

achaloyan avatar achaloyan commented on September 13, 2024
Thanks for the hot-fix, it works.

Reported by [email protected] on 2009-10-21 15:15:19

from unimrcp.

achaloyan avatar achaloyan commented on September 13, 2024

Reported by achaloyan on 2010-01-09 18:45:48

  • Status changed: Verified

from unimrcp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.