We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1、项目中导入了
pod 'SJBaseVideoPlayer/AliPlayer' pod 'SJBaseVideoPlayer/IJKPlayer'
2、报错位置
#import "SJIJKMediaPlayerLayerView.h" @implementation SJIJKMediaPlayerLayerView - (instancetype)initWithPlayer:(SJIJKMediaPlayer *)player { self = [super init]; if ( self ) { _player = player; [self addSubview:_player.view]; [self setVideoGravity:AVVideoScalingModeResizeAspect]; // TODO: 这里直接报错 [player addObserver:self forKeyPath:@"firstVideoFrameRendered" options:NSKeyValueObservingOptionNew context:NULL]; } return self; }
3、如果只导入IJKPlayer 不导入 AliPlayer 就能正常工作
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1、项目中导入了
2、报错位置
3、如果只导入IJKPlayer 不导入 AliPlayer 就能正常工作
The text was updated successfully, but these errors were encountered: