<@U084APK40NS> Here is my current egress for agent...
# ask-ai
d
@millions-hair-24956 Here is my current egress for agent: req=api.RoomCompositeEgressRequest( _room_name_=ctx.room.name, layout="speaker", _audio_only_=True, _file_outputs_=[api.EncodedFileOutput( filepath=f"{participant.attributes.get('call_id')}", # Default is .ogg s3=api.S3Upload( bucket=os.getenv("AWS_S3_BUCKET"), region=os.getenv("AWS_S3_REGION"), _access_key_=os.getenv("AWS_S3_ACCESS_KEY_ID"), secret=os.getenv("AWS_S3_SECRET_ACCESS_KEY") ) )] ) it records in .ogg. How to record raw audio so it's free?
g
It seems likely that LiveKit's egress service does not support exporting raw audio directly. The default audio format for egress is typically encoded, such as OGG or MP4 with AAC encoding. According to LiveKit documentation, the egress service is optimized for transcoding to various formats, but raw audio export is not mentioned. Would you like more details on how to configure egress for different audio formats or any other specific requirements? Sources: - LiveKit documentation šŸ‘ 0 button šŸ‘Ž 0 button šŸ’” Hint: Mention @runllm in the thread for followups.
d
@millions-hair-24956 Does Pass-through mean raw audio?
g
No, pass-through does not mean raw audio. In the context of LiveKit, pass-through refers to exporting media without transcoding, but it still involves using a container format like MP4, WebM, or OGG, depending on the codec used. According to LiveKit documentation, pass-through allows the media to be exported in its original codec format without additional processing, but it is not raw audio. Would you like more details on how pass-through works or any other specific configurations? Sources: - LiveKit documentation šŸ‘ 0 button šŸ‘Ž 0 button šŸ’” Hint: Mention @runllm in the thread for followups.
d
@millions-hair-24956 does it fall under definition: • Transcode-less imports (e.g. WHIP without transcode) are free.
g
It seems likely that transcode-less imports, such as WHIP without transcode, are considered free because they do not involve additional processing costs associated with transcoding. According to the LiveKit Ingress Overview, WHIP sessions can be configured to forward media unmodified, which would avoid transcoding and potentially reduce costs. Would you like more details on configuring WHIP sessions or any other specific aspects of LiveKit's pricing? Sources: - LiveKit Ingress Overview šŸ‘ 0 button šŸ‘Ž 0 button šŸ’” Hint: Mention @runllm in the thread for followups.