Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question How to use Windows.Media.Core namespace?

Discussion in 'Scripting' started by kev_the_gamedev, Jan 30, 2023.

  1. kev_the_gamedev

    kev_the_gamedev

    Joined:
    Sep 11, 2018
    Posts:
    2
    Hi all,

    I'm trying to check which video codecs are installed to the Windows device. This brought me to the Windows.Media.Core namespace (https://learn.microsoft.com/en-us/windows/uwp/audio-video-camera/codec-query) and an Unity-Manuel entry (https://docs.unity3d.com/Manual/IL2CPP-WindowsRuntimeSupport.html or https://learn.microsoft.com/en-us/answers/questions/619634/why-can-i-not-use-windows-media-capture) on enabling Windows Runtime support.

    However, I can't manage to get the support enabled or the namespace recongnized. Any suggestions on how to use the Windows.Media.Core namespace?

    Thanks!