 	}
 
 	@objc(MediaStream_init:) func MediaStream_init(_ command: CDVInvokedUrlCommand) {
-		
+		NSLog("iosrtcPlugin#MediaStream_init()")
+
 		let streamId = command.argument(at: 0) as! String
-		
+
 		if self.pluginMediaStreams[streamId] == nil {
 			let rtcMediaStream : RTCMediaStream = self.rtcPeerConnectionFactory.mediaStream(withStreamId: streamId)
 			let pluginMediaStream = PluginMediaStream(rtcMediaStream: rtcMediaStream)
 			pluginMediaStream.run()
-		
+
 			self.saveMediaStream(pluginMediaStream)
+		} else {
+			NSLog("iosrtcPlugin#MediaStream_init() | ERROR: pluginMediaStream with id=%@ already exist", String(streamId))
 		}
 	}
 

			pluginMediaStreamTrack?.stop()
		}
	}
	
	@objc(new_MediaStreamRenderer:) func new_MediaStreamRenderer(_ command: CDVInvokedUrlCommand) {
		NSLog("iosrtcPlugin#new_MediaStreamRenderer()")



		// Create a RTCPeerConnectionFactory.
		self.initPeerConnectionFactory();

		// Create a PluginGetUserMedia instance.
		self.pluginGetUserMedia = PluginGetUserMedia(
			rtcPeerConnectionFactory: rtcPeerConnectionFactory
