- this.videoCaptionService
- .listCaptions(video.id)
- .pipe(
- map(result => result.data)
- )
- ])
- }),
- map(([ video, videoChannels, videoCaptions ]) => ({ video, videoChannels, videoCaptions }))
- )
+ listUserChannelsForSelect(this.authService),
+
+ this.videoCaptionService
+ .listCaptions(video.id)
+ .pipe(
+ map(result => result.data)
+ ),
+
+ video.isLive
+ ? this.liveVideoService.getVideoLive(video.id)
+ : of(undefined)
+ ]