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

Error UI block RCTVideo 0x123e3f990 #907

Closed
callmejm opened this issue Jan 16, 2018 · 12 comments
Closed

Error UI block RCTVideo 0x123e3f990 #907

callmejm opened this issue Jan 16, 2018 · 12 comments

Comments

@callmejm
Copy link

I getting two error when I switch m3u8 link in iOS, Android Work Perfectly.

Exception thrown while executing UI block: Cannot remove an observer <RCTVideo 0x123e3f990> for the key path "readyForDisplay" from <AVPlayerLayer 0x1c4625060> because it is not registered as an observer.

Exception thrown while executing UI block: 'parentNode' is a required parameter

@kvieira90
Copy link

Also seeing this issue +1

ahmetardal added a commit to svhawks/react-native-video that referenced this issue Feb 8, 2018
@franzejr
Copy link

franzejr commented Feb 8, 2018

@JayricMok and @kvieira90 this commit: svhawks@511c73e fixes this.

I think @ardalahmet will create a PR ?

I just tested that and it works. Me and @rclements were having this issue.

@ahmetardal
Copy link

Hi @franzejr
I don't think my solution is complete. It just fixes the crash but causes a blink when the video ends and starts playing again. You can fork and cherry-pick my commit for a temporary fix, though.

If I end up with a better fix I'll create a PR for sure. Thanks.

@facuacostag
Copy link

Has this been merged?

jaybowang pushed a commit to yuntitech/react-native-video that referenced this issue Apr 28, 2018
@wonday
Copy link

wonday commented May 31, 2018

Also seeing this issue +1

@weepy
Copy link

weepy commented Jun 4, 2018

Seeing this.

Is there a reason not to merge ?

@dwilt
Copy link

dwilt commented Jun 4, 2018

We are experiencing this issue as well

@dwilt
Copy link

dwilt commented Jun 4, 2018

We have confirmed that this PR has fixed the problem

@n1ru4l
Copy link
Contributor

n1ru4l commented Jun 18, 2018

@ardalahmet could you please open a pull request for this fix?

n1ru4l added a commit to n1ru4l/react-native-video that referenced this issue Jun 18, 2018
@n1ru4l n1ru4l mentioned this issue Jun 18, 2018
n1ru4l added a commit to n1ru4l/react-native-video that referenced this issue Jun 18, 2018
ahmetardal added a commit to ahmetardal/react-native-video that referenced this issue Jun 19, 2018
@ahmetardal
Copy link

#1072

@cobarx
Copy link
Contributor

cobarx commented Jun 20, 2018

When are you seeing this? I've tried switching between HLS streams and am not encountering any issues. I want to see if I can figure out why we don't have an observer to remove, if I can't I'll merge this fix. Either way I'll get it fixed right away.

@cobarx
Copy link
Contributor

cobarx commented Jun 20, 2018

Ok, didn't know exactly how to check this, but #1075 should handle it. It felt a little bit cleaner to use a boolean to track if there was an observer to clear so that we match the code used for the other observers. Thanks to everyone who submitted a PR.

n1ru4l added a commit to n1ru4l/react-native-video that referenced this issue Jul 17, 2018
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

10 participants