← 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: Solved => Open

Wei Wang is still having a problem:
Hi Didier,

I got another problem in real communication. Now I'm applying
comp/decomp on a pair of devices that communicate with each other over
the air. To be simple, let's say, device A and device B. The
decompressed packet size of the first received packet is -1. I checked
the reason is that the return size of function d_decode_header(...)  is
-1.

		if(profile == NULL)
		{
			rohc_debugf(0, "failed to find profile identified by 0x%04x\n",
			            profile_id);
			return ROHC_ERROR_NO_CONTEXT;
		}

The difference between the example and this real application is the
definition of compressor and decompressor. Here is how decompressor is
defined on the receiver(RX) side:

            decompressor = rohc_alloc_decompressor(compressor);

It depends on the compressor. However, this compressor should be the one
that is defined on the transmitter(TX) side. Looks like the RX needs the
compressor data from TX. I think some info like profile should be synced
up between two sides. Am I right?

Thanks.

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