Files
obs-studio/plugins/mac-virtualcam/src/obs-plugin/OBSDALMachServer.h
gxalpha fd34f0b2ab mac-virtualcam: Fix remaining global namespaces
Gives the MachServer a unique name which was forgotten in a previous commit
2020-12-03 14:28:01 -08:00

30 lines
523 B
Objective-C

//
// MachServer.h
// obs-mac-virtualcam
//
// Created by John Boiles on 5/5/20.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface OBSDALMachServer : NSObject
- (void)run;
/*!
Will eventually be used for sending frames to all connected clients
*/
- (void)sendFrameWithSize:(NSSize)size
timestamp:(uint64_t)timestamp
fpsNumerator:(uint32_t)fpsNumerator
fpsDenominator:(uint32_t)fpsDenominator
frameBytes:(uint8_t *)frameBytes;
- (void)stop;
@end
NS_ASSUME_NONNULL_END