locked
access camera on HoloLens but get exceptions RRS feed

  • Question

  • Hi,

    I try to capture video using camera on Hololens. 

    Development platform: VS2015, HoloLens, UWP project, release, x86.

    Enable webcamera and microphone in capability setting in the manifest file.

    I got following exceptions:

    Exception thrown at 0x777F6302 (KernelBase.dll) in HolographicApp1.exe: 0x40080201: WinRT originate error (parameters: 0x80040154, 0x00000016, 0x0120E860).
    Exception thrown at 0x777F6302 in HolographicApp1.exe: Microsoft C++ exception: Platform::ClassNotRegisteredException ^ at memory location 0x0120ECF0. HRESULT:0x80040154 Class not registered
    WinRT information: Class not registered

    The exception occurs when I debug to

    MediaFrameSourceGroup::FindAllAsync();

    Any advice are very appreciated!

    YL

    Sunday, May 7, 2017 8:19 PM

All replies

  • Hi uwpSeeThrough,

    Please read the sticky notes before posting to the Developing Universal Windows apps forum.

    As noted in Welcome to the Developing Universal Windows apps forum!, please post HoloLens questions at http://forums.hololens.com 

    Best Regards,

    Xavier Eoro


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, May 8, 2017 7:27 AM