You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
682 B
33 lines
682 B
#import <OpenGLES/ES2/gl.h>
|
|
#import <OpenGLES/ES2/glext.h>
|
|
#import <UIKit/UIKit.h>
|
|
#import "UnityAppController.h"
|
|
|
|
#include <vector>
|
|
#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<PlayerDelegates>
|
|
|
|
@property id<PlayerBase> player;
|
|
@property PlayerTypes playerType;
|
|
@property PlayerState* playerState;
|
|
@property NSMutableArray* playerStates;
|
|
@property CMVideoSampling videoSampling;
|
|
@property int cachedVolume;
|
|
@property float cachedRate;
|
|
@property unsigned char* frameBuffer;
|
|
|
|
@end
|