Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The RECOGNIZE message must only inherit the no redefined SET-PARAMS headers #47

Closed
achaloyan opened this issue Jul 10, 2015 · 3 comments

Comments

@achaloyan
Copy link
Contributor

Originally reported on Google Code with ID 47


C->S :
        SET-PARAMS 1 MRCP/1.0
        N-Best-List-Length: 3

S->C : 
        MRCP/1.0 1 200 COMPLETE

C->S : 

        RECOGNIZE 2 MRCP/1.0
        N-Best-List-Length: 6
        Content-Id: grammar_0
        Content-Type: text/uri-list
        Content-Length: 13

        grammar.grxml


=> In this case, the following code :

if(mrcp_resource_header_property_check(request,RECOGNIZER_HEADER_N_BEST_LIS
T_LENGTH) == TRUE) {
    nbest = recog_header->n_best_list_length);
}

must return 6 BUT today it returs 3.

Reported by amasse.atwork on 2009-10-15 12:45:50

@achaloyan
Copy link
Contributor Author

Strange, it worked before...
I'll have closer look a bit later.

Reported by achaloyan on 2009-10-15 15:19:56

  • Labels added: Type-Defect, Priority-Medium, OpSys-All, Component-Server, Component-Plugin

@achaloyan
Copy link
Contributor Author

Thanks, Anthony.

This routine indeed has been broken since r846, but now is fixed in r1184.

Reported by achaloyan on 2009-10-16 15:07:32

  • Status changed: Fixed
  • Labels added: Milestone-Release-0.8

@achaloyan
Copy link
Contributor Author

Have you verified the fix?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant