1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00

Add WebRTC

This commit is contained in:
Daniel Neto 2025-01-12 19:51:04 -03:00
parent e5c41d4ff3
commit 5dc7bee07c
16 changed files with 285 additions and 164 deletions

View file

@ -93,6 +93,9 @@ function stopStreamToServer() {
}
}
function isWebcamServerConnected() {
return $('body').hasClass('WebcamServerConnected');
}
function setIsWebcamServerConnected() {
console.log('Connection success');
@ -290,5 +293,4 @@ $(document).ready(function () {
startWebRTC(); // Call the startWebRTC function
}
});
requestNotifications();
});