But other types of plug-ins can use the Transmit Invocation Suite to push frames to transmitters. For example, an effect or titler with a modal setup dialog could push frames to the output.
This is good idea for a title importer ! But, how to use "PrSDKTransmitInvocationSuite" in our title importer ? Sorry, we did not find any samples or codes in Examples of SDK.
Is there some guys from Adobe could write some example code in here ?
for example, where and how to call PrSDKTransmitInvocationSuite::CreateInstance(...) ? how to fill the field of "ioInstance" parameters for this API ?
how to implement PrSDKTransmitChangedProc functions ?
It seems that there is no documents about this suite in SDK manual.
The ioInstance parameter is a pointer to a tmInstance structure, defined in PrSDKTransmit. Are there any specific structure members you're not clear how to initialize?
The PrSDKTransmitChangedProc function will be called if the transmit plug-in sets outResetModule to notify that host that it's state has changed and it needs to be reinitialized. You should implement PrSDKTransmitChangedProc to respond to a transmit plug-in being reset.
Thanks for your reply, please see my comment, am I right ?
csSDK_int32 inInstanceID; // How to fill this ID ?
PrTimelineID inTimelineID; // set it to 0 ?
PrPlayID inPlayID; // set it to 0 ?
prBool inHasAudio; // set it to FALSE, because Title did not need audio.
csSDK_uint32 inNumChannels; // set it to 0
prBool inHasVideo; // set to TRUE ?
csSDK_int32 inVideoWidth; // Title project video resolution ?
void* ioPrivateInstanceData; // may be written by plugin in CreateInstance, need not be serializable by the host
inInstanceID will be filled in by the CreateInstance() call.
inTimelineID should only be filled in if you have a timelineID instance, for example if you are transmitting from an importer setup dialog during imGetPrefs8, if imGetPrefsRec.timelineData is valid. Otherwise it should be left at zero.
inPlayID can be 0.
Your comments are correct:
inHasVideo should be true.
inVideoWidth/Height should be the video resolution.
inVideoPARNum/Den should be the video pixel aspect ratio.