hello i try to deploy a angular server on a rpi4 but i have a problem with a webrtc feature
but when i deploy my server i have an error “navigator.mediaDevices” is undifined
FROM balenalib/%%BALENA_ARCH%%-node:14-buster-run
WORKDIR /usr/src/app
RUN npm install -g angular-http-server
COPY . ./
CMD ["npm", "run", "start:prod"]
my command in package.json : "start:prod": "angular-http-server --path dist/front"
Do you have any idea
i can send you more information
Hi
That’s good it works locally.
Do you have the PUBLIC DEVICE URL enabled in the dashboard? That should be https…
Did you add that URL to cors whitelist?
I can Send you the public IP tomorow
An what whitelist?
I have cors whitelist on my nodejs server and it works well, angular and nodejs communicate When it deploy