Skip to content

Commit b16bc0a

Browse files
committed
rename params in demo
1 parent 605262a commit b16bc0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sample-code/drm/buydrm/buydrm_v4.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
API_KEY = 'your-api-qencode-key'
1212
# specify path to your BuyDRM certificate files,
1313
# for example create dir keys/ and put keys into
14-
enduser_pvk_path = 'keys/user-private_key.pem'
15-
enduser_pub_path = 'keys/user-public_cert.pem'
14+
USER_PVT_KEY_PATH = 'keys/user-private_key.pem'
15+
USER_PUB_CERT_PATH = 'keys/user-public_cert.pem'
1616
# Qencode query template for job with {cpix_request}
1717
query_json = 'query.json'
1818
# correspond to stream resolution in query.json
@@ -36,7 +36,7 @@ def start_encode():
3636
cpix_request = create_cpix_user_request(
3737
key_ids, media_id,
3838
content_id, common_encryption,
39-
enduser_pvk_path, enduser_pub_path, #delivery_public_cert_path=None, # if None - get from SDK, else - set public Qenocde certificate
39+
USER_PVT_KEY_PATH, USER_PUB_CERT_PATH, #delivery_public_cert_path=None, # if None - get from SDK, else - set public Qenocde certificate
4040
use_playready=drm_list['PR'], use_widevine=drm_list['WV'], use_fairplay=drm_list['FP']
4141
)
4242

0 commit comments

Comments
 (0)