Added web sockets
Changed index.js to add WebSockets to the server Changed index.html to add WebSockets to the client Install ws (web sockets) module
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "synchronized-video-streaming",
|
||||
"name": "wstest",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
@@ -9,6 +9,7 @@
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"express": "^4.18.2"
|
||||
"express": "^4.18.2",
|
||||
"ws": "^8.13.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user