We highly recommend that you also include the /scripts/app.js file as well. Do not modify this JavaScript file unless absolutely necessary. This file handles communication between the browser and the Unreal Engine application, receiving and showing the media stream from the server.
You must include the /scripts/webRtcPlayer.js file. Your custom HTML player page must follow a few minimal requirements.