 		eventListener: (data: NSDictionary) -> Void,
 		eventListenerForEnded: () -> Void
 	) {
-		NSLog("PluginMediaStreamTrack#setListener()")
+		NSLog("PluginMediaStreamTrack#setListener() [kind:\(self.kind), id:\(self.id)]")
 
 		self.eventListener = eventListener
 		self.eventListenerForEnded = eventListenerForEnded

	func mediaStreamTrackDidChange(rtcMediaStreamTrack: RTCMediaStreamTrack!) {
		let state_str = PluginRTCTypes.mediaStreamTrackStates[self.rtcMediaStreamTrack.state().rawValue] as String!

		NSLog("PluginMediaStreamTrack | state changed [state:\(state_str), enabled:\(self.rtcMediaStreamTrack.isEnabled() ? true : false)]")

		if self.eventListener != nil {
			self.eventListener!(data: [



	func setEnabled(value: Bool) {
		NSLog("PluginMediaStreamTrack#setEnabled() [kind:\(self.kind), id:\(self.id), value:\(value)]")

		self.rtcMediaStreamTrack.setEnabled(value)
	}


	func stop() {
		NSLog("PluginMediaStreamTrack#stop() [kind:\(self.kind), id:\(self.id)]")

		self.rtcMediaStreamTrack.setState(RTCTrackStateEnded)
	}
