added sample_rate and num_channels to protobuf AudioRawFrame
This commit is contained in:
@@ -18,6 +18,8 @@ message TextFrame {
|
||||
|
||||
message AudioRawFrame {
|
||||
bytes audio = 1;
|
||||
uint32 sample_rate = 2;
|
||||
uint32 num_channels = 3;
|
||||
}
|
||||
|
||||
message TranscriptionFrame {
|
||||
|
||||
@@ -54,7 +54,6 @@ async def main():
|
||||
|
||||
@transport.event_handler("on_client_connected")
|
||||
async def on_client_connected(transport, client):
|
||||
print("AAAAAAAA")
|
||||
await task.queue_frame(TextFrame("Hello there!"))
|
||||
|
||||
runner = PipelineRunner()
|
||||
|
||||
Reference in New Issue
Block a user