dl0haus ha escrit:
[Quoted Text] > I've got an Encoder watchdog that works quite well written in C#. The > encoder is 100% programmatically controlled. This means that I have a simple > interface to start/stop and setup the profile to use for encoding. > > I'm getting a request that when I start the encoder, that the encoder pops > up like normal, its just programmatically controlled but *can* be manipulated > through the interface if we wanted. > > Is it possible to spawn an encoder doing a push distribution to a media > server to its controlled through the SDK *and* can be manipulated through its > own interface by spawning it in such a way as to have the full interface > available? > > Thanks, > D
Just show the default GUI:
hr=CoCreateInstance(CLSID_WMEncoderApp, NULL, CLSCTX_LOCAL_SERVER, IID_IWMEncoderApp, (void**) &m_pEncoderApp);
//Acquire an IWMEncoder intmerface. hr=m_pEncoderApp->get_Encoder(&pEnc); hr=pEnc->QueryInterface(IID_IWMEncoder2, (void**)&m_pEncoder); //And show the interface. hr=m_pEncoderApp->put_Visible(VARIANT_TRUE);
Thats all.. :)
Vegethalia ---------------------------------------- http://eqsearchpro.pleyhades.com
|