fix getVideoBitRate default value
setting VideoBitrate to > 2147483647 causes a RequestBindingException on the server.
This commit is contained in:
parent
4367729103
commit
3343d2bbdd
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue