Skip to content

Commit 96bd23c

Browse files
committed
update drm sample
1 parent ada0b8c commit 96bd23c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

sample-code/drm/buydrm/buydrm_widevine_playready.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@
77
from qencode import QencodeClientException, QencodeTaskException
88

99
# replace with your API KEY (can be found in your Project settings on Qencode portal)
10-
#API_KEY = 'your-api-qencode-key'
11-
API_KEY = '5a2a846a26ace'
12-
#API_KEY = '5a5db6fa5b4c5'
10+
API_KEY = 'your-api-qencode-key'
1311

1412
# specify path to your BuyDRM certificate files
1513
USER_PVT_KEY_PATH = './keys/user_private_key.pem'
@@ -62,9 +60,7 @@ def start_encode():
6260
use_playready=True, use_widevine=True
6361
)
6462

65-
#client = qencode.client(API_KEY, api_url='https://stage-sfo2-1-api-do.qencode.com/')
66-
#client = qencode.client(API_KEY, api_url='https://qa-sfo2-api-do.qencode.com/')
67-
client = qencode.client(API_KEY, api_url='https://prod-nyc1-api-do.qencode.com/')
63+
client = qencode.client(API_KEY)
6864
if client.error:
6965
raise QencodeClientException(client.message)
7066

0 commit comments

Comments
 (0)