METHOD AND A COMMMUNICATION APPARATUS IN A COMMUNICATION SYSTEM

Abstract: A method for controlling a jitter buffer and a communication apparatus implementing the method and functioning as a first node of a communication system, wherein the jitter buffer is adapted to buffer a stream of blocks of compressed speech information generated in a second node in the communication system, transmitted to and received in the first node. Blocks of compressed speech information in said stream of blocks are selected (201) according to a predetermined rule based on the current buffering delay of the jitter buffer and at least one characteristic of said blocks of compressed speech information. Predetermined actions aiming at reducing buffering delay in the jitter buffer are applied (202) to the selected blocks.

Description: METHOD AND COMMUNICATION APPARATUS IN A COMMUNICATION SYSTEM TECHNICAL FIELD OF THE INVENTION The invention relates to a method for controlling a jitter buffer in a node of a communication system and a communication apparatus implementing said method in a communication system DESCRIPTION OF RELATED ART Currently, there is a strong trend in the telecommunication business to merge data and voice traffic into one network using packet switched transmission technology. This trend, often referred to as "Voice over IP" or "IP-telephony" , is now also moving into the world of cellular radio communications . One problem associated with IP-telephony communication systems, is that individual speech packets in a stream of speech packets generated and transmitted from an originating node to a receiving node in the communication system, experiences stochastic transmission delays, which may even cause speech packets to arrive at the receiving node in a different order than they were transmitted from the originating node. In order to cope with the variable transmission delays, causing so-called jitter in the time of arrival of the speech packets at the receiving node and potentially even resulting in packets arriving in a different order than transmitted, the receiving node is typically provided with a jitter buffer used for sorting the speech packets into the correct sequence and delaying the packets as needed to compensate for transmission delay variations, i.e. the packets are not played back immediately upon arrival . Another problem that is present in "IP-telephony" as opposed to traditional circuit switched telephony is that the clock that controls sampling frequency, and thereby the rate at which speech packets are produced by the originating node, is not locked to, or synchronized with, the clock controlling the sample playout rate at the receiving node. In an "IP-telephony" call involving two personal computers (PC) , it is typically the sound board clocks of the PCs that controls the respective sampling rates which is known to cause problems. As a result of the difference in clock rates at the originating node and the receiving node, so called clock skew, the receiving node may experience either buffer overflow or buffer underflow in the jitter buffer. If the clock at the originating node is faster than the clock at the receiving node, the delay in the jitter buffer will increase and eventually cause buffer overflow, while if the clock at the originating node is slower than the clock at the receiving node, the receiving node will eventually experience buffer underflow. One way of handling clock skew has been to perform a crude correction whenever needed. Thus, upon encountering buffer overflow of the jitter buffer, packets may be discarded while upon encountering buffer underflow of the jitter buffer, certain packets may be replayed to avoid pausing. If the clock skew is not too severe, then such correction may take place once every few minutes which may be perceptually acceptable. However, if the clock skew is severe, then corrections may be needed more frequently, up to once every few seconds. In this case, a crude correction will create perceptually unacceptable artefacts. U.S. Patent 5,699,481 teaches a timing recovery scheme for packet speech in a communication system comprising a controller, a speech decoder and a common buffer for exchanging coded speech packages (CSP) between the controller and the speech decoder. The coded speech packages are generated by and transmitted from another communication system to the communication system via a communication channel, such as a telephone line. The received coded speech packets are entered into the common buffer by the controller. Whenever the speech decoder detects excessive or missing speech packages in the common buffer, the speech decoder switches to a special corrective mode. If excessive speech data is detected, it is played out faster than usual while if missing data is detected, the available data is played out slower than usual . Faster playout of data is effected by the speech decoder discarding some speech information while slower playout of data is effected by the speech decoder synthesizing some speech-like information. The speech decoder may modify either the synthesized output speech signal, i.e. the signal after complete speech decoding, or, in the preferred embodiment, the intermediate excitation signal, i.e. the intermediate speech signal prior to LPC-filtering. In either case, manipulation of smaller duration units and silence or unvoiced units results in better quality of the modified speech. The article "Priority discarding of Speech in Integrated Packet Networks", Petr et al, IEEE Journal on Selected Areas in Communication, vol. 7, no. 5, June 1989 discloses an integrated packet network (IPN) in which overload control is accomplished by taking advantage of the inherent structure of the speech signal. A delivery priority is assigned to each speech packet at the transmitter. The delivery priority assigned to a certain speech packet depends on how important the content of the speech packet is to the communication. In response to an overload situation occuring in the network, i.e. when for a short period of time the arrival rate at a packet multiplexer exceeds the service rate causing short-term congestion at the packet multiplexer, speech packets are discarded according to the assigned delivery priority. US 5,659,541 discloses methods of reducing accumulated gross delay in packet switched voice transmission. According to US 5,659,541, an A/D converter provides voice samples by sampling the analog voice signal at a predetermined rate. The voice samples are assembled into packets and transmitted through a packet switching network to a receiving party where the digitized speech samples are inserted in an arrival buffer. The depth of the arrival buffer is monitored and if the arrival buffer contains more than a threshold number of digital samples, a leaky filter is actuated to discard a predetermined number of the samples in the arrival buffer. The leaky filter may e.g. discard one out of every ,Λ X" samples where "X" is either a predetermined fixed number, compute a random number "Y" and discard the "Yth" sample in the arrival buffer or detect a group of low energy samples in the buffer (e.g. samples corresponding to a period of silence) and discard the samples of this group. SUMMARY OF THE INVENTION The problem dealt with by the present invention is providing an improved way of controlling buffering delay in a jitter buffer for buffering blocks of compressed speech information in a first node of a communication system. The problem is solved by a method according to claim 1 and a communication apparatus acording to claim 14. A general object of the invention is to provide an improved way of controlling buffering delay in a jitter buffer for buffering blocks of compressed speech information in a first node of a communication system. Another object of the invention is to improve speech quality by enabling actions aiming at reducing buffering delay in the jitter buffer to be selectively applied to blocks of compressed speech information which are of less importance to perceived voice quality as compared to other blocks of compressed speech information. A general advantage afforded by the invention is that it affords an improved way of controlling buffering delay in a jitter buffer for buffering blocks of compressed speech information. Another advantage afforded by the invention is that speech quality may be improved by selectively applying actions aiming at reducing buffering delay in the jitter buffer to blocks of compressed speech information which are of less importance to perceived voice quality as compared to other blocks of compressed speech information. The invention will now be described in more detail with reference to exemplary embodiments thereof and also with reference to the accompanying drawings . BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic view of a communication system in which the invention is applied. Fig. 2 is a flow diagram illustrating a basic method according to the invention. Fig. 3 is a schematic block diagram illustrating the internal structure of a base station according to a first exemplary embodiment of a communication apparatus according to the invention . Fig. 4 is a flow diagram illustrating a method of jitter buffer delay control used in the base station of Fig. 3. DETAILED DESCRIPTION OF THE EMBODIMENTS Fig. 1 illustrates an exemplary communication system SYS1 in which the present invention is applied. The communication system SYS1 comprises a fixed terminal TE1, e.g. a personal computer, a packet switched network NETl, which typically is implemented as an internet or intranet comprising a number of subnetworks, and a mobile station MSI . The packet switched network NETl provides packet switched communication of both speech and other user data and includes a base station BS1 capable of communicating with mobile stations, including the mobile station MSI. Communications between the base station BS1 and mobile stations occur on radio channels according to the applicable air interface specifications. In the exemplary communication system SYS1, the air interface specifications provides radio channels for packet switched communication of data over the air interface. However for transport of speech over the air interface, radio channels are provided which are basically circuit switched and identical to or very similar to the radio channels provided in circuit switched GSM systems. The use of such radio channels is actually the current working assumption in the ETSI standardization of Enhanced GPRS (EGPRS) and GSM/EDGE Radio Access Network (GERAN) for how packet switched speech should be transported over the air interface . Thus, in an exemplary scenario of a voice communication session, i.e. a phone call, involving a user at the fixed terminal TEl and a user at the mobile station MSI, voice information is communicated between the fixed terminal TEl and the base station BSl using a packet switched mode of communication. The well known real-time transport protocol (RTP) , User Datagram Protocol (UDP) and Internet Protocol (IP) specified by IETF are used to convey speech packets, including blocks of compressed speech information, between the fixed terminal TEl and the base station BSl. At the base station BSl, the RTP, UDP and IP protocols are terminated and the blocks of compressed speech information are transported between the base station BSl and the mobile station MSI over a circuit switched radio channel CHI assigned for serving the phone call. The radio channel CHI being circuit switched implies that the radio channel CHI is dedicated to transport blocks of speech information associated with the call at a fixed bandwith. In order to manage variations in transmission delay, which individual packets experience when being transmitted through the packet switched network NETl from the fixed terminal TEl to the base station BSl, the base station BSl includes a jitter buffer JBl associated with the radio channel CHI . In the exemplary communication system SYS1 of Fig. 1, the radio channel CHI is adapted to provide transmission of blocks of compressed speech information at a rate which requires that speech signal sampling is performed at a rate of 8 kHz, i.e. the traditional sample rate used for circuit switched telephony. However, even though a fixed terminal in the communication system SYS1 is supposed to use a sample rate of 8 kHz, it is quite probable that the actual sample rate provided by a soundboard in the fixed terminal TEl deviates significantly from the required sample rate of 8 kHz . A typical sound board is often provided with a clock primarily adapted to provide a 44.1 kHz sample rate, i.e. corresponding to the sample rate of Compact Discs (CD) , and a sample rate of approximately 8 kHz is then derived from the 44.1 kHz sample rate. As an example, a sample rate of 8.018 kHz may be derived from 44.1 kHz according to the expression 44.1 * 10 / 55 = 8.018 kHz (1) Thus the problem of clock skew between a fixed terminal and the base station BSl may occur frequently, causing a significant risk for a jitter buffer, e.g. jitter buffer JBl, in the base station BSl to experience an ever increasing buffering delay which eventually causes buffer overflow. The present invention provides a way of controlling buffering delay and avoiding overflow of a jitter buffer in a node of a communications system. Fig. 2 illustrates a basic method according to the invention for controlling a jitter buffer, e.g. jitter buffer JBl, in a first node in a communication system. The jitter buffer is adapted to buffer a stream of blocks of compressed speech information generated in a second node in the communication system and transmitted to the first node using a packet switched mode of communication. At step 201, blocks in said stream of blocks of compressed speech information are selected according to a predetermined rule based on the current buffering delay of the jitter buffer and at least one characteristic of said blocks of compressed speech information. At step 202, predetermined actions aiming at reducing buffering delay in the jitter buffer are applied to the selected blocks of compressed speech information. The predetermined actions may e.g. include removing selected blocks from the jitter buffer and/or refraining from inserting selected blocks into the jitter buffer . Fig. 3 illustrates more details of the internal structure of the base station BSl in Fig. 1 according to a first exemplary embodiment of a communication apparatus according to the invention. Note that Fig. 3 only illustrates elements of the base station BSl which are deeemed relevant to the present invention. The base station BSl includes a plurality of jitter buffers including the jitter buffer JBl, a buffer manager 301, a plurality of transceivers including a transceiver 302 and a network interface 303. The network interface 303 connects the base station BSl to the packet switched network NETl and enables the base station BSl to transmit and receive packets of both user data, including speech packets 304, and signalling data via the packet switched network NETl. In the exemplary communication system SYS1 of Fig. 1, the network interface terminates the RTP, UDP and IP protocols used for communicating speech packets 304 in the packet switched network NETl. Each speech packet 304 includes one block 305 of compressed speech information representing a speech segment of fixed length, e.g. 20 ms . The transceiver 302 handles transmission and reception of radio signals on the radio channel CHI. At regular intervals, the transceiver is provided with blocks 305 of compressed speech information from the jitter buffer JBl for transmission over the radio channel CHI to the mobile station MSI. The jitter buffer JBl is provided to delay the individual blocks 305 as needed to compensate for transmission delay variations occuring when transmitting said blocks 305 of compressed speech information from the fixed terminal TEl to the base station BSl via the packet switched network NETl. In the exemplary first embodiment of the invention, each entry 306 in the jitter buffer JBl includes one block 305 of compressed speech information together with a times amp 307 indicating when the entry 306 was inserted into the jitter buffer JBl. The buffer manager 301 controls operation of the jitter buffer JBl. It is responsible for arranging the blocks 305 of compressed speech information in the jitter buffer JBl in the correct sequence, providing the transceiver 302 with blocks 305 of compressed speech information for transmission over the radio channel CHI at regular intervals and also to control the buffering delay of the jitter buffer JBl. Fig. 4 illustrates processing performed by the buffer manager 301 each time the transceiver 302 needs to be provided with a new block 305 of compressed speech information for transmission over the radio channel CHI . At step 401 the buffer manager 301 determines the current buffering delay in the jitter buffer JBl. The current delay is in this exemplary embodiment calculated by comparing the current time and the time stamp 307 of the oldest jitter buffer entry 306. At step 402 the current delay is compared to a first delay threshold. If the current delay is less than the first delay threshold (an alternative YES at step 402), processing continues at step 408. Otherwise (an alternative NO at step 402), a check is made at step 403 whether there is a jitter buffer entry 306 including a block 305 of compressed speech information representing a speech segment having an energy level below a first energy level threshold. If such a jitter buffer entry 306 is found (an alternative YES at step 403), processsing continues at step 407. Otherwise (an alternative NO at step 403), the current delay is compared to a second delay threshold, which is greater than the first delay threshold, at step 404. If the current delay is less than the second delay threshold (an alternative YES at step 404), processing continues at step 408. Otherwise (an alternative NO at step 404) , a check is made at step 405 whether there is a jitter buffer entry 306 including a block 305 of compressed speech information representing a speech segment having an energy level below a second energy level threshold which is greater than the first energy level threshold. If such a jitter buffer entry 306 is found (an alternative YES at step 405), processsing continues at step 407. Otherwise (an alternative NO at step 405), the current delay is compared to a third delay threshold, which is greater than the second delay threshold, at step 406. If the current delay is less than the third delay threshold (an alternative YES at step 406), processing continues at step 408. Otherwise (an alternative NO at step 406) , processing continues at step 407 where, the buffer manager 301 drops, i.e. removes from the jitter buffer JBl and discards, the block 305 which represents a speech segment having the lowest energy level among the speech segments represented by all the blocks 305 currently stored in the jitter buffer JBl. After step 407 and alternative YES at steps 402, 404 and 406, processing continues at step 408 wherein the buffer manager 301 fetches the next jitter buffer entry 306, i.e. the oldest jitter buffer entry, from the jitter buffer JBl and delivers the block 305 of compressed speech information included in said jitter buffer entry 306 to the transceiver 302 for transmission over the radio channel CHI. Thus, as illustrated by Fig. 4, if the current delay of the jitter buffer JBl exceeds the first delay threshold, the buffer manager 301 selects and drops blocks 305 representing speech segments having energy levels below the first energy level threshold. If the current delay of the jitter buffer JBl exceeds the second delay threshold, which is greater than the first delay threshold, the buffer manager 301 selects and drops blocks 305 representing speech segments having energy levels below the second energy level threshold, which is higher than the first energy threshold level. Each time the current delay of the jitter buffer JBl exceeds the third delay threshold DTH3 , which is greater than the second delay threshold DTH2 , the buffer manager 301 selects and drops a block 305 which represents a speech segment having the lowest energy level among the speech segments represented by all the blocks 305 currently stored in the jitter buffer JBl. The first, second and third delay thresholds as well as the first and second energy threshold levels are selected according to the general principles that if a net speech quality improvement is achieved from dropping a particular block, that block should be dropped. The net speech quality results from the quality improvement due to a reduced buffering delay as a consequence of dropping a block of compressed speech information and the quality degradation due to the information loss that would be caused by dropping the same block of compressed speech information. The exact threshold values may be determined by performing informal listening tests,, i.e. evaluating the opinions of a plurality of people on which combinations of delay and energy threshold levels provide the best speech quality. The jitter buffer JBl is designed for being able to compensate for normal variations in transmission delay of speech packets which can be expected in the packet switched network NETl and the first delay threshold is thus selected such that normal variations in transmission delay does not cause dropping of blocks of compressed speech information. As an example, assuming the normal variations in transmission delay could be up . to 10 ms, the first delay threshold would be set to at least 30 ms to ensure that if a block of compressed speech information is dropped, causing the buffering delay of the jitter buffer JBl to be reduced by 20 ms, the jitter buffer JBl is still capable of providing up to at least 10 ms of delay if necessary to compensate for variations in transmission delay. Apart from the exemplary first embodiment of the invention disclosed above, there are numerous ways of providing rearrangements, modifications and susbstitutions of the first embodiment resulting in additional embodiments of the invention. Thus, as an alternative, or a complement, to monitoring the current delay of the jitter buffer JBl and trying to perform actions aiming at reducing excessive buffering delay each time the transceiver 302 needs to be provided with a new block of compressed speech information, the buffer manager 301 could perform such processing each time a new block of compressed speech information has been received and is about to be inserted into the jitter buffer JBl. According to one embodiment, the buffer manager 301 could be adapted to first insert the new block into the jitter buffer JBl and then perform all the processing steps of Fig. 4 except for step 408. In an alternative embodiment, the buffer manager 301 could be adapted to first consider the current delay of the jitter buffer JBl and whether it would be suitable to discard the new block in order to reduce the buffering delay prior to actually inserting the new block into the jitter buffer JBl. According to this alternative embodiment, the buffering delay of the jitter buffer JBl could be reduced both by selecting blocks stored in the jitter buffer JBl and removing the selected blocks from the jitter buffer JBl as well as by selecting new blocks and refraining from inserting the selected new blocks into the jitter buffer JBl. There are alternative ways of defining and determining the current delay. One example of such an alternative way would be to estimate when the last block of compressed speech information added to the jitter buffer will be fetched for transmission and defining the current delay based on this estimate and the time when the last block of compressed speech information was added to the jitter buffer. In this alternative embodiment, it is not necessary to include in each jitter buffer entry a time stamp specifying when the respective jitter buffer entry was added to the jitter buffer. Thus, each jitter buffer entry could be reduced to consist of a single block of compressed speech information and instead a single variable associated with the jitter buffer could be used for storing the time when the last jitter buffer entry was added to the jitter buffer. In other embodiments, preferrably where each block of compressed speech information represents shorter speech segments of e.g. 5 ms length, it may suffice to use the number of blocks currently stored in the jitter buffer as a measure of the current delay. As already indicated, in different embodiments of the invention, each jitter buffer entry may consist of one block of compressed speech information or may include additional data associated with said one block of compressed speech information. One example of such additional data is e.g. the time stamp 307 which in the first exemplary embodiment of the invention indicates when a jitter buffer entry 306 was inserted into the jitter buffer JBl. In other embodiments, the additional data may include additional data contained in the packet in which a block of compressed speech information was received and may even include the complete packet. Including complete speech packets in the jitter buffer may e.g. be desirable in a modified version of the exemplary communication system of Fig. 1, in which the RTP, UDP and IP protocols are not terminated in the network but in the mobile stations and thus complete packets need to be transported over the airinterface to the mobile stations . Note that this would of course require radio channels providing more bandwith than in current circuit switched GSM systems. In the exemplary first embodiment of the invention, the buffer manager 301 selects packets according to a predetermined rule based on the current delay of the jitter buffer JBl and energy- levels of the speech segements represented by blocks 305 currently stored in the jitter buffer JBl. Depending on which speech coding algorithm has been used, and thus the format of the blocks 305 of compressed speech information, the speech segment (frame) energy levels may be directly available in the blocks 305 or implicitly available in which case partial decoding of the packets has to be performed to obtain the speech segment energy levels . An alternative to obtaining the speech segment energy levels through partial decoding of the blocks of compressed speech information, would be for the node, e.g. the fixed terminal TEl, generating the blocks of compressed speech information to include the corresponding speech segment energy- levels in a separate field of each speech packet. Thus each speech packet would include both a block of compressed speech information and an additional field specifying the energy of the speech segment represented by said block. In such an arrangement, it would be preferrable to include both the blocks of compressed information as well as the associated speech segment energy levels as entries in the jitter buffer JBl. The packet switched network NETl in Fig. 1 could be adapted to implement an overload control mechanism based on delivery priorities as suggested in the aforementioned article "Priority discarding of Speech in Integareted Packet Networks" by Petr et al . Thus, the fixed terminal TEl, would be adapted to assign a delivery priority to each speech packet including a block of compressed speech information, wherein the delivery priority would reflect how important each speech packet, i.e. each block of compressed speech information, is to the perceived speech quality. Apart from using the delivery priorities to perform overload control in the packet switched network NETl as suggested by Petr et al, the delivery priorities of the speech packets in which blocks of compressed speech information are received by the base station BSl could also be used in yet another embodiment of the invention as a basis for selecting and discarding blocks of compressed information in order to reduce the buffering delay in the jitter buffer JBl. Thus, according to this embodiment of the invention, blocks of compressed speech information would be selected for e.g. removal from the jitter buffer JBl based on the current delay of the jitter buffer JBl and the delivery priorities of the speech packets in which the blocks were received by the base station BSl . The speech segment energy levels represented by blocks of compressed speech information is but one example of a characteristic of said blocks which could be used in combination with the current delay of the jitter buffer as a basis for selecting blocks of compressed speech information. Another example would be to consider whether the blocks of compressed speech information represent segments of voiced or unvoiced speech. Generally blocks representing voiced speech segments are more important to the perceived speech quality, and thus the predetermined rule for selecting blocks could specify that e.g. primarily blocks representing unvoiced speech segments should be selected. An estimate on whether a block represents a voiced or unvoiced speech segment could e.g. be derived from parameters representing LPC-prediction gain and/or LTP-predicition gain according to methods well known to a person skilled in the art. Yet another example of a suitable block characteristic to consider is the so called AMR-codec mode used to encode blocks of compressed speech information when applying Adaptive Multi- Rate (AMR) coding. AMR-coding provides different coding modes, each using different number of bits for representing a speech segment and thus enabling a trade off between the number of information source bits used to represent a speech segement and the level of error protection which can be provided for said information bits. The lowest AMR-codec mode, i.e. the coding mode using a minimum number of bits to represent a speech segment, is used when radio channel conditions are relatively bad and the distortion caused by dropping a block of compressed speech information coded using the lowest AMR-codec mode will be less audible than if a higher rate codec-mode was used under better radio conditions. Thus when the lowest AMR-codec mode is used, it may become advantageous to drop a block of compressed speech information at a lower delay threshold as compared to if the same speech segment was coded using a higher rate AMR-codec mode. Another way of reducing the delay of the jitter buffer JBl, apart from discarding selected packets removed from the jitter buffer, would be to select, based on the current delay and at least one characteristic of the blocks of compressed speech information, pairs of consecutive packets and transmit the most important parts of each block in a pair using the same bandwith as one complete block of compressed speech information while discarding the remaining parts of the blocks in said pair. At the mobile station, the missing information could be randomly created. The mobile station would need to be able to distinguish between receipt of ordinary complete blocks of compressed speech information and combinations of the most important parts of two consecutive blocks . Preferrably also a channel coding scheme providing fair protection against bit errors for all bits in a combined block would be implemented. As a person skilled in the art appreciates, the invention is applicable in basically all situations where a jitter buffer is used for buffering blocks of compressed speech information.

