Log Android verified camera modes and guard early camera events
This commit is contained in:
1 parent
3870712ae0
commit
30ef9d62e9
3 files changed
+59
-53
No files matched your search
@@ -117,6 +117,7 @@ class CameraWorker : public QObject {
|
||||
}
|
||||
void stage(const QString& name) { send(packet(Stage, generation, [&](QDataStream& out) { out << name; })); }
|
||||
void enumerate() {
|
||||
if (socket.state() != QLocalSocket::ConnectedState) return; // Первичный опрос повторит connected.
|
||||
stage(QStringLiteral("enumerate"));
|
||||
const auto devices = source->devices();
|
||||
send(packet(Devices, 0, [&](QDataStream& out) {
|
||||
|
||||
Reference in new issue
Block a user