muxinc / mux-stats-sdk-react-native-video

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Where is mux-react-native-video-sdk

strathausen opened this issue · comments

In the example in the readme, mux-react-native-video-sdk is used. However, I can't find it on npm. Am I missing something?

Thanks a lot for any help.

Hi @strathausen right now it can be installed via Github: https://github.com/muxinc/mux-stats-sdk-react-native-video#installation

We're working on getting it out of beta and up on npm.

Thanks, let me know if that helps! 🙌🏼

Ah, how did I not see this 🤦

However, it currently fails for me because I use React 17 in my project. But I managed to make videos from mux work another way (plain react-native-video or using @tinyhood/react-native-mux-video).

Thanks a lot anyhow, and good luck with getting it out of beta! 🙏

Interesting, can you help me understand:

react-native-video works with this mux sdk
@tinyhood/react-native-mux-video works with this mux sdk

What is the video SDK you were trying to use that was failing because of React 17?

This failed for me:

npm install "https://github.com/muxinc/mux-stats-sdk-react-native-video#v0.1.0" --save

However, since there's AFAIK not much of a difference between React 16 and 17, I just used --force when installing and things seem to work fine.

So I've been playing around with mux-stats-sdk-react-native-video it on React 17 and it's fine!

ohhh npm 6 used to log a warning for unmet peerDependencies but npm 7 I think fails the install now. We'll have to update that peerDependency for react