Skip to content

Deployment #3

Description

@rohitsx

created client build and set up Nginx for it.
Example:

root /var/www/html;
index index.html;

Also, you might run into issues with WebSocket support in the Nginx config, you’ll need to add some extra configuration for that.
For example, from another project:

location /ws {
 proxy_pass http://websocket:8080/;
 proxy_http_version 1.1;
 proxy_set_header Upgrade $http_upgrade;
 proxy_set_header Connection "Upgrade";
 proxy_set_header Host $host;
 proxy_set_header X-Real-IP $remote_addr;
 proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

 proxy_read_timeout 86400s;
 proxy_send_timeout 86400s;
 proxy_buffering off;
}

Get an SSL certificate otherwise, the camera won't work.

Also, this project only uses a STUN server, so it might not work in some cases. Try on different wifi, STUN server might fail. The proper solution would be to add a TURN server.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions