Permalink
Browse files

doc(RTCEvents): update track added/removed

  • Loading branch information...
paweldomas committed Feb 23, 2017
1 parent 328b3a2 commit 29c7582115b73fbe53aacb86e30403fb70e03e74
Showing with 2 additions and 11 deletions.
  1. +2 −11 service/RTC/RTCEvents.js
View
@@ -18,24 +18,15 @@ var RTCEvents = {
TRACK_ATTACHED: "rtc.track_attached",
/**
* Event fired when we remote track is added to the conference.
* The following structure is passed as an argument:
* {
* stream: the WebRTC MediaStream instance
* track: the WebRTC MediaStreamTrack
* mediaType: the MediaType instance
* owner: the MUC JID of the stream owner
* muted: a boolean indicating initial 'muted' status of the track or
* 'null' if unknown
* 1st event argument is the added <tt>JitsiRemoteTrack</tt> instance.
**/
REMOTE_TRACK_ADDED: "rtc.remote_track_added",
// FIXME get rid of this event in favour of NO_DATA_FROM_SOURCE event
// (currently implemented for local tracks only)
REMOTE_TRACK_MUTE: "rtc.remote_track_mute",
/**
* Indicates that the remote track has been removed from the conference.
* 1st event argument is the ID of the parent WebRTC stream to which
* the track being removed belongs to.
* 2nd event argument is the ID of the removed track.
* 1st event argument is the removed {@link JitsiRemoteTrack} instance.
*/
REMOTE_TRACK_REMOVED: "rtc.remote_track_removed",
// FIXME get rid of this event in favour of NO_DATA_FROM_SOURCE event

0 comments on commit 29c7582

Please sign in to comment.