javax.sdp
Interface SdpConstants


public interface SdpConstants

The SdpConstants class contains the RTP/AVP related constants. Please refer to IETF RFC 2327 for a description of SDP.

Version:
1.0
Author:
deruelle

Field Summary
static int AVP_DEFINED_STATIC_MAX
          Highest defined static payload type.
static int AVP_DYNAMIC_MIN
          The minimum defined dynamic format value
static int[] avpChannels
          Channels per static type.
static int[] avpClockRates
          Clock rates for various AVP payload types indexed by their static payload types.
static String[] avpTypeNames
          Names of AVP (Audio-Video Profile) payload types indexed on their static payload types.
static int CELB
          Static RTP/AVP payload type for the CELB video codec.
static int CN
          Static RTP/AVP payload type for the CN audio codec.
static int CN_DEPRECATED
          Static RTP/AVP payload type for the CN audio codec.
static int DVI4_11025
          Static RTP/AVP payload type for the DVI4_11025 audio codec
static int DVI4_16000
          Static RTP/AVP payload type for the DVI4_16000 audio codec.
static int DVI4_22050
          Static RTP/AVP payload type for the DVI4_22050 audio codec.
static int DVI4_8000
          Static RTP/AVP payload type for the DVI4_8000 audio codec
static String DYNAMIC
          Dynamic Payload type.
static String FMTP
          RTP mapping attribute.
static int G722
          Static RTP/AVP payload type for the G722 audio codec.
static int G723
          Static RTP/AVP payload type for the G723 audio codec.
static int G726_32
          Static RTP/AVP payload type for the G726_32 audio codec.
static int G728
          Static RTP/AVP payload type for the G728 audio codec.
static int G729
          Static RTP/AVP payload type for the G729 audio codec.
static int GSM
          Static RTP/AVP payload type for the GSM audio codec.
static int H261
          Static RTP/AVP payload type for the H261 video codec.
static int H263
          Static RTP/AVP payload type for the H263 video codec.
static int JPEG
          Static RTP/AVP payload type for the JPEG video codec.
static int L16_1CH
          Static RTP/AVP payload type for the L16_1CH audio codec.
static int L16_2CH
          Static RTP/AVP payload type for the L16_2CH audio codec.
static int LPC
          Static RTP/AVP payload type for the LPC audio codec
static int MP2T
          Static RTP/AVP payload type for the MP2T video codec.
static int MPA
          Static RTP/AVP payload type for the MPA audio codec.
static int MPV
          Static RTP/AVP payload type for the MPV video codec.
static long NTP_CONST
          Constant used to translate between NTP time used in SDP and "native" Java time.
static int NV
          Static RTP/AVP payload type for the NV video codec
static int PCMA
          Static RTP/AVP payload type for the PCMA audio codec.
static int PCMU
          Static RTP/AVP payload type for the PCMU audio codec.
static int QCELP
          Static RTP/AVP payload type for QCELP audio codec
static String RESERVED
          Reserved Payload type.
static String RTP_AVP
          RTP/AVP Protocol
static String RTPMAP
          RTP mapping attribute.
static int TENSIXTEEN
          Static RTP/AVP payload type for the TENSIXTEEN audio codec.
static String UNASSIGNED
          Unassigned Payload type.
 

Field Detail

NTP_CONST

