3#ifndef CONNETERPLAYER_H
4#define CONNETERPLAYER_H
10#include <QMediaRecorder>
15#include "ConnecterThread.h"
16#include "ParameterPlayer.h"
28 virtual qint16
Version()
override;
32 virtual int Clean()
override;
35 void sigStart(
bool bStart);
36 void sigPause(
bool bPause);
37 void sigChangePosition(qint64 pos);
42 virtual void slotScreenShot()
override;
54 QVideoSink *GetVideoSink();
56 void slotPositionChanged(qint64 pos, qint64 duration);
57 void slotPlaybackStateChanged(QMediaPlayer::PlaybackState state);
59 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.