AaronZhangL / unimrcp

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

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

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.

Original issue reported on code.google.com by amasse.a...@gmail.com on 15 Oct 2009 at 12:45

GoogleCodeExporter commented 9 years ago
Strange, it worked before...
I'll have closer look a bit later.

Original comment by achalo...@gmail.com on 15 Oct 2009 at 3:19

GoogleCodeExporter commented 9 years ago
Thanks, Anthony.

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

Original comment by achalo...@gmail.com on 16 Oct 2009 at 3:07

GoogleCodeExporter commented 9 years ago
Have you verified the fix?

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