#import #import #import #import "UnityAppController.h" #include #include "UnityMetalSupport.h" #include "PlayerBase.h" #include "CVTextureCache.h" #include "CMVideoSampling.h" #if NATIVE #include "PlayerNative.h" #endif #if FFMPEG #include "PlayerFFmpeg.h" #endif @interface UniversalMediaPlayer : NSObject @property id player; @property PlayerTypes playerType; @property PlayerState* playerState; @property NSMutableArray* playerStates; @property CMVideoSampling videoSampling; @property int cachedVolume; @property float cachedRate; @property unsigned char* frameBuffer; @end