Skip to content
项目

de-id/live-streaming-demo

在 GitHub 查看

关于

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

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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 streamingStreaming 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.

探索相关项目

加载中…