locked
Bing SpeechRecognizer Windows 8.1 error RRS feed

  • Question

  • Hi,

    I want to use the Bing speech API in my app, but when I click on my custom button to speech, I receive always this error:

    WinRT information: System.Exception: The data specified for the media type is invalid, inconsistent, or not supported by this object. (Exception from HRESULT: 0xC00D36B4)
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at Bing.Speech.Audio.SirenSRAudioPipeline.<StartCaptureAsync>d__7.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runt


    How can I fix this issue? My Windows Store app is HTML/Javascript. And it includes few webview elements and a navigation bar. And yes the mic, internet and location is enabled in the package.appxmanifest file.

    Thanks,
    Stefan

    Monday, April 14, 2014 5:53 PM

Answers

  • A better forum for this post is the Bing Developers forum:
    http://social.msdn.microsoft.com/Forums/en-US/bingdev/

    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.

    Monday, April 14, 2014 8:02 PM
    Moderator

All replies

  • A better forum for this post is the Bing Developers forum:
    http://social.msdn.microsoft.com/Forums/en-US/bingdev/

    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.

    Monday, April 14, 2014 8:02 PM
    Moderator
  • Hi Stefan,

        Could you please share a code snippet behind you custom button to speech?

        Also, please confirm if your project is following required steps mentioned at the below link to use Bing Speech Recognition control. http://msdn.microsoft.com/en-us/library/dn467592.aspx


    ranjit

    Tuesday, April 15, 2014 10:54 PM