fix getVideoBitRate default value

setting VideoBitrate to > 2147483647 causes a RequestBindingException on
the server.
This commit is contained in:
Frederik Kriewitz 2015-04-12 11:07:04 +02:00
parent 4367729103
commit 3343d2bbdd

View file

@ -144,7 +144,7 @@ class PlayUtils():
elif (videoQuality == "18"): elif (videoQuality == "18"):
return '1000000' return '1000000'
else: else:
return '10000000' return '2147483' # max bit rate supported by server (max signed 32bit integer)
def fileExists(self, result): def fileExists(self, result):
path=result.get("Path").encode('utf-8') path=result.get("Path").encode('utf-8')