protected void setFormats ( RTPFormats formats ) { try { this . rtpChannel . setFormatMap ( formats ) ; this . rtpChannel . setOutputFormats ( formats . getFormats ( ) ) ; } catch ( FormatNotSupportedException e ) { // Never happens logger . warn ( "Could not set output formats" , e ) ; } }
Sets the supported codecs of the RTP components .