From 6d269bbb75dff5bd1ad078d5ea8c04eb11c43b83 Mon Sep 17 00:00:00 2001 From: nielsbaloe Date: Sat, 1 Jun 2019 13:49:23 +0200 Subject: [PATCH] typo --- index.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index cac4748..0f9ea49 100644 --- a/index.php +++ b/index.php @@ -7,7 +7,7 @@ session_start(); // Websocket-hack: 'eventsource' in the URL is used to distinguish -// the HTML form the real eventsource calls +// the HTML from the real eventsource calls if (!isset($_GET['eventSource'])) { // show HTML CSS and Javascript ?> @@ -65,7 +65,7 @@ if (!isset($_GET['eventSource'])) { // show HTML CSS and Javascript localVideo.srcObject = stream; localStream = stream; - ws = new EventSource(URL); + ws = new EventSource(URL); // Websocket-hack: EventSource does not have a 'send()' // so I use an ajax-xmlHttpRequest for posting data @@ -85,7 +85,7 @@ if (!isset($_GET['eventSource'])) { // show HTML CSS and Javascript } - // Websocket-hack: onmessage is extended for receiving + // Websocket-hack: onmessage is extended for receiving // multiple events at once for speed, because the polling // frequency of EventSource is just once every few seconds. ws.onmessage = function(e) { @@ -205,7 +205,7 @@ if (!isset($_GET['eventSource'])) { // show HTML CSS and Javascript