Difference between WindowsMediaPlayer and Cling

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Difference between WindowsMediaPlayer and Cling


I've got a problem with seeking.

I have created an application with seeking function (uing CLing 2.0 alpha 3). This works fine for my local source and lokal renderer. I can even seek in songs playing from my attaches NAS on the local device.

Now I have buyed an new Pioneer VSX-828 AV-Receiver. This receiver has got an built in DLNA-Player. But I am not able to seek in songs with the new AV-Receiver. With Cling i get an UPNP Server Error 501: Action Failed.

If I use the Windows Media Player (WMP) 12 instead, I can stream local files to the receiver and seeking is possible. However if I look at the http communication between WMP and AV-Receiver I can see a GET-Request with following information:

"TimeSeekRange.DLNA.org: npt=0:01:23-"

My ProtocalInfo is:

new ProtocolInfo("http-get:*:audio/mpeg:DLNA.ORG_PN=MP3;DLNA.ORG_FLAGS=01700000000000000000000000000000"));

I have already tried following but with no success:

I have already created a ClientInfo in my Seek-action with the parameter "TimeSeekRange.DLNA.org", too, but this was not successful.

My question:
Is it possible to create seek function in Cling like WMP does? Is there any special trick? What is the difference between WMP as an UPNP Source and my local cling source?

Thanks for any help