|
|
@@ -4,15 +4,26 @@
|
|
4
|
4
|
*/
|
|
5
|
5
|
var JitsiConnnectionEvents = {
|
|
6
|
6
|
/**
|
|
7
|
|
- * Indicates that the connection has been failed for some reason.
|
|
|
7
|
+ * Indicates that the connection has been failed for some reason. The event
|
|
|
8
|
+ * proivdes the following parameters to its listeners:
|
|
|
9
|
+ *
|
|
|
10
|
+ * @param err {string} the error (message) associated with the failure
|
|
8
|
11
|
*/
|
|
9
|
12
|
CONNECTION_FAILED: "connection.connectionFailed",
|
|
10
|
13
|
/**
|
|
11
|
|
- * Indicates that the connection has been established.
|
|
|
14
|
+ * Indicates that the connection has been established. The event provides
|
|
|
15
|
+ * the following parameters to its listeners:
|
|
|
16
|
+ *
|
|
|
17
|
+ * @param id {string} the ID of the local endpoint/participant/peer (within
|
|
|
18
|
+ * the context of the established connection)
|
|
12
|
19
|
*/
|
|
13
|
20
|
CONNECTION_ESTABLISHED: "connection.connectionEstablished",
|
|
14
|
21
|
/**
|
|
15
|
|
- * Indicates that the connection has been disconnected.
|
|
|
22
|
+ * Indicates that the connection has been disconnected. The event provides
|
|
|
23
|
+ * the following parameters to its listeners:
|
|
|
24
|
+ *
|
|
|
25
|
+ * @param msg {string} a message associated with the disconnect such as the
|
|
|
26
|
+ * last (known) error message
|
|
16
|
27
|
*/
|
|
17
|
28
|
CONNECTION_DISCONNECTED: "connection.connectionDisconnected",
|
|
18
|
29
|
/**
|