|
|
@@ -22,6 +22,9 @@ var XMPPEvents = {
|
|
22
|
22
|
// Designates an event indicating that the media (ICE) connection was
|
|
23
|
23
|
// restored. This should go to the RTC module.
|
|
24
|
24
|
CONNECTION_RESTORED: "xmpp.connection.restored",
|
|
|
25
|
+ // Designates an event indicating that the media (ICE) connection failed.
|
|
|
26
|
+ // This should go to the RTC module.
|
|
|
27
|
+ CONNECTION_ICE_FAILED: "xmpp.connection.ice.failed",
|
|
25
|
28
|
// TODO: only used in a hack, should probably be removed.
|
|
26
|
29
|
CREATE_ANSWER_ERROR: 'xmpp.create_answer_error',
|
|
27
|
30
|
/**
|
|
|
@@ -103,7 +106,7 @@ var XMPPEvents = {
|
|
103
|
106
|
* Event fired when we remote track is added to the conference.
|
|
104
|
107
|
* The following structure is passed as an argument:
|
|
105
|
108
|
* {
|
|
106
|
|
- * stream: the WebRTC MediaStream instance
|
|
|
109
|
+ * stream: the WebRTC MediaStream instance
|
|
107
|
110
|
* track: the WebRTC MediaStreamTrack
|
|
108
|
111
|
* mediaType: the MediaType instance
|
|
109
|
112
|
* owner: the MUC JID of the stream owner
|
|
|
@@ -113,7 +116,7 @@ var XMPPEvents = {
|
|
113
|
116
|
REMOTE_TRACK_ADDED: "xmpp.remote_track_added",
|
|
114
|
117
|
/**
|
|
115
|
118
|
* Indicates that the remote track has been removed from the conference.
|
|
116
|
|
- * 1st event argument is the ID of the parent WebRTC stream to which
|
|
|
119
|
+ * 1st event argument is the ID of the parent WebRTC stream to which
|
|
117
|
120
|
* the track being removed belongs to.
|
|
118
|
121
|
* 2nd event argument is the ID of the removed track.
|
|
119
|
122
|
*/
|