← Back to team overview

rohc team mailing list archive

Re: [Question #229419]: What protocol number should be for RTP header compression

 

Question #229419 on rohc changed:
https://answers.launchpad.net/rohc/+question/229419

    Status: Answered => Open

Wei Wang is still having a problem:
Hi Didier,

So far, there is no problem on compressor. But, I still haven't got good
result from decompressor yet. See the log, please. My data length is 48,
plus 40 bytes of IP/UDP/RTP headers, total packet length is 88 bytes.

The compressed lengths from the compressor are: 86, 89, 89, 89, 53, 53,
53, 53, 53, ...

On the decompressor side, the first 4 packets are decompressed
successfully. However, since the 5th packet, the decompress failed. The
fifth and later packets should not be IR packets. But how come the
rohc_decompress() returns ROHC_ERROR_CRC(-4) and  ROHC_ERROR (-5)? Since
the 8th packet on, the decompress returned ROHC_ERROR(-5) all the time.
Your comment on level #30 says UDP port may be the reason why
decompressor failed. It shouldn't apply here.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
OnPakcetReceived(): received packet length is 53
packet# 5
rohc_decomp.c: rohc_decompress(): decompress the 53-byte packet #5
I rohc_decomp.c: d_decode_header(): line607
I rohc_decomp.c: d_decode_header(): line741, ROHC packet is not a IR packet
I rohc_decomp.c: rohc_decompress(): line426: ret = -4
I rohc_decomp.c: rohc_decompress(): 435: ret = -4
I rohc_decomp.c: rohc_decompress(): line438, 9
I rohc_decomp.c: rohc_decompress(): state in decompressor = 3
rohc_decomp.c: rohc_decompress(): line444: ret = -4
decompression of fake IP packet failed, decomp packet length = -4


OnPakcetReceived(): received packet length is 53
packet# 6
rohc_decomp.c: rohc_decompress(): decompress the 53-byte packet #6
rohc_decomp.c: d_decode_header(): line741, ROHC packet is not a IR packet
rohc_decomp.c: rohc_decompress(): line426: ret = -4
rohc_decomp.c: rohc_decompress(): 435: ret = -4
rohc_decomp.c: rohc_decompress(): line438, 11
rohc_decomp.c: rohc_decompress(): state in decompressor = 3
rohc_decomp.c: rohc_decompress(): line444: ret = -4
decompression of fake IP packet failed, decomp packet length = -4


OnPakcetReceived(): received packet length is 53
packet# 8
rohc_decomp.c: rohc_decompress(): decompress the 53-byte packet #8
rohc_decomp.c: d_decode_header(): line741, ROHC packet is not a IR packet
rohc_decomp.c: rohc_decompress(): line426: ret = -5
rohc_decomp.c: rohc_decompress(): 435: ret = -5
rohc_decomp.c: rohc_decompress(): line438, 15
rohc_decomp.c: rohc_decompress(): state in decompressor = 2
rohc_decomp.c: rohc_decompress(): line444: ret = -5

-- 
You received this question notification because you are a member of ROHC
Team, which is an answer contact for rohc.