Package org.jitsi.service.neomedia.codec
Class Constants
- java.lang.Object
-
- org.jitsi.service.neomedia.codec.Constants
-
public class Constants extends Object
Defines constants which are used by both neomedia clients and implementations.- Author:
- Lyubomir Marinov, Boris Grozev, George Politis
-
-
Field Summary
Fields Modifier and Type Field Description static String_RTPThe /rtp constant.static StringALAW_RTPThe ALAW/rtp constant.static StringAMR_WBThe AMR-WB constant.static StringAMR_WB_RTPThe AMR-WB/rtp constant.static StringANDROID_SURFACEThe Android Surface constant.static double[]AUDIO_SAMPLE_RATESThe list of well-known sample rates of audio data used throughout neomedia.static StringFLEXFEC_03The name of the flexfec-03 rtp formatstatic StringG722The G722 constant.static StringG722_RTPThe G722/rtp constant.static StringH264The H264 constant.static StringH264_RTPThe H264/rtp constant.static StringILBCThe ilbc constant.static intILBC_MODEmode : Frame size for the encoding/decoding 20 - 20 ms 30 - 30 msstatic StringILBC_RTPThe ilbc/rtp constant.static StringOPUSThe opus constant.static StringOPUS_RTPThe opus/rtp constant.static StringPROP_OPUS_BANDWIDTHThe name of the property used to control the Opus encoder "audio bandwidth" settingstatic StringPROP_OPUS_BITRATEThe name of the property used to control the Opus encoder bitrate settingstatic StringPROP_OPUS_COMPLEXITYThe name of the property used to control the Opus encoder 'complexity' settingstatic StringPROP_OPUS_DTXThe name of the property used to control the Opus encoder "DTX" settingstatic StringPROP_OPUS_FECThe name of the property used to control whether FEC is enabled for the Opus encoderstatic StringPROP_OPUS_MIN_EXPECTED_PACKET_LOSSThe name of the property used to control the Opus encoder "minimum expected packet loss" settingstatic StringPROP_OPUS_VBRThe name of the property used to control whether VBR is enabled for the Opus encoderstatic StringPROP_SILK_ADVERSISE_FECThe name of the property used to control whether FEC support is advertised for SILKstatic StringPROP_SILK_ASSUME_PLThe name of the property used to control the the 'always assume packet loss' setting for SILKstatic StringPROP_SILK_FECThe name of the property used to control whether FEC is enabled for SILKstatic StringPROP_SILK_FEC_SATThe name of the property used to control the SILK 'speech activity threshold'static StringPTIMEThe ptime constant.static StringREDThe name of the RED RTP format (RFC2198)static StringRTXThe RTX constantstatic StringRTX_RTPThe RTX/rtp constant.static StringSILKThe SILK constant.static StringSILK_RTPThe SILK/rtp constant.static StringSPEEXThe SPEEX constant.static StringSPEEX_RTPThe SPEEX/RTP constant.static StringTELEPHONE_EVENTPseudo format representing DTMF tones sent over RTP.static StringULPFECThe name of the ulpfec RTP format (RFC5109)static StringVP8The VP8 constantstatic StringVP8_RTPThe VP8/rtp constant.static StringVP9The VP9 constantstatic StringVP9_RTPThe VP9/rtp constant.
-
Constructor Summary
Constructors Constructor Description Constants()
-
-
-
Field Detail
-
_RTP
public static final String _RTP
The /rtp constant. Introduced in order to achieve consistency in the casing of the String.- See Also:
- Constant Field Values
-
ALAW_RTP
public static final String ALAW_RTP
The ALAW/rtp constant.- See Also:
- Constant Field Values
-
AMR_WB
public static final String AMR_WB
The AMR-WB constant.- See Also:
- Constant Field Values
-
AMR_WB_RTP
public static final String AMR_WB_RTP
The AMR-WB/rtp constant.- See Also:
- Constant Field Values
-
ANDROID_SURFACE
public static final String ANDROID_SURFACE
The Android Surface constant. It is used as VideoFormat pseudo encoding in which case the object is passed through the buffers instead of byte array for example.- See Also:
- Constant Field Values
-
AUDIO_SAMPLE_RATES
public static final double[] AUDIO_SAMPLE_RATES
The list of well-known sample rates of audio data used throughout neomedia.
-
G722
public static final String G722
The G722 constant.- See Also:
- Constant Field Values
-
G722_RTP
public static final String G722_RTP
The G722/rtp constant.- See Also:
- Constant Field Values
-
H264
public static final String H264
The H264 constant.- See Also:
- Constant Field Values
-
H264_RTP
public static final String H264_RTP
The H264/rtp constant.- See Also:
- Constant Field Values
-
ILBC
public static final String ILBC
The ilbc constant.- See Also:
- Constant Field Values
-
ILBC_MODE
public static final int ILBC_MODE
mode : Frame size for the encoding/decoding 20 - 20 ms 30 - 30 ms- See Also:
- Constant Field Values
-
ILBC_RTP
public static final String ILBC_RTP
The ilbc/rtp constant.- See Also:
- Constant Field Values
-
PTIME
public static final String PTIME
The ptime constant.- See Also:
- Constant Field Values
-
OPUS
public static final String OPUS
The opus constant.- See Also:
- Constant Field Values
-
OPUS_RTP
public static final String OPUS_RTP
The opus/rtp constant.- See Also:
- Constant Field Values
-
PROP_OPUS_BANDWIDTH
public static final String PROP_OPUS_BANDWIDTH
The name of the property used to control the Opus encoder "audio bandwidth" setting- See Also:
- Constant Field Values
-
PROP_OPUS_BITRATE
public static final String PROP_OPUS_BITRATE
The name of the property used to control the Opus encoder bitrate setting- See Also:
- Constant Field Values
-
PROP_OPUS_COMPLEXITY
public static final String PROP_OPUS_COMPLEXITY
The name of the property used to control the Opus encoder 'complexity' setting- See Also:
- Constant Field Values
-
PROP_OPUS_DTX
public static final String PROP_OPUS_DTX
The name of the property used to control the Opus encoder "DTX" setting- See Also:
- Constant Field Values
-
PROP_OPUS_FEC
public static final String PROP_OPUS_FEC
The name of the property used to control whether FEC is enabled for the Opus encoder- See Also:
- Constant Field Values
-
PROP_OPUS_MIN_EXPECTED_PACKET_LOSS
public static final String PROP_OPUS_MIN_EXPECTED_PACKET_LOSS
The name of the property used to control the Opus encoder "minimum expected packet loss" setting- See Also:
- Constant Field Values
-
PROP_OPUS_VBR
public static final String PROP_OPUS_VBR
The name of the property used to control whether VBR is enabled for the Opus encoder- See Also:
- Constant Field Values
-
PROP_SILK_ADVERSISE_FEC
public static final String PROP_SILK_ADVERSISE_FEC
The name of the property used to control whether FEC support is advertised for SILK- See Also:
- Constant Field Values
-
PROP_SILK_ASSUME_PL
public static final String PROP_SILK_ASSUME_PL
The name of the property used to control the the 'always assume packet loss' setting for SILK- See Also:
- Constant Field Values
-
PROP_SILK_FEC
public static final String PROP_SILK_FEC
The name of the property used to control whether FEC is enabled for SILK- See Also:
- Constant Field Values
-
PROP_SILK_FEC_SAT
public static final String PROP_SILK_FEC_SAT
The name of the property used to control the SILK 'speech activity threshold'- See Also:
- Constant Field Values
-
RED
public static final String RED
The name of the RED RTP format (RFC2198)- See Also:
- Constant Field Values
-
SILK
public static final String SILK
The SILK constant.- See Also:
- Constant Field Values
-
SILK_RTP
public static final String SILK_RTP
The SILK/rtp constant.- See Also:
- Constant Field Values
-
SPEEX
public static final String SPEEX
The SPEEX constant.- See Also:
- Constant Field Values
-
SPEEX_RTP
public static final String SPEEX_RTP
The SPEEX/RTP constant.- See Also:
- Constant Field Values
-
TELEPHONE_EVENT
public static final String TELEPHONE_EVENT
Pseudo format representing DTMF tones sent over RTP.- See Also:
- Constant Field Values
-
ULPFEC
public static final String ULPFEC
The name of the ulpfec RTP format (RFC5109)- See Also:
- Constant Field Values
-
FLEXFEC_03
public static final String FLEXFEC_03
The name of the flexfec-03 rtp format- See Also:
- Constant Field Values
-
VP8
public static final String VP8
The VP8 constant- See Also:
- Constant Field Values
-
VP9
public static final String VP9
The VP9 constant- See Also:
- Constant Field Values
-
RTX
public static final String RTX
The RTX constant- See Also:
- Constant Field Values
-
VP9_RTP
public static final String VP9_RTP
The VP9/rtp constant.- See Also:
- Constant Field Values
-
VP8_RTP
public static final String VP8_RTP
The VP8/rtp constant.- See Also:
- Constant Field Values
-
RTX_RTP
public static final String RTX_RTP
The RTX/rtp constant.- See Also:
- Constant Field Values
-
-