jgh- / VideoCore-Inactive

*No longer in development* Please see https://github.com/unpause-live/SwiftVideo
MIT License
1.48k stars 540 forks source link

add VideoCore as a submodule in my app #12

Closed notedit closed 10 years ago

notedit commented 10 years ago

hi james:

i am using VideoCore as a submodule in my project, i setup the search path just like SampleBroadcaster sample.

but after the setup, xcode told me there are two errors,

one is "/Users/xiang/Work/kaiboapp/kaibo/videocore/rtmp/RTMPSession.cpp:22:10: 'videocore/rtmp/RTMPSession.h' file not found"

another is "/Users/xiang/Work/kaiboapp/kaibo/videocore/sources/iOS/CameraSource.mm:23:10: 'videocore/sources/iOS/CameraSource.h' file not found"

how i can setup videocore properly?

jgh- commented 10 years ago

Can you post what your header search path settings look like?

notedit commented 10 years ago

${SRCROOT}/videocore/lib/include

${SRCROOT}/videocore

this is the vieocore search path

jgh- commented 10 years ago

Try adding just $(SRCROOT) as well since the path it's looking for includes videocore

notedit commented 10 years ago

it works now. thanks.

there are still some arc error, but i can fix it.

would you like use pod to install VideoCore?

jeffreywescott commented 10 years ago

I would love to see VideoCore done as a pod module. I started to go down that road, but then realized that VideoCore is already using submodules to pull in the URI parser. So it seems like we might need to make a pod module for that one, too. Pod modules are way nicer than submodules, because it obviates the need for futzing around with build settings.

@notedit -- are you familiar with pod stuff? Can you make a PR?

notedit commented 10 years ago

URI parser has only two files, i will try when i have some time.

jgh- commented 10 years ago

I agree, doing a Cocoapod module would be a good idea.

jeffreywescott commented 10 years ago

See #13.

notedit commented 10 years ago

cool thanks

ravigautam7786 commented 9 years ago

Hi James,

I am using videocore library but I am not able to run the code. I followed the these steps.

1- I downloaded the code via cocoa pods. 2- Then I import public,boost folder into my project.

But There is many errors says like #include <videocore/sources/iOS/GLESUtil.h> file not found

What I do in this case.

And I see all the file included in that pattern.

Can you please let me know how I will this library in my existing project.

Regards Ravi

jgh- commented 9 years ago

You need to open the .xcworkspace file that Cocoapods creates.

On Fri, Jul 24, 2015 at 1:42 AM, ravigautam7786 notifications@github.com wrote:

Hi James,

I am using videocore library but I am not able to run the code. I followed the these steps.

1- I downloaded the code via cocoa pods. 2- Then I import public,boost folder into my project.

But There is many errors says like #include file not found

What I do in this case.

And I see all the file included in that pattern.

Can you please let me know how I will this library in my existing project.

Regards Ravi

— Reply to this email directly or view it on GitHub https://github.com/jgh-/VideoCore/issues/12#issuecomment-124444480.

ravigautam7786 commented 9 years ago

But I want to integrate this feature in my existing project. Then how I will do that? Thanks

jgh- commented 9 years ago

Cocoapods creates a workspace with your existing project and a Cocoapods project. I recommend checking the cocoapods documentation on how to use it.

On Fri, Jul 24, 2015 at 9:02 AM, ravigautam7786 notifications@github.com wrote:

But I want to integrate this feature in my existing project. Then how I will do that? Thanks

— Reply to this email directly or view it on GitHub https://github.com/jgh-/VideoCore/issues/12#issuecomment-124567370.

JALsnipe commented 9 years ago

https://guides.cocoapods.org/using/using-cocoapods.html

On Fri, Jul 24, 2015 at 12:04 PM, james h notifications@github.com wrote:

Cocoapods creates a workspace with your existing project and a Cocoapods project. I recommend checking the cocoapods documentation on how to use it.

On Fri, Jul 24, 2015 at 9:02 AM, ravigautam7786 notifications@github.com wrote:

But I want to integrate this feature in my existing project. Then how I will do that? Thanks

— Reply to this email directly or view it on GitHub https://github.com/jgh-/VideoCore/issues/12#issuecomment-124567370.

— Reply to this email directly or view it on GitHub https://github.com/jgh-/VideoCore/issues/12#issuecomment-124567881.

ravigautam7786 commented 9 years ago

Ok, but if I want to use this without cocoa pods then its possible. I want to really use this amazing library.

ravigautam7786 commented 9 years ago

Please let me know. Thanks

ravigautam7786 commented 9 years ago

Please let me know how I will use it in my existing project without cocoa pods.

ravigautam7786 commented 9 years ago

I given the header search path to $(SRCROOT) now videocore errors removed but now I have boost file not found like "boost/tokenizer.hpp" file not found.

ravigautam7786 commented 9 years ago

Hi,

I want to change video size at runtime while streaming video but I am able to do that. Please let me know how I can change video size at run time.

Thanks Ravi

On 24-Jul-2015, at 9:34 pm, Josh Lieberman notifications@github.com wrote:

https://guides.cocoapods.org/using/using-cocoapods.html

On Fri, Jul 24, 2015 at 12:04 PM, james h notifications@github.com wrote:

Cocoapods creates a workspace with your existing project and a Cocoapods project. I recommend checking the cocoapods documentation on how to use it.

On Fri, Jul 24, 2015 at 9:02 AM, ravigautam7786 notifications@github.com wrote:

But I want to integrate this feature in my existing project. Then how I will do that? Thanks

— Reply to this email directly or view it on GitHub https://github.com/jgh-/VideoCore/issues/12#issuecomment-124567370.

— Reply to this email directly or view it on GitHub https://github.com/jgh-/VideoCore/issues/12#issuecomment-124567881.

— Reply to this email directly or view it on GitHub https://github.com/jgh-/VideoCore/issues/12#issuecomment-124567986.

chiragIOS commented 8 years ago

@ravigautam7786 have you found the way videocore use without cocoapods ? if yes please let me know