Patent attributes
A method for providing an optimized audio quality communication session between a near end and at least a far end telecommunications terminal requires that at least the codec of the near end telecommunications terminal is able to apply two alternative encoding techniques belonging to the same audio compression protocol. When the near end telecommunications terminal receives a data packet from the far end telecommunications terminal after a setup of the communication session during which the audio compression protocol is set, it will determine out of the received data packet the encoding technique used by the far end telecommunications terminal. This is performed by analyzing the content of the header of the received packet. In case the determined encoding technique is based on a different alternative encoding technique of the audio compression protocol used initially by the near end telecommunications terminal, then an adaptation will be performed.