On-premise Recording SDK v3.0.6 API Reference for Linux (Java)
Public Attributes | List of all members
io.agora.recording.common.Common.MIXED_AV_CODEC_TYPE Enum Reference

Public Attributes

 MIXED_AV_DEFAULT =(0)
 
 MIXED_AV_CODEC_V1 =(1)
 
 MIXED_AV_CODEC_V2 =(2)
 
 AV_CODEC_INDIVIDUAL_TS_ONLY = 4
 
 AV_CODEC_INDIVIDUAL_TS_AND_MP4 = 5
 
 AV_CODEC_MIXED_TS_ONLY = 6
 
 AV_CODEC_MIXED_TS_AND_MP4 = 7
 

Detailed Description

Mix audio and video in real time.

See Supported Players.

Member Data Documentation

◆ MIXED_AV_DEFAULT

io.agora.recording.common.Common.MIXED_AV_CODEC_TYPE.MIXED_AV_DEFAULT =(0)

0: (Default) Not mixes the audio and video.

◆ MIXED_AV_CODEC_V1

io.agora.recording.common.Common.MIXED_AV_CODEC_TYPE.MIXED_AV_CODEC_V1 =(1)

1: Mixes the audio and video in real time into an MP4 file. Supports limited players.

◆ MIXED_AV_CODEC_V2

io.agora.recording.common.Common.MIXED_AV_CODEC_TYPE.MIXED_AV_CODEC_V2 =(2)

2: Mixes the audio and video in real time into an MP4 file. Supports more players.

◆ AV_CODEC_INDIVIDUAL_TS_ONLY

io.agora.recording.common.Common.MIXED_AV_CODEC_TYPE.AV_CODEC_INDIVIDUAL_TS_ONLY = 4

4: Generates video files in TS format, and audio files in AAC format in the individual recording mode.

Note
If you record a video file in TS format, the recorded file can still be played when a crash occurs.

◆ AV_CODEC_INDIVIDUAL_TS_AND_MP4

io.agora.recording.common.Common.MIXED_AV_CODEC_TYPE.AV_CODEC_INDIVIDUAL_TS_AND_MP4 = 5

5: Generates video files in TS format and MP4 format, and audio files in AAC format in the individual recording mode.

Note
  • The recorded MP4 file is restored from the TS file when a crash occurs.
  • The Agora SDK deletes the TS file after successful recording.

◆ AV_CODEC_MIXED_TS_ONLY

io.agora.recording.common.Common.MIXED_AV_CODEC_TYPE.AV_CODEC_MIXED_TS_ONLY = 6

6: Mixes the audio and video in real time into an TS file in the composite recording mode.

Note
If you record a video file in TS format, the recorded file can still be played when a crash occurs.

◆ AV_CODEC_MIXED_TS_AND_MP4

io.agora.recording.common.Common.MIXED_AV_CODEC_TYPE.AV_CODEC_MIXED_TS_AND_MP4 = 7

7: Mixes the audio and video in real time into an TS file and an MP4 file in the composite recording mode.

Note
  • The recorded MP4 file is restored from the TS file when a crash occurs.
  • The Agora SDK deletes the TS file after successful recording.