Member Junction
    Preparing search index...

    Function writeRealtimeRecordingSegment

    • Writes ONE crash-recovery segment shard (seg-NNNN.<ext>) into the session's folder as a RAW storage object — no MJ: Files row, no session stamping. Shards are durability insurance during a live call (so a browser/tab death loses at most the last window); they are byte-slices of one continuous stream (only the first carries the container header), so they are NOT individually playable — recovery is "concatenate the folder's shards in order". They are deleted once the canonical consolidated file lands (deleteRealtimeRecordingSegments). Never throws.

      Returns Promise<boolean>

      true on success.