Why do my video session recordings only record a few seconds of the session? Why do my video session recordings only record a few seconds of the session?

Why do my video session recordings only record a few seconds of the session?

Vonage API Support

Symptom

  • Video recordings (archives) are much shorter than the actual call.
  • For example, a 10-minute call may result in only a 2–15 second recording.
  • Users notice missing content even though the call was completed successfully.

Applies To

  • Video API
  • Archiving

Resolution

  1. Ensure active participants before starting an archive: Confirm that at least one participant is publishing video or audio before initiating recording.
  2. Avoid starting archives immediately after all participants leave: Wait for participants to rejoin.
  3. Use session monitoring callbacks: Track publisher activity in real time to ensure archives start only when content is being streamed.

Cause

  • When the last participant leaves a session:
    • Our backend waits 60 seconds before stopping the archive.
    • Starting a new archive during this timeframe may stop the archive after the 60 seconds are completed, and if no participants are present.
  • Vonage archives require at least one active participant publishing video/audio when the archive starts.
  • Only sessions created in Routed Media Mode can be recorded. P2P sessions cannot be archived.

Additional Information

For more information about how archiving works, please refer to our developer docs

Video API OpenTok Environment: https://tokbox.com/developer/guides/archiving/ 

Video Unified Environment: https://developer.vonage.com/en/video/guides/archiving/overview