Skip to main content

5. Handling the Initial ICE Description and Generating the Initial ICE Response (处理初始ICE描述并生成初始ICE响应)

🇨🇳 中文

当响应方收到初始ICE描述时,它将首先检查ICE描述或发起方是否如第3节所述指示支持Trickle ICE。如果不支持,响应方必须 (MUST) 根据常规ICE过程 [RFC8445] 处理初始ICE描述(或者,如果根本没有检测到ICE支持,则根据使用协议的相关处理规则,例如提供/应答处理规则 [RFC3264])。但是,如果确认支持Trickle ICE,响应方将自动假定也支持常规ICE。

如果初始ICE描述指示支持Trickle ICE,响应方将确定其角色并开始收集和优先排序候选地址;在执行此操作时,它还将通过传递初始ICE响应来做出响应,以便发起方和响应方都可以形成检查列表并开始连接性检查。

响应方可以在收集候选地址期间的任何时间点响应初始ICE描述。初始ICE响应可以 (MAY) 包含任何候选地址集,包括所有候选地址或不包含候选地址。(不包含候选地址的好处是尽快传递初始ICE响应,以便双方可以尽快认为ICE会话处于积极协商状态。)

如第3节所述,在使用SDP的协议中,初始ICE响应可以通过在ice-options属性中包含'trickle'令牌来指示对Trickle ICE的支持。


🇬🇧 English

When a responder receives the initial ICE description, it will first check if the ICE description or initiator indicates support for Trickle ICE as explained in Section 3. If not, the responder MUST process the initial ICE description according to regular ICE procedures [RFC8445] (or, if no ICE support is detected at all, according to relevant processing rules for the using protocol, such as Offer/Answer processing rules [RFC3264]). However, if support for Trickle ICE is confirmed, a responder will automatically assume support for regular ICE as well.

If the initial ICE description indicates support for Trickle ICE, the responder will determine its role and start gathering and prioritizing candidates; while doing so, it will also respond by conveying an initial ICE response, so that both the initiator and the responder can form checklists and begin connectivity checks.

A responder can respond to the initial ICE description at any point while gathering candidates. The initial ICE response MAY contain any set of candidates, including all candidates or no candidates. (The benefit of including no candidates is to convey the initial ICE response as quickly as possible, so that both parties can consider the ICE session to be under active negotiation as soon as possible.)

As noted in Section 3, in using protocols that use SDP, the initial ICE response can indicate support for Trickle ICE by including a token of 'trickle' in the ice-options attribute.


🇯🇵 日本語

レスポンダが初期ICE記述を受信すると、第3節で説明されているように、ICE記述または開始者がTrickle ICEのサポートを示しているかどうかを最初に確認します。サポートしていない場合、レスポンダは通常のICE手順 [RFC8445] に従って初期ICE記述を処理しなければなりません (MUST)(または、ICEサポートがまったく検出されない場合は、オファー/アンサー処理規則 [RFC3264] などの使用プロトコルの関連処理規則に従います)。ただし、Trickle ICEのサポートが確認された場合、レスポンダは通常のICEのサポートも自動的に想定します。

初期ICE記述がTrickle ICEのサポートを示している場合、レスポンダは自身の役割を決定し、候補の収集と優先順位付けを開始します。その際、初期ICE応答を伝達することで応答し、開始者とレスポンダの両方がチェックリストを形成し、接続性チェックを開始できるようにします。

レスポンダは、候補を収集している間のどの時点でも初期ICE記述に応答できます。初期ICE応答には、すべての候補または候補なしを含む任意の候補セットを含めることができます (MAY)。(候補を含めない利点は、初期ICE応答をできるだけ早く伝達し、両当事者ができるだけ早くICEセッションが積極的に交渉中であると見なせるようにすることです。)

第3節で述べたように、SDPを使用するプロトコルでは、初期ICE応答はice-options属性に'trickle'トークンを含めることによってTrickle ICEのサポートを示すことができます。


🇫🇷 Français

Lorsqu'un répondeur reçoit la description ICE initiale, il vérifie d'abord si la description ICE ou l'initiateur indique le support de Trickle ICE comme expliqué dans la section 3. Si ce n'est pas le cas, le répondeur doit (MUST) traiter la description ICE initiale selon les procédures ICE régulières [RFC8445] (ou, si aucun support ICE n'est détecté du tout, selon les règles de traitement pertinentes pour le protocole d'utilisation, telles que les règles de traitement Offre/Réponse [RFC3264]). Cependant, si le support de Trickle ICE est confirmé, un répondeur supposera automatiquement le support de l'ICE régulier également.

