Task: Configure a Local HTTPS Server for WebRTC mediaDevices API Access
Task: Configure a Local HTTPS Server for WebRTC mediaDevices API Access: a task in Terminal-Lego-15k (Harbor dataset). The navigator.mediaDevices API is only available in secure contexts (HTTPS or localhost). When serving a WebRTC application over plain HTTP on a local network IP address (e.g…
The task
The `navigator.mediaDevices` API is only available in secure contexts (HTTPS or localhost). When serving a WebRTC application over plain HTTP on a local network IP address (e.g., `192.168.x.x`), browsers will return `navigator.mediaDevices` as `undefined`. The solution is to set up a self-signed HTTPS server that…
Part of PrimeIntellect/Terminal-Lego-15k.