Discussions

Ask a Question
Back to All

Can I setup WebRTC client on the client but make API calls from the server?

The idea is pretty simple, I don't want to expose the key. I'm using Next and trying to proxy calls to the API. Everything works on the client, it's tested, but when I switch to the proxy approach D-ID server gives me only 502 for everything except the first request (/talks/streams).

Can I setup WebRTC client on the client but make API calls from the server?