Claims: CLAIMS 1. A method for controlling a jitter buffer (JBl) in a first node (BSl) of a communication system (SYSl) , wherein the jitter buffer (JBl) is adapted to buffer a stream of blocks (305) of compressed speech information generated in a second node (TEl) in the communication system (SYSl) , transmitted to and received in the first node (BSl), the method comprising the steps of: selecting (201) blocks (305) in said stream of blocks (305) of compressed speech information according to a predetermined rule based on the current buffering delay of the jitter buffer (JBl) and at least one characteristic of said blocks (305) of compressed speech information; applying (202) predetermined actions to the selected blocks aiming at reducing buffering delay in the jitter buffer (JBl) . 2. A method according to claim 1, wherein said predetermined rule for selecting blocks includes selecting blocks representing speech segments having energy levels below a first energy level threshold if the current delay of the jitter buffer (JBl) exceeds a first delay threshold value. 3. A method according to claim 2, wherein said predetermined rule for selecting blocks includes selecting blocks (305) representing speech segments having energy levels below a second energy level threshold, which is higher than the first energy level threshold, if the current delay of the jitter buffer (JBl) exceeds a second delay threshold value greater ' than the first delay threshold value. 4. A method according to claim 1, wherein said predetermined rule for selecting blocks includes selecting blocks representing speech segments having the lowest energy level among the speech segments represented by the blocks (305) currently stored in the first node (BSl) . 5. A method according to claim 1, wherein the blocks of compressed speech information are coded using multirate coding providing different coding modes which each uses different number of bits for representing a speech segment and wherein said predetermined rule for selecting blocks takes into account the coding mode of the blocks of compressed speech information. 6. A method according to claim 1, wherein said predetermined rule for selecting blocks takes into account whether the blocks of compressed speech information represent voiced or unvoiced segments of speech. 7. A method according to any one of claims 1-6, wherein said predetermined actions include removing at least a first subset of said selected blocks from the jitter buffer (JBl) . 8. A method according to any one of claims 1-7 , wherein said predetermined actions include refraining from inserting at least a second subset of said selected blocks into the jitter buffer (JBl) . 9. A method according to any one of claims 1-8, wherein each entry in the jitter buffer includes both one block of compressed speech information and additional data associated with said one block of compressed speech information. 10. A method according to claim 9, wherein said additional data includes data received from the second node together with said one block of compressed speech information. 11. A method according to claim 10, wherein said additional data includes information reflecting at least one characteristic of said one block of compressed speech information. 12. A method according to any one of claims 10-11, wherein each entry in the jitter buffer includes a complete packet in which said one block of compressed speech information was received by the first node (BSl) . 13. A method according to any one of claims 1-12, wherein the jitter buffer (JBl) is associated with a circuit switched radio channel (CHI) and blocks of compressed speech information are fetched from the jitter buffer (JBl) at regular intervals for transmission over the radio channel (CHI) . 14. A communication apparatus (BSl) for use as a first node in a communication system (SYSl) , the communication apparatus (BSl) comprising: a jitter buffer (JBl) for buffering a stream of blocks (305) of compressed speech information generated in a second node (TEl) of the communication system (SYSl) , transmitted to and received by the first node (BSl) ; a control unit (301) for controlling operation of the jitter buffer (JBl) , wherein the control unit (301) is adapted to select blocks (305) in said stream of blocks (305) of compressed speech information according to a predetermined rule based on the current buffering delay of the jitter buffer (JBl) and at least one characteristic of said blocks (305) of compressed speech information and wherein the control unit (301) further is adapted to apply predetermined actions to the selected blocks (305) aiming at reducing buffering delay in the jitter buffer (JBl) . 15. A communication apparatus (BSl) according to claim 14, wherein said predetermined rule for selecting blocks includes selecting blocks representing speech segments having energy levels below a first energy level threshold if the current delay of the jitter buffer (JBl) exceeds a first delay threshold value . 16. A communication apparatus (BSl) according to claim 15, wherein said predetermined rule for selecting blocks includes selecting blocks (305) representing speech segments having energy levels below a second energy level threshold, which is higher than the first energy level threshold, if the current delay of the jitter buffer (JBl) exceeds a second delay threshold value greater than the first delay threshold value. 17. A communication apparatus (BSl) according to claim 14, wherein said predetermined rule for selecting blocks includes selecting blocks representing speech segments having the lowest energy level among the speech segments represented by the blocks (305) currently stored in the communication apparatus (BSl) . 18. A communication apparatus (BSl) according to claim 14, wherein the blocks of compressed speech information are coded using multirate coding providing different coding modes which each uses different number of bits for representing a speech segment and wherein said predetermined rule for selecting blocks takes into account the coding mode of the blocks of compressed speech information. 19. A communication apparauts (BSl) according to claim 14, wherein said predetermined rule for selecting blocks takes into account whether the blocks of compressed speech information represent voiced or unvoiced segments of speech. 20. A communication apparatus (BSl) according to any one of claims 14-19, wherein said predetermined actions include removing at least a first subset of said selected blocks from the jitter buffer (JBl) . 21. A communication apparatus (BSl) according to any one of claims 14-20, wherein said predetermined actions include refraining from inserting at least a second subset of said selected blocks into the jitter buffer (JBl) . 22. A communication apparatus (BSl) according to any one of claims 14-21, wherein each entry in the jitter buffer includes both one block (305) of compressed speech information and additional data associated with said one block of compressed speech information. 23. A communication apparatus (BSl) according to claim 22, wherein said additional data includes data received from the second node (TEl) together with said one block of compressed speech information. 24. A communication apparatus (BSl) according to claim 23, wherein said additional data includes information reflecting at least one characteristic of said one block of compressed speech information. 25. A communication apparatus (BSl) according to any one of claims 23-24, wherein each entry in the jitter buffer includes a complete packet (304) in which said one block (305) of compressed speech information was received by the first node (BSl) . 26. A communication apparatus (BSl) according to any one of claims 14-25, wherein the jitter buffer (JBl) is associated with a circuit switched radio channel (CHI) and the control unit (301) is adapted to fetch blocks of compressed speech information from the jitter buffer (JBl) at regular intervals for transmission over the radio channel (CHI) .

Inventors: JANSSON FREDRIK, SUNDQVIST JIM, JANSSON, FREDRIK, SUNDQVIST, JIM
Applicants: ERICSSON TELEFON AB L M, JANSSON FREDRIK, SUNDQVIST JIM, JANSSON, FREDRIK, SUNDQVIST, JIM, TELEFONAKTIEBOLAGET L M ERICSSON (PUBL)
Application year: 2001
Main classification: G06F5
IPC codes: G06F5, H04J3, H04L12