Skip to content

Commit

Permalink
Merge pull request #483 from classtranscribe/Kaltura-Session-Type
Browse files Browse the repository at this point in the history
Update kaltura.py
  • Loading branch information
angrave committed Aug 21, 2024
2 parents a56b2ba + 037223c commit 7886c3c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ClassTranscribeServer/global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "8.0.201"
"version": "8.0.401"
}
}
2 changes: 1 addition & 1 deletion PythonRpcServer/kaltura.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def getClient(self, partnerId, tokenId, appToken):
# generate token hash from ks + appToken
tokenHash = hashlib.sha256(result.ks.encode('ascii')+appToken.encode('ascii')).hexdigest()
# start an app token session
result = client.appToken.startSession( tokenId, tokenHash, '', '', expiry)
result = client.appToken.startSession( tokenId, tokenHash, '', KalturaSessionType.ADMIN, expiry)
client.setKs(result.ks)
return client,result.ks
# Returns dict of Media information for a specific media
Expand Down
2 changes: 1 addition & 1 deletion TaskEngine/global.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"sdk": {
"version": "8.0.201"
"version": "8.0.401"
}
}

0 comments on commit 7886c3c

Please sign in to comment.