mirror of
https://github.com/fastogt/fastocloud_admin.git
synced 2025-03-09 23:38:52 +00:00
Review
This commit is contained in:
parent
80b7959454
commit
7e50d92e61
1 changed files with 2 additions and 3 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue