locked
MediaError 4001 An error has occurred RRS feed

  • Question

  •   Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Tabla normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

    Hi there

    MediaError 4001 - An error has occurred when I replay a video stream from an http/mms publishing point in WMS

    I have a silverlight video player build in Expression Blend 2, the xaml and java scripting files are base on the article http://www.devx.com/dotnet/Article/37094/1954. The web application in which this video player is embedded has a video transcription section, so when user clicks over a specific transcription text the marker/time_text of the player is set to the time of the transcription and the video is played from the new time position in a correct manner. There is no problem if the user does this functionality several times in a continuous manner, but when he clicks over some text, waits some minutes and click over other text, the marker/time_text of the player is set to the new time but the following error is showed up and the video is not played:

     MediaError 4001 –

    Code: 4001, Message: An error has occurred

    When this error happens I can verify the MediaElement.source has a correct URL to stream the video from a publishing point (http://jb-2k3-vss-p01:8000/cedocProd/6143). In fact I can reproduce this URL from window media player.

    Any suggestions is really appreciated

    Thanks

    Thursday, June 17, 2010 3:00 AM

Answers

  • Hi,

       What will you get if you use fiddler to monitor the wire?

       One thing to notice is that though MediaElement supports monikers like mms/rtsp, but they will all eventually fall back to http-streaming.

       In another words, you may need to make sure that your server support http-streaming.

    Best Regards 

    Friday, June 18, 2010 5:09 AM