MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / CRecordVideo

Method CRecordVideo

Src/RecordVideo.cpp:62–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62CRecordVideo::CRecordVideo(QObject *parent)
63 : QObject{parent}
64{
65#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
66 bool check = connect(
67 &m_Recorder, &QMediaRecorder::errorOccurred,
68 this, [&](QMediaRecorder::Error error, const QString &errorString) {
69 qDebug(log) << "Recorder error occurred:" << error << errorString;
70 Stop();
71 emit sigError(error, errorString);
72 });
73 Q_ASSERT(check);
74#endif
75}
76
77int CRecordVideo::Start(const QString &szFile)
78{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected