locked
MediaCapture.initializeAsync: The request is invalid in the current state.

    Question

  • What can this mean?

    0xc00d36b2 - JavaScript runtime error: The request is invalid in the current state.
    Started
    WinRT information: Started

    I am calling the method after my activation handler has finished (on an extended SplashScreen).

    Wednesday, June 11, 2014 11:10 AM

Answers

  • No Matt, that makes no sense. I want to open an audio stream for recording.

    Anyway, it seems one cannot call that method inside WinJS.Promise.timeout(...).

    Friday, June 13, 2014 2:02 PM

All replies

  • Shouldn't you be using MediaElement on a mainpage of the app?

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, June 12, 2014 1:16 PM
    Moderator
  • No Matt, that makes no sense. I want to open an audio stream for recording.

    Anyway, it seems one cannot call that method inside WinJS.Promise.timeout(...).

    Friday, June 13, 2014 2:02 PM