提交 064f962b 编写于 作者: Y yuvesy@yuvesy.com

iOS av硬解初始化接口增加

上级 7ca3ca16
......@@ -72,5 +72,6 @@
@interface IJKAVMoviePlayerController : NSObject <IJKMediaPlayback>
- (id)initWithContentURL:(NSURL *)aUrl;
- (id)initWithContentURLString:(NSString *)aUrl;
@end
......@@ -188,6 +188,15 @@ static void *KVO_AVPlayerItem_playbackBufferEmpty = &KVO_AVPlayerItem_play
return self;
}
- (id)initWithContentURLString:(NSString *)aUrl
{
self = [self initWithContentURL:[NSURL URLWithString:aUrl]];
if (self != nil) {
}
return self;
}
- (void)setScreenOn: (BOOL)on
{
[IJKMediaModule sharedModule].mediaModuleIdleTimerDisabled = on;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册