Browser Streaming Robot project

Are there two web servers ?
One for the control and one for the live streaming ?

$(document).ready(function() {

         webSocketURL = "http://" + window.location.hostname + ":98/robot_control";
         cameraURL = "http://" + window.location.hostname + ":8080/?action=stream";
         socket = new SockJS( webSocketURL );
         var shutdownComplete = false;

Can you please explain me how this works ?
Thank you and best regards,

Hey Raul,
There is a tornado web server that actually serves the webpage and takes the user input. The camera streaming is done by another server specifically used for streaming called mjpeg-streamer. So we just embed the stream from mjpeg-streamer into the webpage hosted by tornado.