Skip to content

Recording support and need help with Opus oggwriter #26

@moksh-samespace

Description

@moksh-samespace

Any plan to add participant-wise audio track recording directly within the SFU ?

For now, I’m handling recording externally by tapping into each participant’s track at the source and writing the RTP packets into a file using oggwriter. So for every participant, a separate .ogg file is generated.

But the recorded .ogg files are often shorter in duration than the actual call. For example, in a 5-minute call, the resulting audio file might only be 3 minutes long. This discrepancy is more noticeable when participants are silent or intermittently speaking.

I suspect this could be due to:
• Opus packet timestamp gaps when participants are not transmitting (e.g., silence).
• No silence padding added during recording.
• The oggwriter not compensating for real-time stream duration.

Any Idea how can I solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions