You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+19-11
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ This plugin contains :
20
20
-[Parameters](#parameters)
21
21
-[**src**](#src)
22
22
-[**type**](#type)
23
-
-[**iceservers**](#iceservers)
23
+
-[**iceserver**](#iceserver)
24
24
-[**audiobutton**](#audiobutton)
25
25
-[**data**](#data)
26
26
-[Source Object](#source-object)
@@ -86,11 +86,13 @@ The following options can be set in the query:
86
86
87
87
**It is important for the MIME-type to be empty to use the WebRTC source.**
88
88
89
-
#### **iceservers**
89
+
#### **iceserver**
90
90
91
-
Ice-servers (STUN, TURN) structure in JSON string format to establish a WebRTC connection.
91
+
[Ice-server](https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/RTCPeerConnection#iceservers) structure in JSON string format with TURN URL used to establish the WebRTC connection, mainly for TCP fallback.
92
92
93
-
**Note:** Do not enclose the object in an array.
93
+
> Do not enclose the object in an array.
94
+
> If you have multiple TURN servers, you can add them in the `urls` array.
95
+
> **If not set, the plugin will use the default TURN server of the Ceeblue Cloud.**
94
96
95
97
**Example:**
96
98
@@ -130,7 +132,7 @@ Call the `player.src()` method with a WebRTC URL.
0 commit comments