is it possible to say a welcome message when a new...
# agents
k
is it possible to say a welcome message when a new participant connect into room? i want to play welcome message only for that newly connected participant.
r
Yes you can monitor for participant joined even https://github.com/livekit/python-sdks/blob/main/examples/basic_room.py#L13 Then use something like agent.say(..., audio file) to play what you want. Or say a message.
k
@refined-appointment-81829 if i use agent.say() during participant joined, it play audio for all participants of the room. i just want to play the message only for one participant of the room. how can i do that?
r
Can you tell me more about your use case? You have multiple participants in a room with an agent?
k
never mind, i have solved the issue myself
r
great, glad you are all set now.