static final long NTP_CONST
Constant used to translate between NTP time used in SDP and "native" Java time. NTP time is defined as the number of seconds relative to midnight, January 1, 1900 and Java time is measured in number of milliseconds since midnight, January 1, 1970 UTC (see System#currentTimeMillis()}). The value of this constant is 2208988800L. It can be used to convert between NTP and Java time using the following formulas: ntpTime = (javaTime/1000) + SdpConstants.NTP_CONST; javaTime = (ntpTime - SdpConstants.NTP_CONST) * 1000; The Network Time Protocol (NTP) is defined in RFC 1305.

See Also:
Constant Field Values

RESERVED

static final String RESERVED
Reserved Payload type. An int greater than or equal to 0 and less than AVP_DEFINED_STATIC_MAX, but has not been assigned a value.

See Also:
Constant Field Values

UNASSIGNED

static final String UNASSIGNED
Unassigned Payload type. An int greater than or equal to AVP_DEFINED_STATIC_MAX and less than AVP_DYNAMIC_MIN - currently unassigned.

See Also:
Constant Field Values

DYNAMIC

static final String DYNAMIC
Dynamic Payload type. Any int less than 0 or greater than or equal to AVP_DYNAMIC_MIN

See Also:
Constant Field Values

RTP_AVP

static final String RTP_AVP
RTP/AVP Protocol

See Also:
Constant Field Values

RTPMAP

static final String RTPMAP
RTP mapping attribute. SDP is case-sensitive; RFC2327 specifies 'rtpmap' (all smallcap)

See Also:
Constant Field Values

FMTP

static final String FMTP
RTP mapping attribute.

See Also:
Constant Field Values

PCMU

static final int PCMU
Static RTP/AVP payload type for the PCMU audio codec.

See Also:
Constant Field Values

TENSIXTEEN

static final int TENSIXTEEN
Static RTP/AVP payload type for the TENSIXTEEN audio codec.

See Also:
Constant Field Values

G726_32

static final int G726_32
Static RTP/AVP payload type for the G726_32 audio codec.

See Also:
Constant Field Values

GSM

static final int GSM
Static RTP/AVP payload type for the GSM audio codec.

See Also:
Constant Field Values

G723

static final int G723
Static RTP/AVP payload type for the G723 audio codec.

See Also:
Constant Field Values

DVI4_8000

static final int DVI4_8000
Static RTP/AVP payload type for the DVI4_8000 audio codec

See Also:
Constant Field Values

DVI4_16000

static final int DVI4_16000
Static RTP/AVP payload type for the DVI4_16000 audio codec.

See Also:
Constant Field Values

LPC

static final int LPC
Static RTP/AVP payload type for the LPC audio codec

See Also:
Constant Field Values

PCMA

static final int PCMA
Static RTP/AVP payload type for the PCMA audio codec.

See Also:
Constant Field Values

G722

static final int G722
Static RTP/AVP payload type for the G722 audio codec.

See Also:
Constant Field Values

L16_2CH

static final int L16_2CH
Static RTP/AVP payload type for the L16_2CH audio codec.

See Also:
Constant Field Values

L16_1CH

static final int L16_1CH
Static RTP/AVP payload type for the L16_1CH audio codec.

See Also:
Constant Field Values

QCELP

static final int QCELP
Static RTP/AVP payload type for QCELP audio codec

See Also:
Constant Field Values

CN

static final int CN
Static RTP/AVP payload type for the CN audio codec.

See Also:
Constant Field Values

MPA

static final int MPA
Static RTP/AVP payload type for the MPA audio codec.

See Also:
Constant Field Values

G728

static final int G728
Static RTP/AVP payload type for the G728 audio codec.

See Also:
Constant Field Values

DVI4_11025

static final int DVI4_11025
Static RTP/AVP payload type for the DVI4_11025 audio codec

See Also:
Constant Field Values

DVI4_22050

static final int DVI4_22050
Static RTP/AVP payload type for the DVI4_22050 audio codec.

See Also:
Constant Field Values

G729

static final int G729
Static RTP/AVP payload type for the G729 audio codec.

See Also:
Constant Field Values

CN_DEPRECATED

static final int CN_DEPRECATED
Static RTP/AVP payload type for the CN audio codec.

See Also:
Constant Field Values

CELB

static final int CELB
Static RTP/AVP payload type for the CELB video codec.

See Also:
Constant Field Values

JPEG

static final int JPEG
Static RTP/AVP payload type for the JPEG video codec.

See Also:
Constant Field Values

NV

static final int NV
Static RTP/AVP payload type for the NV video codec

See Also:
Constant Field Values

H261

static final int H261
Static RTP/AVP payload type for the H261 video codec.

See Also:
Constant Field Values

MPV

static final int MPV
Static RTP/AVP payload type for the MPV video codec.

See Also:
Constant Field Values

MP2T

static final int MP2T
Static RTP/AVP payload type for the MP2T video codec.

See Also:
Constant Field Values

H263

static final int H263
Static RTP/AVP payload type for the H263 video codec.

See Also:
Constant Field Values

AVP_DEFINED_STATIC_MAX

static final int AVP_DEFINED_STATIC_MAX
Highest defined static payload type. This is (currently) 35.

See Also:
Constant Field Values

AVP_DYNAMIC_MIN

static final int AVP_DYNAMIC_MIN
The minimum defined dynamic format value

See Also:
Constant Field Values

avpTypeNames

static final String[] avpTypeNames
Names of AVP (Audio-Video Profile) payload types indexed on their static payload types.


avpClockRates

static final int[] avpClockRates
Clock rates for various AVP payload types indexed by their static payload types.


avpChannels

static final int[] avpChannels
Channels per static type.



Copyright © 2012. All Rights Reserved.