- Posts: 2
- Joined: Mon Dec 21, 2015 9:04 pm
I found the protocol of the switcher so i know that it should be possible to develope such a app. I'm trying to get it done but i have a problem:
normally you get the iterator of the different object by this command (here example of the InputIterator):
result = mSwitcher->CreateIterator(IID_IBMDSwitcherInputIterator, (void**)&inputIterator);
so as result I get 0 and i can iterate threw inputIterator->Next(&input)..
With the camera i don't get a iterator:
result = mSwitcher->CreateIterator(IID_IBMDSwitcherCameraControlParameterIterator, (void**)&cameraIterator);
In the SDK-Doc i found out, that i have to create the iterator like this:
IBMDSwitcherCameraControl::CreateIterator returns an IBMDSwitcherCameraControlParameterIterator object interface when the IID_IBMDSwitcherCameraControlParameterIterator IID
is specified.
How do i get a IBMDSwitcherCameraControl Object? Every other iterator i got from the IBMDSwitcher Object which i got from the connectTo method of the discoveryobject?
Please help me!
Thank you!
Greez,
Micha Binder