locked
An Unhandeled exception occurs even in Basic Media Playback sample occasionally.

    Question

  • Hi,

    When I play any audio file using mediaelement it crashes(throws 

    unhandled exception). The crash is inconsistent and it happens after we 

    set the source for Mediaelement but not always.

    I followed the below blog and stopped the Mediaelement before the source 

    is set and also on Mediaopened event, I played the Mediaelement but 

    still it crashes.

    http://social.msdn.microsoft.com/Forums/windowsapps/en-US/b895a5c9-40a7

    -44c8-b7b9-50469c76ee1e/unhandled-exception-when-changing-mediaelement-

    source-frequently?forum=winappswithcsharp

    Please find attached the screenshot of the crash. This crash even occurs 

    in BasicMediaPlayback sample too. Continuously play any audio file it 

    crashes sometimes and nowhere any code breaks in the sample too.

    Regards,
    Kumaravel
    Tuesday, August 12, 2014 6:46 AM

All replies