@Column(DataType.STRING)
streamKey: string
- @AllowNull(false)
- @Column
- perpetualLive: boolean
-
@AllowNull(false)
@Column
saveReplay: boolean
toFormattedJSON (): LiveVideo {
return {
rtmpUrl: WEBSERVER.RTMP_URL,
- streamKey: this.streamKey
+ streamKey: this.streamKey,
+ saveReplay: this.saveReplay
}
}
}