 @objc(iosrtcPlugin) // This class must be accesible from Objective-C.
 class iosrtcPlugin : CDVPlugin {
 	// RTCPeerConnectionFactory single instance.
-	var rtcPeerConnectionFactory: RTCPeerConnectionFactory
+	var rtcPeerConnectionFactory: RTCPeerConnectionFactory!
 	// Single PluginGetUserMedia instance.
-	var pluginGetUserMedia: PluginGetUserMedia;
+	var pluginGetUserMedia: PluginGetUserMedia!
 	// PluginRTCPeerConnection dictionary.
 	var pluginRTCPeerConnections: [Int : PluginRTCPeerConnection] = [:]
 	// PluginMediaStream dictionary.



	// This is just called if <param name="onload" value="true" /> in plugin.xml.
	override init(webView: UIWebView) {
		NSLog("iosrtcPlugin#init()")

		// Initialize DTLS stuff.
		RTCPeerConnectionFactory.initializeSSL()

		self.pluginGetUserMedia = PluginGetUserMedia(
			rtcPeerConnectionFactory: rtcPeerConnectionFactory
		)
	}


