Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 118 by [email protected]: Negative RTP Sequence numbers
http://code.google.com/p/mediaserver/issues/detail?id=118

What steps will reproduce the problem?
1. Since the RTP Sequence number is a randomly generated unsigned short you'll have to make a few calls to get this to show up

What is the expected output? What do you see instead?

Since Java can't represent unsigned shorts the method is returning an INT but needs to mask off the first 16 bits

What version of the product are you using? On what operating system?
2.X and 3.X

Please provide any additional information below.

changing RtpPacket.java  getSeqNumber() to the following fixes the issue:


  public int getSeqNumber() {
        return buffer.getShort(2) & 0xFFFF;
    }



--

--- You received this message because you are subscribed to the Google Groups "mobicents-all-issues-changes" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to