Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determining common capabilities #857

Merged
merged 4 commits into from Jun 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 22 additions & 13 deletions index.html
Expand Up @@ -5319,16 +5319,21 @@ <h3>Opus</h3>
<tr id="def-useinbandfec*">
<td><dfn><code>useinbandfec</code></dfn></td>
<td><code>boolean</code></td>
<td>Receiver</td>
<td>Specifies if the decoder has the capability to take advantage of Opus
in-band fec (if <code>true</code>) or not (if <code>false</code>).</td>
<td>Receiver/Sender</td>
<td>For a receiver, specifies if the decoder has the capability to take
advantage of Opus in-band fec (if <code>true</code>) or not
(if <code>false</code>). For a sender, specifies if the encoder
supports DTX (if <code>true</code>) or not (if <code>false</code>).
</td>
</tr>
<tr id="def-usedtx*">
<td><dfn><code>usedtx</code></dfn></td>
<td><code>boolean</code></td>
<td>Receiver</td>
<td>Specifies if the decoder prefers the use of DTX (if
<code>true</code>) or not (if <code>false</code>).</td>
<td>Receiver/Sender</td>
<td>For a receiver, specifies if the decoder prefers the use of DTX (if
<code>true</code>) or not (if <code>false</code>). For a sender, specifies
if the encoder supports DTX (if <code>true</code>) or not (if <code>false</code>).
</td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -10801,16 +10806,20 @@ <h3>Determining common capabilities</h3>
// 1. Determine the common codecs.
// 2. For each common codec, determine the common headerExtensions and
// rtcpFeedback mechanisms.
// 3. For each common audio codec, determine the minimum number of
// channels supported.
// 3. For each common codec, determine the common parameters, such as:
// a. For H.264/AVC, the minimum profile-level-id and common
// packetization-mode.
// 3. For each common audio codec, determine:
// a. For channels, the minimum of the local and remote values.
// b. For maxptime, the minimum of the local and remote maxptime.
// c. For ptime, the remote ptime if it is less than the computed maxptime
// in step b); otherwise choose the local ptime.
// 4. For each common codec, determine the common parameters, such as:
// a. For H.264/AVC, the minimum of the local and remote
// profile-level-id (the packetization-mode must match for it
// to be considered a common codec).
// b. For Opus, usedtx and useinbandfec set to one if both sides
// support that, otherwise zero.
// 4. Determine the common robustness (forward error correction and
// 5. Determine the common robustness (forward error correction and
// retransmission) mechanisms.
// 5. Determine the payloadType to be used, based on the receiver
// 6. Determine the payloadType to be used, based on the remote
// preferredPayloadType.
}

Expand Down