Note that there are some explanatory texts on larger screens.

plurals
  1. POPlayback of a streamed wave is cut while played in WMP
    primarykey
    data
    text
    <p>We're using WMPLib as an embedded player in our C# application but this issue occurs also in Windows Media Player.</p> <p>Our server streams audio and has streaming with offset enabled. Given URL:</p> <pre><code>http://ourserver.com/playback?id=400 </code></pre> <p>which returns an octet or x-wave stream (both does not work).</p> <p>The WMP starts buffering and playing the 2 mins long wave file from given URL (everything works fine) but when I grab and drop the track slider to something about 90% of its length, the playback is cut off and WMP displays general audio error (c00d11b1). When I drop the slider closer (10-20% further) the playback continues without any errors and is played with offset properly. I'm using Windows 7 Home Premium 64 bit.</p> <p>When I'm using the same URL in other media player applications (VLC), no error occurs.</p> <p>What causes such issue?</p> <p>TCP packets from this situation:</p> <p><em>WMP=>Server - get the wave</em></p> <pre><code>GET http://ourserver.com/playback?id=400 Cache-Control: no-cache Connection: Keep-Alive Pragma: getIfoFileURI.dlna.org Accept: */* Cookie: PHPSESSID=7e5156ec44280a9210570158c5d31475 User-Agent: NSPlayer/12.00.7601.17514 WMFSDK/12.00.7601.17514 GetContentFeatures.DLNA.ORG: 1 Host: 192.168.0.5 </code></pre> <p><em>Server=>WMP - return file</em></p> <pre><code>HTTP/1.1 200 OK X-Powered-By: PHP/5.3.6 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-cache Pragma: no-cache Content-Description: File Transfer Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-Dis; filename="sound.wav" Content-Length: 833658 Accept-Ranges: bytes Date: Tue, 02 Apr 2013 10:46:01 GMT Server: lighttpd/1.4.28 </code></pre> <p><em>The sound is played, we move the slider... WMP=>Server - get the sound with offset (set in range)</em></p> <pre><code>GET http://ourserver.com/playback?id=400 Cache-Control: no-cache Connection: Keep-Alive Pragma: getIfoFileURI.dlna.org Accept: */* Cookie: PHPSESSID=7e5156ec44280a9210570158c5d31475 Range: bytes=733184-833657 User-Agent: NSPlayer/12.00.7601.17514 WMFSDK/12.00.7601.17514 GetContentFeatures.DLNA.ORG: 1 Host: 192.168.0.5 </code></pre> <p><em>Server=>WMP - returns sound</em> </p> <pre><code>HTTP/1.1 206 Partial Content X-Powered-By: PHP/5.3.6 Expires: Thu, 19 Nov 1981 08:52:00 GMT Content-Range: bytes 733184-833657/ Cache-Control: no-cache Pragma: no-cache Content-Description: File Transfer Content-Type: application/octet-stream Content-Transfer-Encoding: binary Content-Dis; filename="sound.wav" Content-Length: 833658 Accept-Ranges: bytes Date: Tue, 02 Apr 2013 10:46:10 GMT Server: lighttpd/1.4.28 </code></pre> <p><em>The stream continues but WMP cuts off playback and shows error.</em></p> <p>How can we fix this? Thanks for any help.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload