Skip to content
New issue

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

Locker assertion failure around ASVideoPlayerNode init #1040

Closed
qiaoyan opened this issue Jul 18, 2018 · 0 comments
Closed

Locker assertion failure around ASVideoPlayerNode init #1040

qiaoyan opened this issue Jul 18, 2018 · 0 comments

Comments

@qiaoyan
Copy link

qiaoyan commented Jul 18, 2018

#1024 seems bring locker assertion failure around ASVideoPlayerNode init. Remove ASVideoPlayerNode works fine, or disable locking assertions.

ASVideoPlayerNode *videoPlayerNode = [[ASVideoPlayerNode alloc] initWithURL:videoMetaDataMP4.URL];
            videoPlayerNode.userInteractionEnabled = YES;
            videoPlayerNode.shouldAutoPlay = YES;
            if (mediaType.unsignedIntegerValue == 0) {
                videoPlayerNode.shouldAutoRepeat = YES;
            }
            videoPlayerNode.muted = YES;
            videoPlayerNode.delegate = self;
            videoPlayerNode.placeholderImageURL = [NSURL URLWithString:[obj valueForKey:@"mediaUrl"]];

2018-07-18 18:35:42.637364+0800 Simple T[6209:1212423] *** Assertion failure in -[ASVideoPlayerNode _insertSubnode:atSubnodeIndex:sublayerIndex:andRemoveSubnode:], /Users/new/Desktop/Code/Projects/Simple T/Pods/Texture/Source/ASDisplayNode.mm:2212
2018-07-18 18:35:42.638717+0800 Simple T[6209:1212423] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Expected instanceLock.locked() to be false.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant