New question #181462 on rohc:
https://answers.launchpad.net/rohc/+question/181462
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->curval -= decomp->okval; /* context
(NACK) */
4 rohc_debugf(2, "feedback curr %d\n",
ddata.active->curval);
5 if(decomp->curval < 0)
6 decomp->curval = 0;
7
8 if(ddata.active->curval < 0)
9 ddata.active->curval = 0;
10
11 rohc_debugf(2, "feedback curr %d\n",
ddata.active->curval);
12 if(decomp->compressor != NULL && ddata.active->mode ==
U_MODE)
13 {
14 /* switch active context to O-mode */
15 ddata.active->mode = O_MODE;
16 d_operation_mode_feedback(decomp, ROHC_OK,
ddata.cid, ddata.addcidUsed,
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
--
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.
_______________________________________________
Mailing list: https://launchpad.net/~rohc
Post to : [email protected]
Unsubscribe : https://launchpad.net/~rohc
More help : https://help.launchpad.net/ListHelp