How to pass data to and from IMediaExtension back to JavaScript client that uses the effect


  • I have a JavaScript app that does media capture and uses some effects that I coded in C++.

    I want to achieve 2 things:

    1) Pass data back from IMediaExtension to the JavaScript UI app (ex: power readings from the audio stream)

    2) Change effect parameters on the fly (ex: change brightness, contrast, etc)

    For 2) I guess I can just re-read parameters from the object I get passed in SetProperties method

    What is the best way to pass data from the effect back to the app?

    Wednesday, August 29, 2012 1:46 AM