mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add notification on subscription live stream
This commit is contained in:
@@ -119,12 +119,13 @@ export class LiveCommand extends AbstractCommand {
|
||||
}
|
||||
|
||||
async quickCreate (options: OverrideCommandOptions & {
|
||||
name: string
|
||||
saveReplay: boolean
|
||||
permanentLive: boolean
|
||||
privacy?: VideoPrivacyType
|
||||
videoPasswords?: string[]
|
||||
}) {
|
||||
const { saveReplay, permanentLive, privacy = VideoPrivacy.PUBLIC, videoPasswords } = options
|
||||
const { name = 'live', saveReplay, permanentLive, privacy = VideoPrivacy.PUBLIC, videoPasswords } = options
|
||||
|
||||
const replaySettings = privacy === VideoPrivacy.PASSWORD_PROTECTED
|
||||
? { privacy: VideoPrivacy.PRIVATE }
|
||||
@@ -134,7 +135,7 @@ export class LiveCommand extends AbstractCommand {
|
||||
...options,
|
||||
|
||||
fields: {
|
||||
name: 'live',
|
||||
name,
|
||||
permanentLive,
|
||||
saveReplay,
|
||||
replaySettings,
|
||||
|
||||
Reference in New Issue
Block a user