Exception when attempting to play unsupported audio file.

3 posts, 0 answers
  1. Matt
    Matt avatar
    2 posts
    Member since:
    Oct 2016

    Posted 11 Mar 2018 Link to this post

    This was the error message:

    Playback failed
    Fiddler has encountered an unexpected problem. If you believe this is a bug in Fiddler, please copy this message by hitting CTRL+C, and submit a bug report at http://www.telerik.com/forums/fiddler.

    Sound API only supports playing PCM wave files.

    Type: System.InvalidOperationException
    Source: System
       at System.Media.SoundPlayer.ValidateSoundData(Byte[] data)

       at System.Media.SoundPlayer.LoadAndPlay(Int32 flags)

       at Standard.ResponseWebView.btnPlay_Click(Object sender, EventArgs e)

    Fiddler v5.0.20173.50948 (x64 AMD64) [.NET 4.0.30319.42000 on Microsoft Windows NT 10.0.16299.0] 


    Granted the error message does give helpful stuff like: "Sound API only supports playing PCM wave files."

    Which means the response was likely just incorrectly assumed to be a wave file.

    I clicked the PLay button on the WebView becuase none of the other views are useful.

    I would really just like to download a version of the file and then play it from another application but I do not know how in Fiddler and that would be the larger issue.


  2. Matt
    Matt avatar
    2 posts
    Member since:
    Oct 2016

    Posted 12 Mar 2018 in reply to Matt Link to this post

    It seems to be and edge case.  When I download other "unsupported" audio formats the response just goes to the garbage character as seen in attached "capture.png".

    And when I download 'known/supported' audio files I see the actually windows player as seen in "playButton02.png" file

    It's only when the audio downloaded seems ot be recognized as audio, yet still is unsupported where I get the "playButton01.png"

    Also, it seems that when the audio is actually playable from Fiddler, it DOES have the ability to save the file by right- clicking the player.

    It seems what I'm expecting as a user is that an exception shouldn't be thrown when I click play, it should just know it can't play the file and not show me the option.  However, it could offer me to download the mp3 and attempt to play it from some other application. that maybe fiddler doesn't know about. 
  3. Alexander
    Alexander avatar
    383 posts

    Posted 15 Mar 2018 Link to this post


    You can save every session body (in this case the actual sound file) by right clicking on the session -> Save -> Response -> Response body.

    Progress Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top