public RTPFormats negotiateAudio ( SessionDescription sdp , RTPFormats formats ) { this . audio . clean ( ) ; MediaDescriptorField descriptor = sdp . getAudioDescriptor ( ) ; descriptor . getFormats ( ) . intersection ( formats , this . audio ) ; return this . audio ; }
Negotiates the audio formats to be used in the call .