The Agora On-premise Recording SDK supports raw data in individual recording, and raw data for mixed audio in composite recording.

For details on the recording profile, see Individual Recording and Composite Recording.

Raw data in individual recording

Set isMixingEnabled = 0 to start individual recording.

Choose the different types of files by setting the parameters according to the following table::

Raw Data Parameter and File
Raw audio data
  • getAudioFrame = 1: AAC file
  • getAudioFrame = 2: PCM file
  • Raw video data
  • getVideoFrame = 1: H.264 file
  • getVideoFrame = 2: YUV frame file
  • getVideoFrame = 3: JPG frame file
  • getVideoFrame = 4: JPG file
  • getVideoFrame = 5: JPG file + MPEG-4 video file
  • The Web supports raw data in YUV format only, not in H.264 format.

    Raw audio data in composite recording

    Set isMixingEnabled = 1 to start composite recording.

    The Agora On-premise Recording SDK supports raw data for mixed audio, and generates a PCM file.

    Raw Data Parameter and File
    Raw audio data getAudioFrame = 3:PCM file