- 캔버스로 동영상 프레임을 캡쳐한다.
- 텍스트를 입력 받는다. 해당 텍스트를 서버에 보내고 음성파일을 응답받는다.
Blob데이터는URL.createObjectURL()로 변환해서img,audio태그에 연결한다1.
- [JS] Blob와 Blob URL - 코드쓰는사람
- Handle Blobs requests with Axios the right way | by Marios Fakiolas | Medium
- Blob(블랍) 이해하기 | HEROPY
- File API 정리하기. 최근 FileReader 를 사용할 일이 생겨 File API 를 정리… | by 박성룡 ( Andrew park ) | Medium
Footnotes
-
URL.createObjectURL() | MDN: “creates a string containing a blob URL pointing to the object given in the parameter.” ↩