← Back to team overview

rohc team mailing list archive

ROHC context issue unidirectional

 

Hi Didier,
 
I have some issue when reusing the compressor in unidirectional RTP traffic, I am not totally sure how to use the rohc_comp_force_contexts_reinit function and when do I need to use it, but I believe my problem is that I am not applying the feedback back from decompressor, just want to check with you and see if you can give me some comments about the correct way to use the feedback and the context re-initialization on this unidirectional traffic scheme.
 
Below is the error I am getting. I will really appreciate your comments,
 
Many thanks in advance,
 
{"asctime": "2021-04-20 16:01:57,552", "name": "VoIpDecompressor-10:5", "levelname": "ERROR", "processName": "VoIpDecompressor-10:5", "pathname": "./sources/beluga_router.py", "lineno": 1025, "message": "/*\\/*\\/*\\/*\\ Failed to decompress packet: malformed packet (2)"}
{"asctime": "2021-04-20 16:01:57,554", "name": "VoIpDecompressor-10:5", "levelname": "DEBUG", "processName": "VoIpDecompressor-10:5", "pathname": "./sources/beluga_router.py", "lineno": 1026, "message": "failed packet = b'\\x9eV\\x13\\n\\xff\\xae\\x90\\x0e\\xa8oV\\x12\\xb5\\xf0g\\xab\\xbd\\x02z\\xa9\\x08Wi\\xfe'"}
comp_feedback_nack()] do not perform a downward state transition
[DEBUG] [rohc_decomp.c:763 rohc_decompress3()] decompress the 24-byte packet #758
[DEBUG] [rohc_decomp.c:3785 rohc_decomp_parse_padding()] skip 0 byte(s) of padding
[DEBUG] [rohc_decomp.c:1010 d_decode_header()] decompressor received 0 bytes of feedback for the same-side associated compressor
[DEBUG] [rohc_decomp.c:3713 rohc_decomp_decode_cid()] no add-CID found, CID defaults to 0
[DEBUG] [rohc_decomp.c:3911 rohc_decomp_find_context()] context with CID 0 found
[DEBUG] [rohc_decomp.c:1155 d_decode_header()] decode packet with profile 'IP/UDP/RTP' (0x0001)
[DEBUG] [rohc_decomp.c:1168 d_decode_header()] 6 bits required for SN in feedback (6 bits required for RTT, 16 max)
[DEBUG] [d_rtp.c:429 rtp_choose_uo1_variant()] UO-1* packet disambiguation: at least one IP header is IPv4 with context(RND) = 0, so parse as UO-1-ID or UO-1-TS
[DEBUG] [d_rtp.c:443 rtp_choose_uo1_variant()] UO-1* packet disambiguation: T = 0, so parse as UO-1-ID
[DEBUG] [rohc_decomp.c:1187 d_decode_header()] decode packet as 'RTP/UO-1-ID'
[WARNING] [rohc_decomp.c:1198 d_decode_header()] CID 0: packet 'RTP/UO-1-ID' (4) does not carry static information, it cannot be received in No Context state
[DEBUG] [rohc_decomp.c:786 rohc_decompress3()] stay in U-mode as requested by user
[WARNING] [rohc_decomp.c:875 rohc_decompress3()] packet decompression failed: malformed packet (2)
[DEBUG] [rohc_decomp.c:2043 rohc_decomp_feedback_nack()] CID 0: U-mode: No Context state: RTP/UO-1-ID packet received
[DEBUG] [rohc_decomp.c:2184 rohc_decomp_feedback_nack()] rate-limiting successive feedbacks (100 of 3200 with threshold 64)
[DEBUG] [rohc_decomp.c:2216 rohc_decomp_feedback_nack()] do not send a negative ACK
[DEBUG] [rohc_decomp.c:2311 rohc_decomp_feedback_nack()] do not perform a downward state transition
[DEBUG] [rohc_decomp.c:763 rohc_decompress3()] decompress the 24-byte packet #759
[DEBUG] [rohc_decomp.c:3785 rohc_decomp_parse_padding()] skip 0 byte(s) of padding
[DEBUG] [rohc_decomp.c:1010 d_decode_header()] decompressor received 0 bytes of feedback for the same-side associated compressor
[DEBUG] [rohc_decomp.c:3713 rohc_decomp_decode_cid()] no add-CID found, CID defaults to 0
[DEBUG] [rohc_decomp.c:3911 rohc_decomp_find_context()] context with CID 0 found
[DEBUG] [rohc_decomp.c:1155 d_decode_header()] decode packet with profile 'IP/UDP/RTP' (0x0001)
[DEBUG] [rohc_decomp.c:1168 d_decode_header()] 6 bits required for SN in feedback (6 bits required for RTT, 16 max)
[DEBUG] [d_rtp.c:429 rtp_choose_uo1_variant()] UO-1* packet disambiguation: at least one IP header is IPv4 with context(RND) = 0, so parse as UO-1-ID or UO-1-TS
[DEBUG] [d_rtp.c:443 rtp_choose_uo1_variant()] UO-1* packet disambiguation: T = 0, so parse as UO-1-ID
[DEBUG] [rohc_decomp.c:1187 d_decode_header()] decode packet as 'RTP/UO-1-ID'
[WARNING] [rohc_decomp.c:1198 d_decode_header()] CID 0: packet 'RTP/UO-1-ID' (4) does not carry static information, it cannot be received in No Context state
[DEBUG] [rohc_decomp.c:786 rohc_decompress3()] stay in U-mode as requested by user
[WARNING] [rohc_decomp.c:875 rohc_decompress3()] packet decompression failed: malformed packet (2)
[DEBUG] [rohc_decomp.c:2043 rohc_decomp_feedback_nack()] CID 0: U-mode: No Context state: RTP/UO-1-ID packet received
[DEBUG] [rohc_decomp.c:2184 rohc_decomp_feedback_nack()] rate-limiting successive feedbacks (100 of 3200 with threshold 64)
[DEBUG] [rohc_decomp.c:2216 rohc_decomp_feedback_nack()] do not send a negative ACK
[DEBUG] [rohc_decomp.c:2311 rohc_decomp_feedback_nack()] do not perform a downward state transition
[DEBUG] [rohc_decomp.c:763 rohc_decompress3()] decompress the 24-byte packet #760
[DEBUG] [rohc_decomp.c:3785 rohc_decomp_parse_padding()] skip 0 byte(s) of padding
[DEBUG] [rohc_decomp.c:1010 d_decode_header()] decompressor received 0 bytes of feedback for the same-side associated compressor
[DEBUG] [rohc_decomp.c:3713 rohc_decomp_decode_cid()] no add-CID found, CID defaults to 0