locked
Sharing a IMFMediaSource between multiple sessions? RRS feed

  • Question

  • Hello Everyone,

    I have a video player based largely on the CPlayer example provided in the Media Session Playback Example example.
    It works, but I would now like to play the same video through multiple sessions, with each instance of the video having independent playback control.

    My first question is, can I share a single IMFMediaSource between multiple topologies or sessions?
    (So far, when I try reusing the same IMFMediaSource with a whole new topology, I get an error on the MESessionStarted event: "Some component is already listening to events on this event generator.")

    My second question is, do I really have to duplicate every element of the pipeline and process to play the same video?
    Is there no part that can copied or shared?

    How about IMFTopology::CloneFrom() method? Can this help me here?

    thanks,
    MM

    Monday, March 7, 2016 1:08 PM