3#ifndef CONNETERPLAYER_H
4#define CONNETERPLAYER_H
10#include <QMediaRecorder>
15#include "ConnecterThread.h"
16#include "ParameterPlayer.h"
28 virtual qint16
Version()
override;
34 virtual int Clean()
override;
35 virtual int InitialMenu()
override;
38 void sigStart(
bool bStart);
39 void sigPause(
bool bPause);
40 void sigChangePosition(qint64 pos);
45 virtual void slotScreenShot()
override;
57 QVideoSink *GetVideoSink();
59 void slotPositionChanged(qint64 pos, qint64 duration);
60 void slotPlaybackStateChanged(QMediaPlayer::PlaybackState state);
61 void slotPlaybackError(QMediaPlayer::Error error,
const QString &errorString);
63 void slotRecordStateChanged(QMediaRecorder::RecorderState state);
virtual qint16 Version() override
Version.
virtual int Clean() override
Clean parameters and resource.
virtual CConnect * InstanceConnect() override
New connect.
virtual QDialog * OnOpenDialogSettings(QWidget *parent) override
Open settgins dialog.
virtual int Initial() override
Initial parameters and resource.
It starts a background thread by default.
virtual QWidget * GetViewer() override
Get Viewer.