# US 2013/0156119 A1 · Methods, systems, and computer readable media for selecting a codec pair based on network conditions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2013/0156119 A1
- Document ID: US20130156119A1
- Status: Published application
- Kind: A1
- Application number: 13/329,200
- Filed: 2011-12-16
- Published: 2013-06-20
- Earliest claimed: 2011-12-16
- Assignees: Genband US LLC
- Inventors: Eric Poulin
- Web page: https://patentgrep.com/patent/US20130156119A1

## CPC

- H04L 65/80: Responding to QoS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for selecting a codec pair includes obtaining a first performance metric indicating a condition of a first network connected to the network node via a first communication interface, the first network including a first endpoint. A second performance metric indicating a condition of a second network connected to the network node via a second communication interface is obtained. The second network includes a second endpoint. A codec selection model is generated or updated based on the first and second performance metrics. A first codec is selected from a plurality of codecs compatible with the first endpoint based on the codec selection model. A second codec is selected from a plurality of codecs compatible with the second endpoint based on the codec selection model. The first and second codecs are used to communicate a portion of a communication session between the first endpoint and the second endpoint.

## Claims

### Claim 1

A method for selecting a codec pair based on network conditions, the method comprising:
at a network node including a first communication interface and a second communication interface:
obtaining a first performance metric indicating a condition of a first network connected to the network node via the first communication interface, the first network including a first endpoint;
obtaining a second performance metric indicating a condition of a second network connected to the network node via the second communication interface, the second network including a second endpoint;
generating or updating a codec selection model based on the obtained first performance metric and the obtained second performance metric;
selecting a first codec from a plurality of codecs compatible with the first endpoint based on the codec selection model;
selecting a second codec from a plurality of codecs compatible with the second endpoint based on the codec selection model; and
utilizing the first selected codec and the second selected codec to communicate a portion of a communication session between the first endpoint and the second endpoint.

### Claim 2 (depends on 1)

The method of claim 1 wherein generating or updating the codec selection model includes computing a scalar value that corresponds to conversation quality for each combination of the plurality of codecs compatible with the first endpoint and the plurality of codecs compatible with the second endpoint.

### Claim 3 (depends on 1)

The method of claim 1 wherein the codec selection model is based on at least one of processing delay, algorithmic delay, and buffering delay.

### Claim 4 (depends on 1)

The method of claim 1 wherein the codec selection model is based on a plurality of factors, at least one of the factors corresponding to available bandwidth or least cost routing.

### Claim 5 (depends on 4)

The method of claim 4 wherein each of the factors is assigned a weight and wherein generating or updating the codec selection model includes taking into account each of the factors to the extent of its assigned weight.

### Claim 6 (depends on 1)

The method of claim 1 wherein at least one of the first performance metric and the second performance metric corresponds to at least one of a measure of packet loss, a measure of end-to-end packet delay, and a measure of jitter.

### Claim 7 (depends on 1)

The method of claim 1 wherein at least one of the plurality of codecs compatible with the first endpoint and the plurality of codecs compatible with the second endpoint is obtained as part of a session description protocol (SDP) offer message.

### Claim 8 (depends on 1)

The method of claim 1 wherein the first communication interface is a packet interface and the second communication interface is a packet interface.

### Claim 9 (depends on 1)

The method of claim 1 wherein the first communication interface is a packet interface and the second communication interface is a time-division multiplexing (TDM) interface.

### Claim 10 (depends on 1)

The method of claim 1 wherein the network node comprises at least one of a session border controller (SBC) and a media gateway.

### Claim 11 (depends on 1)

The method of claim 1 wherein the first selected codec and the second selected codec are different; and
wherein utilizing the first selected codec and the second selected codec to communicate the portion of the communication session between the first endpoint and the second endpoint comprises transcoding, from the first selected codec to the second selected codec, the portion of the communication session between the first endpoint and the second endpoint.

### Claim 12 (depends on 1)

The method of claim 1 wherein the first selected codec and the second selected codec are the same, and wherein utilizing the first selected codec and the second selected codec to communicate the portion of the communication session between the first endpoint and the second endpoint comprises supporting tandem free operation (TFO) for the portion of the communication session between the first endpoint and the second endpoint.

### Claim 13

A system for selecting a codec pair based on network conditions, the system comprising:
a first communication interface configured to interface with a first network including a first endpoint;
a second communication interface configured to interface with a second network including a second endpoint;
a network performance module configured to obtain a first performance metric indicating a condition of the first network and a second performance metric indicating a condition of the second network;
a codec selection module configured to generate or update a codec selection model based on the obtained first performance metric and the obtained second performance metric, select a first codec from a plurality of codecs compatible with the first endpoint based on the codec selection model, and select a second codec from a plurality of codecs compatible with the second endpoint based on the codec selection model; and
a transcoder configured to utilize the first selected codec and the second selected codec to communicate a portion of a communication session between the first endpoint and the second endpoint.

### Claim 14 (depends on 13)

The system of claim 13 wherein the codec selection module is configured to generate or update the codec selection model by computing a scalar value that corresponds to conversation quality for each combination of the plurality of codecs compatible with the first endpoint and the plurality of codecs compatible with the second endpoint.

### Claim 15 (depends on 13)

The system of claim 13 wherein the codec selection model is based on at least one of processing delay, algorithmic delay, and buffering delay.

### Claim 16 (depends on 13)

The system of claim 13 wherein the codec selection model is based on a plurality of factors, at least one of the factors corresponding to available bandwidth or least cost routing.

### Claim 17 (depends on 16)

The system of claim 16 wherein each of the factors is assigned a weight and wherein the codec selection module is configured to generate or update the codec selection model by taking into account each of the factors to the extent of its assigned weight.

### Claim 18 (depends on 13)

The system of claim 13 wherein at least one of the first performance metric and the second performance metric corresponds to at least one of a measure of packet loss, a measure of end-to-end packet delay, and a measure of jitter.

### Claim 19 (depends on 13)

The system of claim 13 wherein at least one of the plurality of codecs compatible with the first endpoint and the plurality of codecs compatible with the second endpoint is obtained as part of a session description protocol (SDP) offer message.

### Claim 20 (depends on 13)

The system of claim 13 wherein the first communication interface is a packet interface and the second communication interface is a packet interface.

### Claim 21 (depends on 13)

The system of claim 13 wherein the first communication interface is a packet interface and the second communication interface is a time-division multiplexing (TDM) interface.

### Claim 22 (depends on 13)

The system of claim 13 wherein the memory, the first communication interface, the second communication interface, the network performance module, the codec selection module, and the transcoder comprise a network node, and wherein the network node comprises at least one of a session border controller (SBC) and a media gateway.

### Claim 23 (depends on 13)

The system of claim 13 wherein the first selected codec and the second selected codec are different; and
wherein the transcoder is configured to transcode, from the first selected codec to the second selected codec, the portion of the communication session between the first endpoint and the second endpoint.

### Claim 24 (depends on 13)

The system of claim 13 wherein the first selected codec and the second selected codec are the same, and wherein the transcoder is configured to support tandem free operation (TFO) for the portion of the communication session between the first endpoint and the second endpoint.

### Claim 25

A non-transitory computer readable medium comprising computer executable instructions that when executed by a processor of a computer control the computer to perform steps comprising:
at a network node including a first communication interface and a second communication interface:
obtaining a first performance metric indicating a condition of a first network connected to the network node via the first communication interface, the first network including a first endpoint;
obtaining a second performance metric indicating a condition of a second network connected to the network node via the second communication interface, the second network including a second endpoint;
generating or updating a codec selection model based on the obtained first performance metric and the obtained second performance metric;
selecting a first codec from a plurality of codecs compatible with the first endpoint based on the codec selection model;
selecting a second codec from a plurality of codecs compatible with the second endpoint based on the codec selection model; and
utilizing the first selected codec and the second selected codec to communicate a portion of a communication session between the first endpoint and the second endpoint.
