Skip to content

de-id/live-streaming-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streaming Live Demo by D-ID

  • (install express) Open a terminal in the folder and run - npm install
  • (add your API key) Edit the api.json inside the uncompressed folder and replace the emoji with your key
  • (select service) in the same api.json file, edit the service field to choose your avatar type, use talks for an avatar made from an image or clips to use a premade HQ avatar from a video

Start Streaming Demo:

  • (bring up the app) in the folder (ctr left click on folder through finder) open the terminal run node app.js
  • you should see this message - server started on port localhost:3000
  • (open the app) In the browser - localhost:3000
  • (connect) press connect you should see the connection ready
  • (stream) Press the start button to start streaming Streaming App

⭐ Start Input Streaming (web sockets) Demo [NEW!] ⭐

  • (bring up the app) in the folder (ctr left click on folder through finder) open the terminal run node app.js
  • you should see this message - server started on port localhost:3000
  • (open the app) In the browser - localhost:3000/ws-streaming
  • (stream) Press the "start word" button to start streaming word chunks, or "start audio" button to start streaming audio chunks.

About

Use D-ID's live streaming API to stream a talking presenter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11