about feedback curr
hello,
I test file pcap of voip in samples. I get results of "feedback curr -12" and "feedback curr 0". I don't read the rohc library source code in detail. Follow is the related source code in rohc_decomp.c:
1 default: /* ROHC_OK_NO_DATA, ROHC_OK */
2 decomp->curval -= decomp->okval; /* framework (S-NACK) */
3 ddata.active-
4 rohc_debugf(2, "feedback curr %d\n", ddata.active-
5 if(decomp->curval < 0)
6 decomp->curval = 0;
7
8 if(ddata.
9 ddata.active-
10
11 rohc_debugf(2, "feedback curr %d\n", ddata.active-
12 if(decomp-
13 {
14 /* switch active context to O-mode */
15 ddata.active->mode = O_MODE;
16 d_operation_
17 ddata.largecidUsed, ddata.active->mode,
18 ddata.active);
19 }
"feedback curr -12" corresponding to line 4
"feedback curr 0" corresponding to line 11
Thank you.
Regards,
qingbaibai
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- rohc Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask qingbaibai for more information if necessary.