thousands-football-71253
11/12/2025, 5:11 AMtall-airline-16756
11/12/2025, 5:11 AMtall-airline-16756
11/12/2025, 5:12 AMtrack_id for each participant’s audio.
• Participant Egress: Here, you can record all tracks (audio and video) from a specific participant by using their identity.
If you’d like, I’m happy to walk you through these methods or provide more details. Just let me know—I’m here to help!
Sources: cmd/lk/egress.go | livekit-api/livekit/api/egress_service.py | Recording participants | LiveKit docs | examples/voice_agents/speaker_id_multi_speaker.py | RoomComposite Egress | LiveKit Docsthousands-football-71253
11/12/2025, 5:13 AMtall-airline-16756
11/12/2025, 5:14 AM{
"room_name": "my-room",
"track_id": "TR_Audio_123xyz", // 실제 트랙 ID로 교체
"file": {
"filepath": "recordings/speaker1-audio.mp3",
"file_type": "MP3",
"s3": {
"access_key": "your-access-key",
"secret": "your-secret",
"region": "us-west-2",
"bucket": "my-recording-bucket"
}
}
}
이 JSON 파일을 준비하신 후, 아래 명령어를 실행해 주세요:
lk egress start --type track request.json
2. Participant Egress (특정 참가자의 전체 트랙 녹음)
특정 참가자의 오디오와 비디오를 함께 녹음하고 싶으시다면 `identity`를 사용하시면 됩니다.
{
"room_name": "my-room",
"identity": "Alice", // 참가자의 identity로 교체
"file_outputs": [
{
"filepath": "recordings/alice-presentation.mp4",
"s3": {
"access_key": "your-access-key",
"secret": "your-secret",
"region": "us-west-2",
"bucket": "my-recording-bucket"
}
}
]
}
이 방법을 통해 특정 참가자의 오디오를 분리해서 녹음하실 수 있습니다. 혹시 더 궁금한 점이 있으시면 언제든지 편하게 말씀해 주세요!