steep-balloon-41261
12/14/2022, 2:08 PMchilly-animal-65189
12/14/2022, 7:56 PMsteep-painter-64729
12/14/2022, 11:55 PMlivekit-cli load-test --api-key $LKKEY --api-secret $LKSECRET --url $LKURL --room $ROOM_NAME --publishers 1 --subscribers 1
• get the participant and get the video track
livekit-cli list-participants --api-key $LKKEY --api-secret $LKSECRET --url $LKURL --room $ROOM_NAME
livekit-cli get-participant --identity $PARTICIPANT_ID --api-key $LKKEY --api-secret $LKSECRET --url $LKURL --room $ROOM_NAME
• start recording the track
livekit-cli start-track-egress --api-key $LKKEY --api-secret $LKSECRET --url $LKURL --request $REQFILE
• REQFILE has the following format:
{
"room_name": "$ROOM_NAME",
"track_id": "$TRACK",
"file": {
"filepath": "$ROOM_NAME.mp4",
"s3": {
"access_key": "KEY",
"secret": "SECRET",
"region": "us-east-1",
"bucket": "BUCKET"
}
}
}
• After this I sleep for a while, right now I’m doing 300s
• After that I stop the track egress
livekit-cli stop-egress --api-key $LKKEY --api-secret $LKSECRET --url $LKURL -id $EGRESS_IDchilly-animal-65189
12/15/2022, 2:03 AMchilly-animal-65189
12/15/2022, 2:04 AMsteep-painter-64729
12/15/2022, 3:52 AMsteep-painter-64729
12/15/2022, 3:57 AMchilly-animal-65189
12/15/2022, 3:58 AMchilly-animal-65189
12/15/2022, 4:02 AMsteep-painter-64729
12/15/2022, 8:24 AM