Closed birme closed 2 years ago
This PR addresses #41 and enables support for TLS termination for WHIP and Broadcaster endpoints.
const endpoint = new WHIPEndpoint({ port: 443, hostname: "whip.lab.eyevinn", https: true, tls: { key: fs.readFileSync("./server-key.pem"), cert: fs.readFileSync("./server-cert.pem"), }, iceServers: iceServers, enabledWrtcPlugins: [ "broadcaster" ], });
This PR addresses #41 and enables support for TLS termination for WHIP and Broadcaster endpoints.