Member Junction
    Preparing search index...

    Function DeleteRealtimeRecordingSegments

    • Deletes every seg-* shard in a session's folder, leaving the consolidated recording.* file. Called after StoreRealtimeRecording writes the canonical file at end of call. The recovery path (RecoverRealtimeRecordingFromSegments) does not use this: it deletes only the shards it listed and assembled, so a shard written after its listing is not lost. Never throws.

      Parameters

      • sessionID: string
      • storageAccountID: string
      • contextUser: UserInfo

      Returns Promise<number>

      The number of shards deleted.