Go to file
2022-08-26 10:01:08 +03:00
public LINXD-2180: Added recordings 2022-08-26 10:01:08 +03:00
server/ssl Added logs for callId 2022-08-02 07:09:05 +00:00
.env Added room it when close transport; Added ts config file 2022-08-11 11:33:16 +03:00
.gitignore Added logs for callId 2022-08-02 07:09:05 +00:00
.prettierrc first commit 2022-07-23 10:32:54 +03:00
app.js LINXD-2180: Added recordings 2022-08-26 10:01:08 +03:00
docker-compose.yml Added docker and docker-compose files 2022-07-30 09:53:40 +03:00
Dockerfile Added docker and docker-compose files 2022-07-30 09:53:40 +03:00
package-lock.json LINXD-2180: Added recordings 2022-08-26 10:01:08 +03:00
package.json LINXD-2180: Added recordings 2022-08-26 10:01:08 +03:00
README.md Update package.json(build/dev start commands); Added README 2022-08-09 18:58:17 +03:00
tsconfig.json Added room it when close transport; Added ts config file 2022-08-11 11:33:16 +03:00

Video server

Development

To start in development mode you must:
  1. Install the dependencies npm install.
  2. Run the npm start:dev command to start the server in dev mode. (Any change will trigger a refresh of the server)

Production

To start in production mode you must:
  1. Install the dependencies npm install.
  2. Run the npm start:prod command to start the server in production mode. (To connect to the terminal, use pm2 log video-server)

  • The server will start by default on port 3000, and the ssl certificates will have to be configured
  • The web client can be accessed using the /sfu path ex: http://localhost:3000/sfu/?assetId=1&&accountId=1&producer=true&assetName=Adi&assetType=linx assetId = asset id of the unit on which you are doing the test accountId = account id of the unit on which you are doing the test producer = it will always be true because you are the producer (it's possible to put false, but then you have to have another client with producer true) assetName = asset name of the unit on which you are doing the test assetType = asset type of the unit on which you are doing the test