We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 252abce commit 630470eCopy full SHA for 630470e
examples/rt/async/multi_chan/main.py
@@ -15,7 +15,7 @@ async def main():
15
async with AsyncMultiChannelClient() as client:
16
@client.on(ServerMessageType.ADD_TRANSCRIPT)
17
def handle_transcript(msg):
18
- channel = msg['results'][0]['channel']
+ channel = msg.get('channel')
19
transcript = msg['metadata']['transcript']
20
print(f"[{channel}]: {transcript}")
21
0 commit comments