We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bf09b8 commit 830d551Copy full SHA for 830d551
1 file changed
WebDriverAgentLib/Utilities/FBMjpegServer.m
@@ -57,14 +57,14 @@ - (instancetype)init
57
_sentFramesCount = 0;
58
_sentBytesCount = 0;
59
_listeningClients = [NSMutableArray array];
60
+ _imageProcessor = [[FBImageProcessor alloc] init];
61
+ _mainScreenID = [XCUIScreen.mainScreen displayID];
62
dispatch_queue_attr_t queueAttributes = dispatch_queue_attr_make_with_qos_class(DISPATCH_QUEUE_SERIAL, QOS_CLASS_UTILITY, 0);
63
_backgroundQueue = dispatch_queue_create(QUEUE_NAME, queueAttributes);
64
__weak typeof(self) weakSelf = self;
65
dispatch_async(_backgroundQueue, ^{
66
[weakSelf streamScreenshot];
67
});
- _imageProcessor = [[FBImageProcessor alloc] init];
- _mainScreenID = [XCUIScreen.mainScreen displayID];
68
}
69
return self;
70
0 commit comments