mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-19 01:29:18 +00:00
19 lines
469 B
Objective-C
19 lines
469 B
Objective-C
#import "SyphonOBSClient.h"
|
|
|
|
@implementation SyphonOBSClient
|
|
|
|
- (id)initWithServerDescription:(NSDictionary<NSString *, id> *)description
|
|
options:(NSDictionary<NSString *, id> *)options
|
|
newFrameHandler:(void (^)(SyphonOBSClient *))handler
|
|
{
|
|
self = [super initWithServerDescription:description options:options newFrameHandler:handler];
|
|
return self;
|
|
}
|
|
|
|
- (IOSurfaceRef)newFrameImage
|
|
{
|
|
return [self newSurface];
|
|
}
|
|
|
|
@end
|