mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-05-03 09:43:55 +00:00
perf: fix mp4 type replay
This commit is contained in:
@@ -251,7 +251,8 @@ class SessionReplayViewSet(AsyncApiMixin, viewsets.ViewSet):
|
||||
|
||||
if url.endswith('.cast.gz'):
|
||||
tp = 'asciicast'
|
||||
elif url.endswith('.replay.mp4'):
|
||||
elif url.endswith('.mp4'):
|
||||
## .replay.mp4 .part.mp4
|
||||
tp = 'mp4'
|
||||
elif url.endswith('replay.json'):
|
||||
# 新版本将返回元数据信息
|
||||
|
||||
Reference in New Issue
Block a user