public class AudioMediaFormatImpl extends MediaFormatImpl<javax.media.format.AudioFormat> implements AudioMediaFormat
CLOCK_RATE_PNAME, ENCODING_PNAME, format, FORMAT_PARAMETERS_PNAMEMAX_DYNAMIC_PAYLOAD_TYPE, MIN_DYNAMIC_PAYLOAD_TYPE, RTP_PAYLOAD_TYPE_UNKNOWN| Constructor and Description |
|---|
AudioMediaFormatImpl(String encoding)
Initializes a new AudioMediaFormatImpl instance with the
specified encoding and a single audio channel.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getChannels()
Gets the number of audio channels associated with this
AudioMediaFormat.
|
double |
getClockRate()
Gets the clock rate associated with this MediaFormat.
|
org.jitsi.utils.MediaType |
getMediaType()
Gets the type of this MediaFormat which is
MediaType.AUDIO for AudioMediaFormatImpl instances. |
advancedAttributesAreEqual, createInstance, createInstance, equals, formatParametersAreEqual, formatParametersAreEqual, formatParametersMatch, getAdditionalCodecSettings, getAdvancedAttributes, getClockRateString, getEncoding, getFormat, getFormatParameters, getJMFEncoding, getRealUsedClockRateString, getRTPPayloadType, hashCode, matches, matches, setAdditionalCodecSettings, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitequals, formatParametersMatch, getAdditionalCodecSettings, getAdvancedAttributes, getClockRateString, getEncoding, getFormatParameters, getRealUsedClockRateString, getRTPPayloadType, matches, matches, setAdditionalCodecSettings, toStringpublic AudioMediaFormatImpl(String encoding)
encoding - the encoding of the new AudioMediaFormatImpl
instancepublic int getChannels()
getChannels in interface AudioMediaFormatAudioMediaFormat.getChannels()public double getClockRate()
getClockRate in interface MediaFormatMediaFormat.getClockRate()public final org.jitsi.utils.MediaType getMediaType()
MediaType.AUDIO for AudioMediaFormatImpl instances.getMediaType in interface MediaFormatMediaFormat.getMediaType()Copyright © 2021 jitsi.org. All rights reserved.