de-id / live-streaming-demo

Use D-ID's live streaming API to stream a talking presenter
MIT License
165 stars 136 forks source link

How to use WebRTC without revealing API key? #13

Closed SteveW117 closed 1 month ago

SteveW117 commented 11 months ago

Demo requires placing of key in api.json file, which would be readable by all users in a production environment...how can D-ID web services be used securely via WebRTC without compromising security in this way?

juberti commented 10 months ago

typically API vendors provide a way to get a temporary key to access the service directly from a web client, e.g., https://changelog.assemblyai.com/july-27th-2021/.

orgoro commented 1 month ago

we have a client key mechanism implemented in the agents API

check it out in studio.d-id.com/agents > create agent > embed