Lyubomir Marinov пре 9 година
родитељ
комит
66f2a26a37
2 измењених фајлова са 16 додато и 4 уклоњено
  1. 2
    1
      JitsiConferenceEvents.js
  2. 14
    3
      JitsiConnectionEvents.js

+ 2
- 1
JitsiConferenceEvents.js Прегледај датотеку

@@ -85,7 +85,8 @@ var JitsiConferenceEvents = {
85 85
      */
86 86
     CONFERENCE_ERROR: "conference.error",
87 87
     /**
88
-     * Indicates that conference has been joined.
88
+     * Indicates that conference has been joined. The event does NOT provide any
89
+     * parameters to its listeners.
89 90
      */
90 91
     CONFERENCE_JOINED: "conference.joined",
91 92
     /**

+ 14
- 3
JitsiConnectionEvents.js Прегледај датотеку

@@ -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
     /**

Loading…
Откажи
Сачувај