code: public static AudioFormat getAudioFormat(PayloadType payloadtype) {
  
          switch (payloadtype.getId()) {
              case 0:
                  return new AudioFormat(AudioFormat.ULAW_RTP);
              case 3:
                  return new AudioFormat(AudioFormat.GSM_RTP);
              case 4:
                  return new AudioFormat(AudioFormat.G723_RTP);
              default:
                  return null;
          }
  
      }
docs: Return a JMF AudioFormat for a given Jingle Payload type.
  Return null if the payload is not supported by this jmf API.
  
  @param payloadtype payloadtype
  @return correspondent audioType