add endpointing for online websocket server (#294)

This commit is contained in:
Fangjun Kuang
2023-08-31 14:41:04 +08:00
committed by GitHub
parent 2b0152d2a2
commit a0a747a0c0
4 changed files with 27 additions and 2 deletions

View File

@@ -68,6 +68,8 @@ class OnlineStream {
// The returned reference is valid as long as this object is alive.
int32_t &GetNumProcessedFrames();
int32_t &GetCurrentSegment();
void SetResult(const OnlineTransducerDecoderResult &r);
OnlineTransducerDecoderResult &GetResult();