org.mobicents.media.server.impl.rtcp
Class RtcpCommonHeader

java.lang.Object
  extended by org.mobicents.media.server.impl.rtcp.RtcpCommonHeader
Direct Known Subclasses:
RtcpAppDefined, RtcpBye, RtcpReceptionReport, RtcpSdes, RtcpSenderReport

public abstract class RtcpCommonHeader
extends java.lang.Object

Author:
amit bhayani

Field Summary
protected  int count
           
protected  int length
           
protected  boolean padding
           
protected  int pt
           
static int RTCP_APP
           
static int RTCP_BYE
           
static int RTCP_RR
           
static int RTCP_SDES
           
static int RTCP_SR
           
protected  int version
          Common Header
 
Constructor Summary
protected RtcpCommonHeader()
           
  RtcpCommonHeader(boolean padding, int pt)
           
 
Method Summary
protected  int decode(byte[] rawData, int offSet)
           
protected  int encode(byte[] rawData, int offSet)
           
 int getCount()
           
 int getLength()
           
 int getPt()
           
 int getVersion()
           
 boolean isPadding()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RTCP_SR

public static final int RTCP_SR
See Also:
Constant Field Values

RTCP_RR

public static final int RTCP_RR
See Also:
Constant Field Values

RTCP_SDES

public static final int RTCP_SDES
See Also:
Constant Field Values

RTCP_BYE

public static final int RTCP_BYE
See Also:
Constant Field Values

RTCP_APP

public static final int RTCP_APP
See Also:
Constant Field Values

version

protected int version
Common Header


padding

protected boolean padding

count

protected int count

pt

protected int pt

length

protected int length
Constructor Detail

RtcpCommonHeader

protected RtcpCommonHeader()

RtcpCommonHeader

public RtcpCommonHeader(boolean padding,
                        int pt)
Method Detail

decode

protected int decode(byte[] rawData,
                     int offSet)

encode

protected int encode(byte[] rawData,
                     int offSet)

getVersion

public int getVersion()

isPadding

public boolean isPadding()

getCount

public int getCount()

getPt

public int getPt()

getLength

public int getLength()


Copyright © 2010. All Rights Reserved.