Hello @Dolezal, Vojtech,
According to About the Media Session,
The Media Session exposes the IMFMediaSession interface. There are two ways to create the Media Session, depending on whether your application will support protected content:
- If your application does not support protected content, you can create the Media Session by calling the MFCreateMediaSession. This function creates the Media Session inside the application process.
- To support protected content, create the Media Session by calling MFCreatePMPMediaSession. This function creates the Media Session inside the Protected Media Path (PMP) process. The application receives a pointer to a proxy object that marshals method calls across the process boundary. Note that the PMP Media Session can be used to play clear content, as well as protected content.
That is to say, processes that create themselves media sessions can identify their media sessions.