Real-time video and voice for an AI bank teller
For a service in which an on-screen AI bank teller in branches understands what customers say and explains products such as deposits, savings, and loans by voice and video, we built the app-side segment that sends the customer's voice to the server and receives and plays the AI-generated video response of a teller. If the video starts late after the customer finishes speaking, the exchange stops feeling like a conversation and becomes waiting, so the focus was on cutting the delay between sending voice and receiving video. We designed each stage separately: capturing and compressing microphone input, streaming it to the server over a live connection, and playing the returned video right away. Speech recognition and video synthesis run on the server; our scope was the app.
Voice input gathered without gaps while the customer speaks
The AI bank teller app captures what the customer says into the microphone in real time and turns it into raw audio data suited for sending to the server. We tuned the input buffer and the timing of sends so the audio does not break up or lag while the customer is speaking. Speech recognition happens on the server, so any sound the app misses, the AI never hears.

Streaming that shrinks the voice and sends it over a live connection
The AI bank teller app compresses the raw audio with a speech-specific codec before sending it to the server. We organized the compression step and the flow of data packets to cut the amount sent over the network while keeping the quality speech recognition needs. The compressed voice streams continuously over a live connection held open with the server. Exceptions such as connection status, failed sends, drops, and reconnecting were built into the flow.

Response playback that picks up the server-made teller video at once
The AI bank teller's answer comes back as a synthesized video made on the server. The app receives this video through a low-latency real-time video protocol and plays it. The teller in the video is a virtual person modeled on a real one, speaking in response to the customer's question through voice and video synthesis. The app handles video reception, playback state, and what is shown on screen so the response follows naturally once the customer stops speaking. The focus was on reducing needless waits and state mismatches between the side that sends voice and the side that receives video.

A seven-stage pipeline from microphone to video
Voice and video handling for the AI bank teller runs through seven stages: microphone input, raw audio conversion, speech compression, streaming over a live connection, server processing, video reception, and on-screen playback. Six of them, all except server processing, are the app's work, and we kept them separate so that when a problem occurs, the stage it came from can be traced on its own. In a service where response delay turns directly into frustration, cutting needless waits between stages was the design standard.

Highlights
Live streaming that compresses microphone audio and sends it to the server without gaps
Low-latency receipt and immediate playback of the teller video the server generates
A pipeline split into stages from microphone to video, so problems can be traced
Insights
오픈소스 라이선스: 인기 도구 18개의 허용 범위
GitHub에서 별이 많은 도구를 하나 골랐습니다. 저장소가 공개되어 있고 설치도 무료입니다. 그런데 이 도구로 고객에게 서비스를 팔아도 되는지는 별 개수가 알려 주지 않습니다. 흔히 소스가 공개되어 있으면 상업적으로 자유롭게 써도…
WhisperX, FFmpeg, HyperFrames: 자막 영상 제작의 역할 분담
녹음이 들어 있는 영상 하나를 받아쓰면 글은 금방 나옵니다. 그런데 그 글을 화면에 올리려는 순간 질문이 늘어납니다. 이 단어는 몇 초에 나와야 하는지, 지금 말하는 사람이 누구인지, 글자는 어떤 모양으로 움직여야 하는지를 받아쓴 글…
도커와 비슷한 도구들: 어느 겹을 바꾸고 싶은지로 나누는 기준
시놀로지 패키지 센터에는 Docker가 없고 Container Manager가 있습니다. DSM 7.2에서 Docker 패키지의 이름이 Container Manager로 바뀌었기 때문입니다. 이름만 보면 도커와 다른 제품 같은데, 그…
많이 쓰는 CLI 모음: 클라우드, 컨테이너, 개발, AI, 일상 도구 정리
개발 문서를 읽다 보면 어느 쪽 설명이든 코드 블록 한 줄로 끝납니다. 화면에서 저장소를 열고 Pull requests 탭을 누르는 일을 명령 두 줄로 바꾼 것입니다. 첫 줄은 열려 있는 Pull Request 목록을 터미널에 찍고,…



