mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 09:49:28 +02:00
Add WebRTC
This commit is contained in:
parent
e5c41d4ff3
commit
5dc7bee07c
16 changed files with 285 additions and 164 deletions
|
@ -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();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue