Discussions

Ask a Question
Back to All

Integrating a Server in Media Streaming Using D-ID's API

I am working on a project that utilizes D-ID's API for media streaming. The current code example you provide on GitHub is focused on streaming media directly from the client to your API. However, I am interested in keeping my Secret Key on the server side for security purposes.

Do you have any examples or guides on integrating a server into this process? I'm looking to create a triangular communication setup: the client sends a request to my server, my server then makes the call to your API using the Secret Key, and finally, the response is relayed back to the client. However, I want the media streaming to occur directly between the client and your server.

Thank you in advance for any help or information you can provide.