PlayStream - Streaming Media Solutions for Streaming Video & Streaming Audio
Customer Login
Streaming Audio & Video Solutions - Home Login Streaming Video & Audio Services Showcase- Webcasting and Streaming Media About PlayStream - Streaming Media Solutions Support for Audio/Video Streaming Services Contact us for Windows Media Streaming Solutions
Free Evaluation Account for Content Delivery Services
 
Try our service and sign up for our Free 15-Day Evaluation. The account automatically expires.
 
Quote Wizard - Content Delivery Network Services
 
Calculate the file size and costs of your media content.
 
Contact Us for Content Delivery Services
 
Request Customer Support
Toll Free: 800.874.8855
 
Supported Formats for Content Delivery Network
 
 
 
DRM License - text with Custom URL
 

This method uses a Web service from PlayStream that will return a license string for you (to deliver to your End User) and allow you to consume the PlayStream Web service from your Web server. Using this method allows you to deliver licenses only as needed to your End User.

For security purposes, the request to consume the Web service must come from a registered IP address. You register the IP address(es) that are allowed to consume the Web service in your PlayStream Account.

When the End User tries to play your encrypted content, a “challenge string” is posted to your custom acquisition URL on your Web server. Your Web server, in turn, consumes the Web service on the PlayStream Web server by sending over the challenge string and calling the readChallenge method.

If the readChallenge method call is successful, the Web service returns the Content ID and Content Info of the encrypted content as well as the DRM Version (player version) and DRM Security Version (player DRM security information) of the End User.

Once you have this information, you can decide how or if you want to authorize your End User to access your encrypted media. Using this license delivery method, It is your responsibility to decide how you authorize the End User, I.e.: Through a previous login/password, credit card, etc.

Please note that PlayStream enforces the highest level of DRM security and the End User’s player must have the most recent DRM Security Version of the Windows Media Player 9 series installed. The current security version is 2.2.

If the player does not meet this requirement the End User will not be authenticated and will be denied access to your encrypted media, even if you grant authorization to the content. Simply put, we will not create a license for a Windows Media Player below the 2.2 security credential.

Once you have authorized your End User, you retrieve the license for the encrypted media by consuming the PlayStream Web service again and calling the getLicense method.

If the getLicense method call is successful, the Web service returns the license and you deliver it to your End User via your Web server and the content plays according to the rights assigned to it by the subscription.

You send the content ID you want the license for, the subscription ID indicating the rules of the license, your End User’s player info and your secret GUID. The Web service is located at www.playstream.com/license/DRMLicense.asmx.

PROCESS SUMMARY
  • The End User doesn't have a license key
  • The End User tries to play the content
  • A challenge string is posted from the End User to the custom acquistion URL
  • The PlayStream Customer's Web server calls the readChallenge method by consuming the PlayStream Web service
  • The PlayStream Customer gets the content ID, content info, the End User's DRM version information
  • The PlayStream Customer authorizes the End User
  • The PlayStream Customer's Web server calls the getLicense method by consuming the PlayStream Web service
  • The PlayStream Customer returns the license to the End User
  • The End User plays the content
STEP BY STEP INSTRUCTIONS
If you have an on-demand account, all instructions assume that you have encoded and uploaded your media to your account at playstream.com.
 
Step 1 - Encrypt your media
Encryption is the act of protecting your media with a unique ID for purposes data security. In order to access encrypted media, the -End User must have a User Name and password (Permission) that allows decryption and playback. Without this Permission, encrypted media will not play.
 
Step 2 - Create a Subscription
 
What is a Subscription?
A Subscription is a combination of media (your files) and Permissions (User Names and passwords) that are used to control access to your encrypted media.
How to create a Subscription:
  • Login into your PlayStream account at www.playstream.com using your PlayStream Customer Login and Password.
  • Click on the “Secure Your Media” icon.
  • Click “View” under the heading “Subscription/Permissions."
  • Click “Create New."
  • Enter a Subscription Name.
  • Leave all the basic rights set to their default values. Scroll down to the bottom of the page and click “Create New Subscription.”
  • Scroll down to the bottom of the page, and click “Back."
  • If your Subscription does not appear in the Subscription list, click “Refresh” on your browser.