Si la description ICE initiale indique le support de Trickle ICE, le répondeur déterminera son rôle et commencera à collecter et à hiérarchiser les candidats ; ce faisant, il répondra également en transmettant une réponse ICE initiale, afin que l'initiateur et le répondeur puissent former des listes de vérification et commencer les vérifications de connectivité.

Un répondeur peut répondre à la description ICE initiale à tout moment pendant la collecte des candidats. La réponse ICE initiale peut (MAY) contenir n'importe quel ensemble de candidats, y compris tous les candidats ou aucun candidat. (L'avantage de n'inclure aucun candidat est de transmettre la réponse ICE initiale aussi rapidement que possible, afin que les deux parties puissent considérer la session ICE comme étant en négociation active le plus tôt possible.)

Comme noté dans la section 3, dans les protocoles d'utilisation qui utilisent SDP, la réponse ICE initiale peut indiquer le support de Trickle ICE en incluant un jeton 'trickle' dans l'attribut ice-options.


🇩🇪 Deutsch

Wenn ein Responder die anfängliche ICE-Beschreibung erhält, überprüft er zunächst, ob die ICE-Beschreibung oder der Initiator die Unterstützung für Trickle ICE anzeigt, wie in Abschnitt 3 erläutert. Wenn nicht, muss (MUST) der Responder die anfängliche ICE-Beschreibung gemäß den regulären ICE-Verfahren [RFC8445] verarbeiten (oder, wenn überhaupt keine ICE-Unterstützung erkannt wird, gemäß relevanten Verarbeitungsregeln für das verwendende Protokoll, wie z. B. Angebot/Antwort-Verarbeitungsregeln [RFC3264]). Wenn jedoch die Unterstützung für Trickle ICE bestätigt wird, geht ein Responder automatisch auch von der Unterstützung für reguläres ICE aus.

Wenn die anfängliche ICE-Beschreibung die Unterstützung für Trickle ICE anzeigt, bestimmt der Responder seine Rolle und beginnt mit dem Sammeln und Priorisieren von Kandidaten; dabei antwortet er auch, indem er eine anfängliche ICE-Antwort übermittelt, sodass sowohl der Initiator als auch der Responder Checklisten bilden und Konnektivitätsprüfungen beginnen können.

Ein Responder kann zu jedem Zeitpunkt während des Sammelns von Kandidaten auf die anfängliche ICE-Beschreibung antworten. Die anfängliche ICE-Antwort kann (MAY) eine beliebige Menge von Kandidaten enthalten, einschließlich aller Kandidaten oder keiner Kandidaten. (Der Vorteil, keine Kandidaten einzuschließen, besteht darin, die anfängliche ICE-Antwort so schnell wie möglich zu übermitteln, sodass beide Parteien die ICE-Sitzung so früh wie möglich als aktiv verhandelt betrachten können.)

Wie in Abschnitt 3 erwähnt, kann in Protokollen, die SDP verwenden, die anfängliche ICE-Antwort die Unterstützung für Trickle ICE anzeigen, indem sie ein 'trickle'-Token im ice-options-Attribut enthält.


🇮🇹 Italiano

Quando un risponditore riceve la descrizione ICE iniziale, verificherà innanzitutto se la descrizione ICE o l'iniziatore indica il supporto per Trickle ICE come spiegato nella sezione 3. In caso contrario, il risponditore deve (MUST) elaborare la descrizione ICE iniziale secondo le procedure ICE regolari [RFC8445] (o, se non viene rilevato alcun supporto ICE, secondo le regole di elaborazione pertinenti per il protocollo di utilizzo, come le regole di elaborazione Offerta/Risposta [RFC3264]). Tuttavia, se il supporto per Trickle ICE è confermato, un risponditore assumerà automaticamente anche il supporto per l'ICE regolare.

Se la descrizione ICE iniziale indica il supporto per Trickle ICE, il risponditore determinerà il suo ruolo e inizierà a raccogliere e dare priorità ai candidati; nel farlo, risponderà anche trasmettendo una risposta ICE iniziale, in modo che sia l'iniziatore che il risponditore possano formare checklist e iniziare i controlli di connettività.

Un risponditore può rispondere alla descrizione ICE iniziale in qualsiasi momento durante la raccolta dei candidati. La risposta ICE iniziale può (MAY) contenere qualsiasi insieme di candidati, inclusi tutti i candidati o nessun candidato. (Il vantaggio di non includere candidati è trasmettere la risposta ICE iniziale il più rapidamente possibile, in modo che entrambe le parti possano considerare la sessione ICE in negoziazione attiva il prima possibile.)

Come notato nella sezione 3, nei protocolli di utilizzo che usano SDP, la risposta ICE iniziale può indicare il supporto per Trickle ICE includendo un token 'trickle' nell'attributo ice-options.