We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a56b2ba commit cde85c3Copy full SHA for cde85c3
1 file changed
PythonRpcServer/kaltura.py
@@ -97,7 +97,7 @@ def getClient(self, partnerId, tokenId, appToken):
97
# generate token hash from ks + appToken
98
tokenHash = hashlib.sha256(result.ks.encode('ascii')+appToken.encode('ascii')).hexdigest()
99
# start an app token session
100
- result = client.appToken.startSession( tokenId, tokenHash, '', '', expiry)
+ result = client.appToken.startSession( tokenId, tokenHash, '', KalturaSessionType.ADMIN, expiry)
101
client.setKs(result.ks)
102
return client,result.ks
103
# Returns dict of Media information for a specific media
0 commit comments