public JingleDescription getJingleDescription ( ) { JingleDescription result = null ; PayloadType payloadType = getBestCommonAudioPt ( ) ; if ( payloadType != null ) { result = new JingleDescription . Audio ( payloadType ) ; } else { // If we haven't settled on a best payload type yet then just use the first one in our local list. result = new JingleDescription . Audio ( ) ; result . addAudioPayloadTypes ( localAudioPts ) ; } return result ; }
Create a JingleDescription that matches this negotiator .