about "code_UO_packet_tail"

Asked by qingbaibai

hello,

I don't know what the function of "UO_packer_tail" is. We send UO packet instead of the full compressed RTP packet. Is the "UO_packet_tail" used to refresh the context?

Question information

Language:
English Edit question
Status:
Solved
For:
rohc Edit question
Assignee:
No assignee Edit question
Solved by:
Didier Barvaux
Solved:
Last query:
Last reply:
Revision history for this message
Best Didier Barvaux (didier-barvaux) said :
#1

Hello,

The code_UO_packet_tail() function builds the tail of the UO-0, UO-1 and UOR-2 packets as defined in RFC 3095. The UO* packets share several fields in common at their very end. The code_UO_packet_tail() function builds these fields.

The code_UO_packet_tail() function is fully described there (the fields it builds are described there too):
  http://rohc-lib.org/doc/rohc-doc-trunk-latest/c__generic_8c.html#a765b90cc11d9b4ca197bb2a9a99eeefa

The code_UO_packet_tail() function is called by the functions that builds the UO-0, UO-1 and UOR-2 packets:
 - code_UO0_packet(): http://rohc-lib.org/doc/rohc-doc-trunk-latest/c__generic_8c.html#abe107e1241b979edf600a80f8d08be5a
 - code_UO1_packet(): http://rohc-lib.org/doc/rohc-doc-trunk-latest/c__generic_8c.html#ad62cac140beb1066eb0c84eb11ce0751
 - code_UO2_packet(): http://rohc-lib.org/doc/rohc-doc-trunk-latest/c__generic_8c.html#af0f0e82ad7d5359772be02cc45144056

Regards,
Didier

Revision history for this message
qingbaibai (sunqing-cztz) said :
#2

Thanks Didier Barvaux, that solved my question.