Tuya iOS Smart Life App SDK 5.15.0
FrameMp4Recorder Class Reference

#include <frame_mp4_recorder.h>

Inheritance diagram for FrameMp4Recorder:

Public Member Functions

 FrameMp4Recorder (int port_id)
 
 ~FrameMp4Recorder () override
 
virtual int CreateMp4File (const MP4_CONFIG_INFO &stream_info, const std::string &filepath, const std::string &filename) override
 
virtual int Stop () override
 
void WriteAudioFrame (MP4_AUDIO_FRAME_INPUT_INFO &audio_frame_info) override
 
void WriteVideoFrame (MP4_FRAME_INPUT_INFO &input_frame) override
 
 FrameMp4Recorder (int port_id)
 
 ~FrameMp4Recorder () override
 
virtual int CreateMp4File (const MP4_CONFIG_INFO &stream_info, const std::string &filepath, const std::string &filename) override
 
virtual int Stop () override
 
void WriteAudioFrame (MP4_AUDIO_FRAME_INPUT_INFO &audio_frame_info) override
 
void WriteVideoFrame (MP4_FRAME_INPUT_INFO &input_frame) override
 

Detailed Description

Definition at line 9 of file frame_mp4_recorder.h.

Constructor & Destructor Documentation

◆ FrameMp4Recorder() [1/2]

FrameMp4Recorder::FrameMp4Recorder ( int  port_id)

◆ ~FrameMp4Recorder() [1/2]

FrameMp4Recorder::~FrameMp4Recorder ( )
override

◆ FrameMp4Recorder() [2/2]

FrameMp4Recorder::FrameMp4Recorder ( int  port_id)

◆ ~FrameMp4Recorder() [2/2]

FrameMp4Recorder::~FrameMp4Recorder ( )
override

Member Function Documentation

◆ CreateMp4File() [1/2]

virtual int FrameMp4Recorder::CreateMp4File ( const MP4_CONFIG_INFO &  stream_info,
const std::string &  filepath,
const std::string &  filename 
)
overridevirtual

◆ CreateMp4File() [2/2]

virtual int FrameMp4Recorder::CreateMp4File ( const MP4_CONFIG_INFO &  stream_info,
const std::string &  filepath,
const std::string &  filename 
)
overridevirtual

◆ Stop() [1/2]

virtual int FrameMp4Recorder::Stop ( )
overridevirtual

◆ Stop() [2/2]

virtual int FrameMp4Recorder::Stop ( )
overridevirtual

◆ WriteAudioFrame() [1/2]

void FrameMp4Recorder::WriteAudioFrame ( MP4_AUDIO_FRAME_INPUT_INFO &  audio_frame_info)
override

◆ WriteAudioFrame() [2/2]

void FrameMp4Recorder::WriteAudioFrame ( MP4_AUDIO_FRAME_INPUT_INFO &  audio_frame_info)
override

◆ WriteVideoFrame() [1/2]

void FrameMp4Recorder::WriteVideoFrame ( MP4_FRAME_INPUT_INFO &  input_frame)
override

◆ WriteVideoFrame() [2/2]

void FrameMp4Recorder::WriteVideoFrame ( MP4_FRAME_INPUT_INFO &  input_frame)
override

The documentation for this class was generated from the following files: