audioslides / audioslides.io

Use Amazon Polly, Google Slides and FFMpeg to create videos that can be updated at anytime by anyone. This project is written in Elixir.
https://audioslides.io/
MIT License
27 stars 3 forks source link

feat(video-generation): update status in UI via websocket #17

Open robinboehm opened 6 years ago

robinboehm commented 6 years ago

Track current state of the image-, audio- and video-generation via websocket in the web-ui.

let exampleTypes = `
     NEEDS_UPDATE -> UPDATING -> UP_TO_DATE
  `;

let exampleState = {
  lesson_id: 123,
  video_state: "NEEDS_UPDATE",
  slides: [
    {
      slide_id: 123,
      video_state: "UP_TO_DATE",
      audio_state: "UP_TO_DATE",
      image_state: "UP_TO_DATE",
    }
  ]
}
sbrink commented 6 years ago

Please create two versions: