1
0
Fork 0
mirror of https://github.com/fastogt/fastocloud_admin.git synced 2025-03-09 23:38:52 +00:00
This commit is contained in:
topilski 2020-02-09 09:09:37 -05:00
parent 80b7959454
commit 7e50d92e61

View file

@ -24,10 +24,9 @@ class ProviderView(FlaskView):
for stream in streams: for stream in streams:
front = stream.to_dict() front = stream.to_dict()
type = stream.get_type() type = stream.get_type()
if type == constants.StreamType.PROXY: if type == constants.StreamType.PROXY or type == constants.StreamType.VOD_PROXY:
proxy.append(front) proxy.append(front)
elif type == constants.StreamType.VOD_PROXY or type == constants.StreamType.VOD_RELAY or \ elif type == constants.StreamType.VOD_RELAY or type == constants.StreamType.VOD_ENCODE:
type == constants.StreamType.VOD_ENCODE:
vods.append(front) vods.append(front)
elif type == constants.StreamType.COD_RELAY or type == constants.StreamType.COD_ENCODE: elif type == constants.StreamType.COD_RELAY or type == constants.StreamType.COD_ENCODE:
cods.append(front) cods.append(front)