11 #import <Cocoa/Cocoa.h>
17 #import <AVFoundation/AVFoundation.h>
81 - (void) setPlayerCallback:(
void (*)(
void* functionPtr,
bool canPlayMedia))callback target:(
void*)decoderCppObject;
83 - (bool) setURL:(NSURL*)url;
87 - (void) setPlaybackRate:(
double)rate;
89 - (bool) decodePreceedingVideoSamples;
91 - (bool) seekToSecond:(
float)second withRange:(
float)range frame:(
VuoVideoFrame *)frame;
93 - (bool) canBeginPlayback;
99 - (
VuoReal) getCurrentTimestamp;
101 - (bool) setAssetReaderTimeRange:(CMTimeRange)timeRange;
103 - (bool) copyNextVideoSampleBuffer;
105 - (
unsigned int) getAudioChannelCount:(AVAssetTrack*) track;
107 - (bool) audioEnabled;
111 - (double) getFrameRate;
113 - (bool) canPlayAudio;
115 - (
unsigned int) audioChannels;
117 + (void) releaseAssetReader:(AVAssetReader*)reader;