Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kaltura.py #483

Merged
merged 2 commits into from
Aug 21, 2024
Merged
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
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"
}
}
Loading