diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-03 11:38:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-03 14:49:15 +0200 |
commit | 26e3e98ff0e222a9fb9226938ac6902af77921bd (patch) | |
tree | 73d1c6f2524e380862d3365f12043fc319d40841 /server/models/video/video.ts | |
parent | 86c5229b4d726202378ef46854383bcafca22310 (diff) | |
download | PeerTube-26e3e98ff0e222a9fb9226938ac6902af77921bd.tar.gz PeerTube-26e3e98ff0e222a9fb9226938ac6902af77921bd.tar.zst PeerTube-26e3e98ff0e222a9fb9226938ac6902af77921bd.zip |
Support live session in server
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 13d81561a..d216ed47d 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -787,7 +787,7 @@ export class VideoModel extends Model<Partial<AttributesOnly<VideoModel>>> { | |||
787 | 787 | ||
788 | logger.info('Stopping live of video %s after video deletion.', instance.uuid) | 788 | logger.info('Stopping live of video %s after video deletion.', instance.uuid) |
789 | 789 | ||
790 | LiveManager.Instance.stopSessionOf(instance.id) | 790 | LiveManager.Instance.stopSessionOf(instance.id, null) |
791 | } | 791 | } |
792 | 792 | ||
793 | @BeforeDestroy | 793 | @BeforeDestroy |