 	var onCreateDescriptionFailureCallback: ((error: NSError) -> Void)!
 	var onSetDescriptionSuccessCallback: (() -> Void)!
 	var onSetDescriptionFailureCallback: ((error: NSError) -> Void)!
-    var onGetStatsCallback: ((array: NSArray) -> Void)!
+
 
 	init(
 		rtcPeerConnectionFactory: RTCPeerConnectionFactory,

		)
	}

func getStats(
        pluginMediaStreamTrack: PluginMediaStreamTrack?,
        callback: (data: NSArray) -> Void,
        errback: (error: NSError) -> Void
        ) {
            NSLog("PluginRTCPeerConnection#getStats()")

            self.onGetStatsCallback = { (array: NSArray) -> Void in
                callback(data: array)
            }

            if !self.rtcPeerConnection.getStatsWithDelegate(self,
                mediaStreamTrack: pluginMediaStreamTrack?.rtcMediaStreamTrack,
                statsOutputLevel: RTCStatsOutputLevelStandard) {
                    errback(error: NSError(domain: "Cannot get peer connection stats.", code: -1, userInfo: nil))
            }
    }

	func close() {
		NSLog("PluginRTCPeerConnection#close()")

	) {
		NSLog("PluginRTCPeerConnection#RTCDataChannel_setListener()")

		weak var pluginRTCDataChannel = self.pluginRTCDataChannels[dcId]

		if pluginRTCDataChannel == nil {
			return;
