Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Docs/Advanced/TestContent/playready-vendor-test-content.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ This content helps ensure interoperability across different encoding ecosystems
| **Video Encoding Settings** | N/A |
| **Audio Encoding Settings** | AAC |
| **Encryption Settings** | CENC AES128-CTR |
| **Key ID (KID)** | `{b0498601-8a4a-4418-9fa5-5a326ea2961c}` |
| **Key ID (KID)** | `{aaaaaaaa-0b0b-1c1c-2d2d-333333333333}` |
| **Key ID (Base64)** | `AYZJsEqKGESfpVoybqKWHA==` |
| **Key Value (Hex)** | `{0x12, 0x34, 0x56, 0x78, 0x12, 0x34, 0x56, 0x78, 0x12, 0x34, 0x56, 0x78, 0x12, 0x34, 0x56, 0x78}` |
| **Key Value (Base64)** | `EjRWeBI0VngSNFZ4EjRWeA==` |
| **Audio KID** | `{b0498601-8a4a-4418-9fa5-5a326ea2961c}` |
| **Audio KID** | `{aaaaaaaa-0b0b-1c1c-2d2d-333333333333}` |
| **Multi DRM** | True |
| **PlayReady WRMHEADER** | 4.0 |
| **Encrypted File** | `https://prtsprodstorage.blob.core.windows.net/media/vendor/Spotify-DualDRM2017-bbb/Spotify-DualDRM2017-bbb.mp4` |
Expand Down
6 changes: 3 additions & 3 deletions Docs/Advanced/TestServers/base64-json-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Before encoding, create a JSON configuration:
```json
{
"licenseType": "persistent",
"keyId": "12345678-1234-1234-1234-123456789012",
"keyId": "aaaaaaaa-0b0b-1c1c-2d2d-333333333333",
"outputProtection": {
"digital": "required",
"analog": "optional"
Expand All @@ -44,7 +44,7 @@ Before encoding, create a JSON configuration:
**Original JSON:**

```json
{"licenseType": "persistent", "keyId": "12345678-1234-1234-1234-123456789012"}
{"licenseType": "persistent", "keyId": "aaaaaaaa-0b0b-1c1c-2d2d-333333333333"}
```

**Base64 Encoded:**
Expand All @@ -60,7 +60,7 @@ eyJsaWNlbnNlVHlwZSI6InBlcnNpc3RlbnQiLCJrZXlJZCI6IjEyMzQ1Njc4LTEyMzQtMTIzNC0xMjM0
```json
{
"licenseType": "rental",
"keyId": "87654321-4321-4321-4321-210987654321",
"keyId": "bbbbbbbb-1c1c-2d2d-3e3e-444444444444",
"expirationDate": "2024-12-31T23:59:59Z",
"outputProtection": {
"digital": "required",
Expand Down
8 changes: 4 additions & 4 deletions Docs/Advanced/TestServers/customdata-json-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Configure encryption keys and identifiers:

```json
{
"keyId": "12345678-1234-1234-1234-123456789012",
"keyId": "aaaaaaaa-0b0b-1c1c-2d2d-333333333333",
"contentKey": "base64EncodedContentKey",
"keyRotation": {
"enabled": true,
Expand Down Expand Up @@ -91,7 +91,7 @@ Control output protection requirements:
"version": "1.0",
"config": {
"licenseType": "persistent",
"keyId": "12345678-1234-1234-1234-123456789012",
"keyId": "aaaaaaaa-0b0b-1c1c-2d2d-333333333333",
"policies": {
"playback": {
"allowOffline": true
Expand All @@ -108,7 +108,7 @@ Control output protection requirements:
"version": "1.0",
"config": {
"licenseType": "rental",
"keyId": "87654321-4321-4321-4321-210987654321",
"keyId": "bbbbbbbb-1c1c-2d2d-3e3e-444444444444",
"policies": {
"playback": {
"expirationDate": "2024-12-31T23:59:59Z",
Expand All @@ -130,7 +130,7 @@ Control output protection requirements:
"version": "1.0",
"config": {
"licenseType": "subscription",
"keyId": "11111111-2222-3333-4444-555555555555",
"keyId": "cccccccc-2d2d-3e3e-4f4f-555555555555",
"policies": {
"playback": {
"allowOffline": false
Expand Down
4 changes: 2 additions & 2 deletions Docs/Advanced/TestServers/query-string-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Note: the parameters need to include persist:true if you want to receive persi
| kid | Used in a group of properties to associate these properties to one KID | 'header', or Guid in registry format or base64 string | Example 1: kid:header<BR/>Example 2: kid:e13a7861-d8cc-4284-9245-7c835ebde9f0<BR/>Example 3: kid:YXg64czYhEKSRXyDXr3p8A==<BR/>In the case of kid:header, the license server uses the KID found in the WRMHEADER coming along with the license request. In this case, the WRMHEADER has to include only one KID |
| contentkey | Set the content key | base64 byte array | Example: contentkey:eNqVnXrElmo2NSsn7IXeEA==<BR/>Default value is key(TestKeySeed, kid) |
| ckt | Specifies the Content Key Encryption Type (CTR or CBC) | aesctr , aescbc | Example: ckt:aescbc<BR/>Default value is aesctr<BR/>The license will include a content key set for AESCBC encryption<BR/>NEW IN PLAYREADY 4.0 |
| tid | Set a TransactionId in the license response | guid (arbitrary) | Example: tid:3033E8F0-FB1B-4170-AD5C-60549AAB2C79<BR/>Adds the provided value to the LicenseResponse.TransactionId property, which will require the client to post a license acknowledgement challenge using the specified transaction identifier back to the license server |
| tid | Set a TransactionId in the license response | guid (arbitrary) | Example: tid:aaaabbbb-0000-cccc-1111-dddd2222eeee<BR/>Adds the provided value to the LicenseResponse.TransactionId property, which will require the client to post a license acknowledgement challenge using the specified transaction identifier back to the license server |
|   | | | |
| playright | Add a Play Right | false, true | Example: playright:true<BR/>Default value is true<BR/>Note: a license returned with no right will not allow the client to consume the content |
| readright | Add a Read Right | false, true | Example: readright:true<BR/>Default value is false |
Expand Down Expand Up @@ -79,4 +79,4 @@ Note: the parameters need to include persist:true if you want to receive persi
| allowunknownsd | Add an Output Control for Unknown Output for constrained resolution | false, true | Example: allowunknownsd:true<BR/>Equivalent to: playenablers:(B621D91F-EDCC-4035-8D4B-DC71760D43E9)<BR/>See the [CRs section 3.9.2](https://www.microsoft.com/playReady/licensing/compliance).<BR/>Server SDK code:<BR/>`right.AddPlayEnabler(new PlayEnabler(new Guid("B621D91F-EDCC-4035-8D4B-DC71760D43E9")))` |
| allowunknownhd | Add an Output Control for Unknown Output for any resolution | false, true | Example: allowunknownhd:true<BR/>Equivalent to: playenablers:(786627D8-C2A6-44BE-8F88-08AE255B01A7)<BR/>See the [CRs section 3.9.1](https://www.microsoft.com/playReady/licensing/compliance).<BR/>Server SDK code:<BR/>`right.AddPlayEnabler(new PlayEnabler(new Guid("786627D8-C2A6-44BE-8F88-08AE255B01A7")))` |
|   | | | |
| clientinfo | | | Special reflection feature. See [this page](testing-client-info.md) for more details. |
| clientinfo | | | Special reflection feature. See [this page](testing-client-info.md) for more details. |