Log in or register to post comments

Please help me implement remote URL video to play on cloud trigger target images

June 26, 2013 - 10:36pm #1

Hi. I've been trying for weeks now to figure out how to combine the Cloud recognition sample and the Video playback sample and I'm just getting really frustrated. Would anyone out there be kind enough to please give me some step by step instructions?

The goal is to have the app scan for a cloud based trigger image that initiates a video from URL to play.

I've successfully altered both sample apps independantly from eachother but I cant seem to merge them into any sort of working fashion.

I think I have some good first steps already:

I have a cloud Target database set up. My Trigger Image has Meta Data in it that is just the URL for the video I want to play.

I've got the access keys loaded properly.

Where do I go from here? Is it better to start with the video player sample, and build the cloud stuff into it? Or is it better to start with the Cloud Recognition sample and bring over pieces from the video player sample to make it work right?

 

Anything you can do to guide me through this or point me in the right direction would be very VERY appreciated!!

Thanks in advance..

Please help me implement remote URL video to play on cloud trigg

July 8, 2013 - 5:21am #11

unrecognized selector sent to instance

This normally means that the Objective C run-time cannot find a method that has been specified.

 

 

reason: '-[QCARControl setDelegate:]:

So somewhere in your QCARControl class you may have this line:

 

      delegate =

...but if you have not specified that QCARControl has the delegate as a member / or conforms to the specific protocol that includes the delegate, then it may throw up the error.

 

HTH

N

 

 

Please help me implement remote URL video to play on cloud trigg

July 8, 2013 - 4:57am #10
2013-07-08 13:56:21.837 VideoPlay[3503:907] -[QCARControl setDelegate:]: unrecognized selector sent to instance 0x1cd5caf0
2013-07-08 13:56:21.842 VideoPlay[3503:907] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[QCARControl setDelegate:]: unrecognized selector sent to instance 0x1cd5caf0'

any idea?

Please help me implement remote URL video to play on cloud trigg

July 2, 2013 - 5:09am #9

I replaced synthesized, but working on not recognizing UIInterfaceMasks ;) If don't get it runing I'll put info :)

Please help me implement remote URL video to play on cloud trigg

July 2, 2013 - 4:56am #8

Can you copy and paste these from XCode?

...diagnosis is near impossible otherwise ;)

 

Either way, if the sample is not working it seems like something fundamental is wrong 

 

N

Please help me implement remote URL video to play on cloud trigg

July 2, 2013 - 4:46am #7

Yes, I did. Errors were like: widths or heights had properties but were not synthesized, same with projecitonMatrix and so on... I'm using Xcode 4.2, but I have iOS 6.1 SDK (otherwise I wouldn't be able to test apps on iPhone 4s with iOS 6.1.3

Please help me implement remote URL video to play on cloud trigg

July 1, 2013 - 8:16am #6

Hard to say as you have not described any of the errors or output, but it should work.

Do you have the latest Xcode?

Have you put the samples in the correct directory as described here?

https://developer.vuforia.com/resources/dev-guide/step-3-installing-vuforia-samples

 

N

 

Please help me implement remote URL video to play on cloud trigg

July 1, 2013 - 7:03am #5

I just downloaded it but couldn't run, because of non stop fresh errors of not synthesized elements... I have build and lib folders filled with appropiate files - am I missing something?

Please help me implement remote URL video to play on cloud trigg

July 1, 2013 - 4:14am #4

..er the new one

2.5.7

https://developer.vuforia.com/resources/sdk/ios

or more specifically the samples that go with it:

https://developer.vuforia.com/resources/sample-apps

If you have a look at the file list in xcode, you'll notice that it is significantly more streamlined without any ARCommon code.

 

HTH

N

Please help me implement remote URL video to play on cloud trigg

July 1, 2013 - 3:55am #3

when you wrote that new SDK has simpler VideoPlayback code you meant which SDK exactly?

Please help me implement remote URL video to play on cloud trigg

June 27, 2013 - 1:43am #2

My suggestion would be to start with the CR sample as it is a bit more complex.

Then you could add the video playback sample part.  Playing back from a URL can be quite challenging as by default it will playback in a full screen, so the user experience can suffer a bit unless the video is local.

I would suggest trying the local files first while integrating into the CR sample.

One other thing to note in the latest SDK is that the Video Playback sample code has been much simplified, which should make it easier to get to the code you need.

 

N

Log in or register to post comments