teddykwon / react-native-video-stream

MIT License
55 stars 24 forks source link

Problem with RCTStream & RCTPlayer #2

Open shcoderAlex opened 7 years ago

shcoderAlex commented 7 years ago

Hello. I have two errors:

Warning: Native component for "RCTStream" does not exist
Warning: Native component for "RCTPlayer" does not exist

That's what I did:

teddykwon commented 7 years ago

this project based LFLiveKit. so you have to config more.

first. go to your project in Xcode second. go to Build parse > Link Binary With Libraries and add Libraries ( LFLiveKit.frameworks ) third. go to Build Settings > Framework Search Paths and add path ( $(PROJECT_DIR)/../node_modules/react-native-video-stream/ios to recursive )

v0l0d commented 7 years ago

I've installed LFLiveKit with Pods added react-native-video-stream/ios to search paths but still same problem

abeaclark commented 7 years ago

@teddykwon Thanks for this Bridge. I'm having the same problem that @v0l0d mentioned.

I assume we need to add some imports into AppDelegate.m? I've looked through you code, but not sure what I would need to import to get it to work.

Thanks!

teddykwon commented 7 years ago

@v0l0d @abeaclark a few days ago, i will update library and add example. pleases wait! :)

BeThankxz commented 7 years ago

Thank you i'm having the same problem :)

abeaclark commented 7 years ago

Thanks @teddykwon, I look forward to it.

Just as a note, I tried adding the following to my AppDelegate.m, but it still doesn't work:

#import <LFLiveKit.h>
#import <RCTStream.h>
abeaclark commented 7 years ago

Hey @teddykwon Just wanted to check back and see if you had time to look into this. It's ok if it's just a note about how you would use the package, doesn't need to be polished. I'm happy to help write some docs if I can get things running with your help

callmejm commented 6 years ago

@teddykwon having same issue, this is module forgotten ?