embedBackendAudioTranscriptionLiveStreamClient is the caller-facing side. It mirrors the server-side stream over the same channels.
| 476 | // embedBackendAudioTranscriptionLiveStreamClient is the caller-facing side. |
| 477 | // It mirrors the server-side stream over the same channels. |
| 478 | type embedBackendAudioTranscriptionLiveStreamClient struct { |
| 479 | ctx context.Context |
| 480 | reqs chan<- *pb.TranscriptLiveRequest |
| 481 | resps <-chan *pb.TranscriptLiveResponse |
| 482 | srvDone <-chan error |
| 483 | closeOnce bool |
| 484 | } |
| 485 | |
| 486 | func (e *embedBackendAudioTranscriptionLiveStreamClient) Send(req *pb.TranscriptLiveRequest) error { |
| 487 | select { |
nothing calls this directly
no outgoing calls
no test coverage detected