Step 3 - Register IP Addresses
 
How To Register IP Addresses:
  • Login into your PlayStream account at www.playstream.com using your PlayStream Customer Login and Password.
  • Click on the “Secure Your Media” icon.
  • Click “View” under the heading “License Acquisition/Delivery."
  • Scroll down and click “Manage IP/s.”
  • Enter an IP Address in the text field at the top of the page.
  • Click “Add IP.”
  • Repeat as necessary.
  • Click “Back” to be returned to the License Acquisition/Delivery page.
Step 4 - Call the readChallenge method by consuming the PlayStream Web service
 
The Web service is located at www.playstream.com/license/DRMLicense.asmx.
 
Step 5 - Authorize End Users and Distribute Permissions to End Users
 
How you authorize, distribute and bill your End Users for permissions (User Names and passwords) is your choice. PlayStream is currently working with third party vendors to integrate our DRM services and provide you with a billing solution.
 
Step 6 - Call the getLicense method by consuming the PlayStream Web service
 
Example: Classic ASP Code to call the getLicense method
 
<%
Dim sCid, iSid, , sGuid
sCid= “TheContentID”
iSid= "TheSubscriptionID"
sCinfo= "<CLIENTINFO><CLIENTID>TheClientIDRetrievedFromTheEndEnd User</CLIENTID><CLIENTVERSION>TheClientVersionRetrievedFromTheEndEnd User</CLIENTVERSION><SECURITYVERSION>TheDRMSecurityVersionRetrieved
FromTheEndEnd User</SECURITYVERSION><APPSECURITY>AppSecurityRetrievedFromTheEndEnd User</APPSECURITY><SUBJECTID1>TheSubjectIDRetrievedFromTheEndEnd User</SUBJECTID1><SUBJECTID2></SUBJECTID2><DRMKVERSION>TheDRMKVersion
RetrievedFromTheEndEnd User</DRMKVERSION></CLIENTINFO>"
sGuid = "YourPlayStreamDRMGUID"

Response.Write getLicense(sCid, iSid, sCinfo, sGuid)

Function getLicense(cid, sid, cinfo, guid)

Dim soapClient
Set soapClient = Server.CreateObject("MSSOAP.SoapClient")
soapClient.ClientProperty("ServerHTTPRequest") = True
soapClient.mssoapinit "http://www.playstream.com/license/DRMLicense.asmx?wsdl"

getLicense = soapClient.getLicense(cid, sid, cinfo, guid)

End Function
%>

 
Step 7 - Deliver the license to the End User using an embedded ActiveX control
 
Use the sample code below to install the acquired DRM license.
<html>
<head>
<Script Language="JavaScript">
function storeLic()
{
netobj.StoreLicense(PlayStream's License string goes here);
}
</Script>
</head>
<body onLoad="storeLic()">
<object id=netobj CLASSID="clsid:A9FC132B-096D-460B-B7D5-1DB0FAE0C062" width=0 height=0>
</object>
</body>
< /html>
NOTES:
*** In this scenario Customer Profile – DOESN’T apply with delivery of licenses through custom acquisition URL)
https://www.playstream.com/myaccount/content/drm/live.aspx
*** In this scenario, Subscription acts only as a rule template, content IDs do not need to be associated with the subscription.
 
Step 8 - Linking to your Encrypted Media
 
Information on Easy Link
Link to your encrypted media as you would to any other content in your PlayStream account using PlayStream Easylink technology. For more information about Easylink technology, please refer to our support section: www.playstream.com/support/linking/easylink.aspx.
How to Link to Encrypted Content:
  • Login into your PlayStream account at www.playstream.com using your PlayStream Customer Login and Password.
  • Click on the "Manage Your Content" icon.
  • Click on the small "Manage Content" icon for the On-Demand Service name where the content that you want to encrypt is stored.
  • Navigate to the file you want to link to.
  • Click on the file name link. You will be taken to the file info page.
  • Cut and paste the stream link from the text field into the source HTML for your Web page in order to link to your encrypted media.
Home | Privacy Policy | Terms and Conditions | Contact | Sitemap
Copyright 1998-2008 PlayStream, Inc., an Internap Company.
All rights reserved.