46 void setCamera(QPlatformCamera *camera)
override;
80 void updateVideoFrameConnection();
81 void updatePrimaryActiveVideoSource();
87 template<
typename VideoSource>
88 bool setVideoSource(
QPointer<VideoSource> &source, VideoSource *newSource);
90 QPointer<QPlatformCamera> m_camera;
91 QPointer<QPlatformSurfaceCapture> m_screenCapture;
92 QPointer<QPlatformSurfaceCapture> m_windowCapture;
93 QPointer<QPlatformVideoFrameInput> m_videoFrameInput;
94 QPointer<QPlatformVideoSource> m_primaryActiveVideoSource;
97 QPointer<QPlatformAudioBufferInput> m_audioBufferInput;
101 QPlatformAudioOutput *m_audioOutput =
nullptr;
102 QVideoSink *m_videoSink =
nullptr;
103 std::unique_ptr<QAudioSink> m_audioSink;
104 QPointer<QIODevice> m_audioIODevice;
105 qsizetype m_audioBufferSize = 0;
107 QMetaObject::Connection m_videoFrameConnection;