rohc team mailing list archive
-
rohc team
-
Mailing list archive
-
Message #01804
A question about feedback in ROHC
Hi all.
I am using ROHC for building a multiplexing+header compression protocol
(https://github.com/TCM-TF/simplemux/tree/develop).
I have been able to run ROHC without problems in Unidirectional mode.
However, I have some questions regarding Bidirectional Optimistic mode.
I decompress this way:
status = rohc_decompress3 (decompressor, rohc_packet_d, &ip_packet_d,
&rcvd_feedback, &feedback_send);
And then I check if feedback_send is not empty. If so, I send it inside a
UDP packet to the remote compressor. When it arrives, I take it and deliver
it to the compressor using
rohc_comp_deliver_feedback2 ( compressor, rohc_packet_d )
I obtain these messages, so it seems that the feedback is working:
[rohc_comp.c:3954 rohc_comp_deliver_feedback2()] deliver 7 byte(s) of
feedback to the right context
[rohc_comp.c:3982 rohc_comp_deliver_feedback2()] feedback found (header = 1
bytes, data = 6 bytes)
[rohc_comp.c:3782 __rohc_comp_deliver_feedback()] deliver 6 byte(s) of
feedback to the right context
[rohc_comp.c:3819 __rohc_comp_deliver_feedback()] feedback CID = 0
[rohc_comp.c:3823 __rohc_comp_deliver_feedback()] feedback size = 5
[c_generic.c:975 c_generic_feedback()] FEEDBACK-2 received
[c_generic.c:1157 c_generic_feedback_2()] STATIC-NACK received for CID 0
[rohc_comp.c:3869 __rohc_comp_deliver_feedback()] FEEDBACK-2 data
successfully handled
These are my questions:
¿Is it correct to send the feedback in a dedicated UDP packet?
¿What is the objective of rcvd_feedback? I mean, if I send the feedback
information in separate packets, I can identify it as feedback.
¿Is it better to piggyback the feedback in compressed packets?
Thanks in advance!
Jose Saldana
University of Zaragoza
Follow ups