diff options
Diffstat (limited to 'server/lib/live-manager.ts')
-rw-r--r-- | server/lib/live-manager.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/lib/live-manager.ts b/server/lib/live-manager.ts index 9f17b8820..b549c189f 100644 --- a/server/lib/live-manager.ts +++ b/server/lib/live-manager.ts | |||
@@ -16,7 +16,7 @@ import { VideoModel } from '@server/models/video/video' | |||
16 | import { VideoFileModel } from '@server/models/video/video-file' | 16 | import { VideoFileModel } from '@server/models/video/video-file' |
17 | import { VideoLiveModel } from '@server/models/video/video-live' | 17 | import { VideoLiveModel } from '@server/models/video/video-live' |
18 | import { VideoStreamingPlaylistModel } from '@server/models/video/video-streaming-playlist' | 18 | import { VideoStreamingPlaylistModel } from '@server/models/video/video-streaming-playlist' |
19 | import { MStreamingPlaylist, MUserId, MVideoLive, MVideoLiveVideo } from '@server/types/models' | 19 | import { MStreamingPlaylist, MStreamingPlaylistVideo, MUserId, MVideoLive, MVideoLiveVideo } from '@server/types/models' |
20 | import { VideoState, VideoStreamingPlaylistType } from '@shared/models' | 20 | import { VideoState, VideoStreamingPlaylistType } from '@shared/models' |
21 | import { federateVideoIfNeeded } from './activitypub/videos' | 21 | import { federateVideoIfNeeded } from './activitypub/videos' |
22 | import { buildSha256Segment } from './hls' | 22 | import { buildSha256Segment } from './hls' |
@@ -277,7 +277,7 @@ class LiveManager { | |||
277 | return this.runMuxing({ | 277 | return this.runMuxing({ |
278 | sessionId, | 278 | sessionId, |
279 | videoLive, | 279 | videoLive, |
280 | playlist: videoStreamingPlaylist, | 280 | playlist: Object.assign(videoStreamingPlaylist, { Video: video }), |
281 | rtmpUrl, | 281 | rtmpUrl, |
282 | fps, | 282 | fps, |
283 | allResolutions | 283 | allResolutions |
@@ -287,7 +287,7 @@ class LiveManager { | |||
287 | private async runMuxing (options: { | 287 | private async runMuxing (options: { |
288 | sessionId: string | 288 | sessionId: string |
289 | videoLive: MVideoLiveVideo | 289 | videoLive: MVideoLiveVideo |
290 | playlist: MStreamingPlaylist | 290 | playlist: MStreamingPlaylistVideo |
291 | rtmpUrl: string | 291 | rtmpUrl: string |
292 | fps: number | 292 | fps: number |
293 | allResolutions: number[] | 293 | allResolutions: number[] |