59 void openConnection();
60 void closeConnection();
63 void configureOutputBitRate();
64 void startMonitoring();
65 void stopMonitoring();
67 void handleMmEventStatus(
const mmr_event_t *event);
68 void handleMmEventState(
const mmr_event_t *event);
69 void handleMmEventError(
const mmr_event_t *event);
71 bool isAttached()
const;
75 void operator()(mmr_context_t *ctx) {
if (ctx) mmr_context_destroy(ctx); }
78 struct ConnectionDeleter
80 void operator()(mmr_connection_t *conn) {
if (conn) mmr_disconnect(conn); }
84 ContextUniquePtr m_context;
87 ConnectionUniquePtr m_connection;
92 QByteArray m_inputDeviceId;
96 QMediaEncoderSettings m_encoderSettings;
98 std::unique_ptr<QQnxMediaEventThread> m_eventThread;