Closed roymacdonald closed 11 years ago
ok, i can see it more clearly now -- thanks :)
so in this new structure, live view doesn't start until you call restetLiveView()
? if so, that's problematic. if your code asks for live view, it should start without you needing to call resetLiveView()
after the camera is available.
also, it looks like you're using spaces instead of tabs :) if you could switch that'd be great, but if you don't i can switch it for you.
The thing is that if liveview is opened inmediatelly after opening the session the app hangs. So maybe adding a timer and starting liveview a few seconds after opensession might work. I'll check it later. It's just xcode using spaces instead of tabs. I'll fix that later also. Best!
ok -- we should figure out exactly how long that delay is, and add it to ofxEdsdk so people don't have to figure it out for themselves. but congrats on determining that is the only issue :)
Sure, I'll try it later. Thanks. BTW, this wasn't the only issue. I had to add an autoreleasepool, because there was a leak inside the sdk.
@kylemcdonald I just added the timer for the liveview initing. It works fine with my t2i. I guess it should work with other cameras. for some reason this timer wasn't working if inside the threadedFunction, so that's why it is inside the update. Also added a few things needed for this to work on windows. It works fine on win7 x64. best!
thanks so much!
related to https://github.com/kylemcdonald/ofxEdsdk/issues/8