Skip to main content

localTrackStopped

When stopAudio() or stopVideo() methods are called, this event is emitted.

When stopAudio() or stopVideo() method is called, this event is emitted.

JavaScript
meeting.on("localTrackStopped", function(localTrackItem) {

});

Properties

localTrackItem is an object that contains the following properties

PropertyDescriptionType
typetype can be audio or videostring
streamIdunique streamId associated with the audio or video streamstring
trackMediaStreamTrack to add to a video tag you would need to convert it into a MediaStream objectobject