<ng-container i18n>Allow live streaming</ng-container>
</ng-template>
- <ng-container ngProjectAs="description" i18n>
- ⚠️ Enabling live streaming requires trust in your users and extra moderation work
+ <ng-container ngProjectAs="description">
+ <div i18n>⚠️ Enabling live streaming requires trust in your users and extra moderation work</div>
+ <div i18n>If enabled, your server needs to accept incoming TCP traffic on port {{ liveRTMPPort }}</div>
</ng-container>
<ng-container ngProjectAs="extra">
.map(t => t.name)
}
+ get liveRTMPPort () {
+ return this.serverConfig.live.rtmp.port
+ }
+
getTotalTranscodingThreads () {
const transcodingEnabled = this.form.value['transcoding']['enabled']
const transcodingThreads = this.form.value['transcoding']['threads']
transcoding: {
enabled: false,
enabledResolutions: []
+ },
+ rtmp: {
+ port: 1935
}
},
avatar: {
# /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay
allow_replay: false
+ # Your firewall should accept traffic from this port in TCP if you enable live
rtmp:
port: 1935
# /!\ transcoding.enabled (and not live.transcoding.enabled) has to be true to create a replay
allow_replay: true
+ # Your firewall should accept traffic from this port in TCP if you enable live
rtmp:
port: 1935
transcoding: {
enabled: CONFIG.LIVE.TRANSCODING.ENABLED,
enabledResolutions: getEnabledResolutions('live')
+ },
+
+ rtmp: {
+ port: CONFIG.LIVE.RTMP.PORT
}
},
import: {
enabledResolutions: number[]
}
+
+ rtmp: {
+ port: number
+ }
}
import: {