From 99efa5cfa34c3f9d38b75352881acdfc99508ebf Mon Sep 17 00:00:00 2001 From: tristantheb Date: Fri, 2 Apr 2021 13:50:14 +0200 Subject: UPDATE: FR-ONLY - Remove all old CompatibilityTable to replace with {{Compat()}} (#311) * UPDATE: Removing CompatibilityTable script - Part 1 * UPDATE: Removing CompatibilityTable script - Part 2 * UPDATE: Removing CompatibilityTable script - Part 3 * UPDATE: Removing CompatibilityTable script - Part 4 * UPDATE: Removing CompatibilityTable script - Part 5/5 * FIX: Repair the EOL of one page * FIX: Fix conflicting file --- files/fr/web/api/rtciceserver/index.html | 99 ++++++++------------------------ 1 file changed, 24 insertions(+), 75 deletions(-) (limited to 'files/fr/web/api/rtciceserver/index.html') diff --git a/files/fr/web/api/rtciceserver/index.html b/files/fr/web/api/rtciceserver/index.html index 20b0619bcd..b5965fc34b 100644 --- a/files/fr/web/api/rtciceserver/index.html +++ b/files/fr/web/api/rtciceserver/index.html @@ -46,92 +46,41 @@ translation_of: Web/API/RTCIceServer "token" - The credential is an access token to be used with a third-party authentication system. + La créance est un jeton d'accès à utiliser avec un système d'authentification tiers. -

Example

- -

The configuration below establishes two ICE servers. The first one, stun:stun.services.mozilla.com, requires authentication, so the username and password are provided. The second server has two URLs: stun:stun.example.com and stun:stun-1.example.com.

- -
var configuration = { iceServers: [{
-                          urls: "stun:stun.services.mozilla.com",
-                          username: "louis@mozilla.com",
-                          credential: "webrtcdemo"
-                      }, {
-                          urls: [
-                                  "stun:stun.example.com",
-                                  "stun:stun-1.example.com"
-                          ]
-                      }]
+

Exemple

+ +

La configuration ci-dessous établit deux serveurs ICE. Le premier, stun:stun.services.mozilla.com, nécessite une authentification, le nom d'utilisateur et le mot de passe sont donc fournis. Le second serveur a deux URLs : stun:stun.example.com et stun:stun-1.example.com.

+ +
var configuration = {
+  iceServers: [{
+    urls: "stun:stun.services.mozilla.com",
+    username: "louis@mozilla.com",
+    credential: "webrtcdemo"
+  }, {
+    urls: [
+      "stun:stun.example.com",
+      "stun:stun-1.example.com"
+    ]
+   }]
 };
 
 var pc = new RTCPeerConnection(configuration);
-

Once the configuration object has been created, it is passed into the {{domxref("RTCPeerConnection.RTCPeerConnection", "RTCPeerConnection()")}} constructor to use it as the configuration for the new peer connection.

- -

Browser compatibility

- -
{{CompatibilityTable}}
+

Une fois l'objet de configuration créé, il est passé dans le constructeur {{domxref("RTCPeerConnection.RTCPeerConnection", "RTCPeerConnection()")}} pour l'utiliser comme configuration de la nouvelle connexion entre pairs.

-
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatVersionUnknown}}{{CompatGeckoDesktop(22)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
+

Compatibilité des navigateurs

-
- - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidAndroid WebviewFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
Basic support{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile(24)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}
-
+

{{Compat("api.RTCIceServer")}}

-

See also

+

Voir aussi

-- cgit v1.2.3-54-g00ecf