psg
Joined: 17 Nov 2005
Posts: 1
|
Posted:
Thu Nov 17, 2005 10:52 pm Post subject:
problems running my own encrypted content |
|
|
I am having problems encrypting content using WMRM 10 and running it on my client. Some background: the client is an embedded system, with functionality much like an IPTV or set-top box. Thus, the DRM running on the client is a port based on Microsoft's DRM-PD 10.04 (Janus) porting kit. I am able to successfully decrypt and play streams from a test site Microsoft setup at http://wmtap.smdisp.net/Janus/, yet when I try to encrypt and play my own content, the license server (also our own) returns an error code, not a valid license.
The content I encrypt myself does run on a PC with Windows Media Player, although I did have to remove a line in the simple.asp script that came with WMRM 10 (it was including another .aps file which didn't exist, at least I didn't see it in the kit). I am packaging/encrypting using the package.asp script which came with the WMRM kit.
Here’s a more detailed walk-through of what we did :
Encrypt using package.asp, select "simple" :
~ Try to run from a PC (Windows XP) : The simple.asp script runs, but this script references a file called simple_ns.asp, which was *not* part of the WMRM kit release. Thus, the license request fails, and the server has the following error message in its log file :
2005-11-15 23:47:02 W3SVC1 10.0.16.185 POST /wm/simple.asp |277|ASP_0126|Include_file_not_found 80 - 10.0.16.158 SendHTTP 500 0 0
2005-11-15 23:47:02 W3SVC1 10.0.16.185 POST /wm/simple.asp |277|ASP_0126|Include_file_not_found 80 - 10.0.16.158 Mozilla/4.0+(compatible;+MSIE+6.0;+Windows+NT+5.1;+SV1;+.NET+CLR+1.1.4322;+InfoPath.1;+.NET+CLR+1.0.3705) 500 0 0
If the include statement is in simple.asp is commented out, the player successfully acquires a license and decrypts/plays the stream.
~ Running this same stream on our DRM client (an IPTV device running embedded linux), the response that comes back from the license server simply contains this error code : 0x8004C035. This error is not listed in the WMRM doc, nor could we locate it using a google search or an MSDN search.
Using the write() method of the Response object, I was able to determine where in the simple.asp script the error is occuring: it is when it tries to extract the ClientInfo from the challenge object.
NOTE that our device does successfully decrypt and play streams from Microsoft’s test site at http://wmtap.smdisp.net/Janus/. It is simply with content that we encrypt that we are having issues. If you look at the "extended content encryption object" in the respective streams, the one we encrypt using package.asp has these two fields : RID=5, CID=500. These two fields are not present in stream from MS’s test site. I’m not sure what these are or if they are part of the problem or not.
In general, I'm not sure how when I encrypt a stream, my server would know that my client is valid. This could perhaps be the issue?
Any help would be appreciated!
Peter
|
|