diff --git a/src/main/webapp/whip.html b/src/main/webapp/whip.html index bd5d6e8e..04d040c6 100644 --- a/src/main/webapp/whip.html +++ b/src/main/webapp/whip.html @@ -1,149 +1,192 @@ + - Webcam ingest - + WebRTC Samples > WHIP Publish + + + + + + +
+
+
+

WebRTC Samples > WHIP Publish

+
+
+ +
+
+ +
+ +
+ +
+ Status: offline +
+
+ +
+ +
+
+ + +
+ + + + + + + } + } + else { + document.getElementById("playLink").style.display = "none"; + document.getElementById("playLinkPlaceHolder").style.display = "block"; + } + }); + + + client.ingest(mediaStream).then(function () { + console.log("Ingesting"); + }) + .catch(function (err) { + console.error(err); + }); + } + } + + function stop() { + client.destroy(); + setStatus("offline"); + button.innerHTML = "Start"; + document.getElementById("playLink").style.display = "none"; + document.getElementById("playLinkPlaceHolder").style.display = "block"; + + client = null; + } + + init(); + + window.buttonClicked = buttonClicked; + window.client = client; + + - \ No newline at end of file +