← 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

Wei Wang gave more information on the question:
Hi Didier,

I found the reason that RTP profile was skipped because the port 1286 is
not in the list of reserved ports for RTP. Looks like there is no a
rigid definitions of assigned port numbers in RFC3095. So I added this
number in the rtp port list. The result is not expected. Headers are not
compressed at all. Can you please look at the log below and see what
happened?

05-23 11:37:13.340 20184 20337 I ip.c    : ip_get_totlen(): IPV4 header len = 56 bytes)
05-23 11:37:13.340 20184 20337 I rohc_comp.c: rohc_compress(): size of uncompressed packet = 56 bytes, 0
05-23 11:37:13.340 20184 20337 I rohc_comp.c: rohc_compress(): line394: proto = 17
05-23 11:37:13.340 20184 20337 I rohc_comp.c: rohc_compress(): try to find the best profile for packet with transport protocol 17, 0
05-23 11:37:13.340 20184 20337 I rohc_comp.c: c_get_profile_from_packet(): comp->profiles[0] = 1
05-23 11:37:13.340 20184 20337 I ip.c    : ip_is_fragment(): is_fragment = 0, 0, 0
05-23 11:37:13.340 20184 20337 I rohc_comp.c: c_get_profile_from_packet(): UDP port = 1286
05-23 11:37:13.340 20184 20337 I rohc_comp.c: c_get_profile_from_packet(): returns 0x01
05-23 11:37:13.340 20184 20337 I rohc_comp.c: rohc_compress(): using profile 'RTP / Compressor' (0x0001)
05-23 11:37:13.340 20184 20337 I rohc_comp.c: rohc_compress(): compress the packet #538, esize = 40
05-23 11:37:13.340 20184 20337 I ip.c    : ip_get_totlen(): IPV4 header len = 56 bytes)
05-23 11:37:13.340 20184 20337 I rohc_comp.c: rohc_compress(): ROHC size = 56 (feedback = 0, header = 40, payload = 16), output buffer size = 2048

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