// A protocol used by CERT's video controller to pass commands and data to a VideoServer plugin. // // Created by Andrew Salamon on 5/13/08. // Copyright 2008 Machine Perception Laboratory, University of California San Diego. All rights reserved. // #import #import @protocol VideoServerProtocol - (BOOL)startWithSize:(NSSize)frameSize; - (void)stop; - (void)setName:(NSString *)value; - (void)setRowBytes:(int)value; - (void)copyFrameToBuffer:(unsigned char *)pixels; - (void)addAudioChunkToCurrentFrame:(AudioStreamBasicDescription)asbd:(Ptr)audioData:(long)audioLen; @end