    }

        // Listen for messages from the iframe
        var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
        var eventer = window[eventMethod];
        var messageEvent = eventMethod === "attachEvent" ? "onmessage" : "message";

		eventer(messageEvent, function(e) {
			// Check if the message is from our iframe
			if (iframe && e.source == iframe.contentWindow) {
				// Process data from the WebRTC data channel
				if (e.data && e.data.dataReceived) {
			