Back to Peertube

Admin Config Live.Component

client/src/app/+admin/config/pages/admin-config-live.component.html

8.2.42.4 KB
Original Source

LIVE

Enable users of your platform to stream a live.

Allow live streaming ⚠️ Enabling live streaming requires trust in your users and extra moderation work

If enabled, your server needs to accept incoming TCP traffic on port {{ getLiveRTMPPort() }}

Allow video streamers to set the DVR window up to {form.value.live.dvr.maxWindow, plural, =1 {minute} other {minutes}} @if (formErrors.live.dvr.maxWindow) { {{ formErrors.live.dvr.maxWindow }} }

Default value for the "automatically publish a replay when your live ends" checkbox when creating a new live

Small latency disables P2P and high latency can increase P2P ratio

Max simultaneous lives created on your platform(-1 for "unlimited") {form.value.live.maxInstanceLives, plural, =1 {live} other {lives}} @if (formErrors.live.maxInstanceLives) { {{ formErrors.live.maxInstanceLives }} }

Max simultaneous lives created per user(-1 for "unlimited") {form.value.live.maxUserLives, plural, =1 {live} other {lives}} @if (formErrors.live.maxUserLives) { {{ formErrors.live.maxUserLives }} }

Max live duration @if (formErrors.live.maxDuration) { {{ formErrors.live.maxDuration }} }

TRANSCODING

Same as VOD transcoding, transcoding live streams so that they are in a streamable form that any device can play. Requires a beefy CPU, and then some.

Transcoding enabled for live streams

Output formats

Max live FPSCap transcoded live FPS. Max resolution stream still keeps the original FPS. FPS @if (formErrors.live.transcoding.fps.max) { {{ formErrors.live.transcoding.fps.max }} }

Live resolutions to generate

@for (resolution of liveResolutions; track resolution) { @if (resolution.description) {

} } Even if it's above your maximum enabled resolution

Use remote runners to process live transcoding.

Remote runners have to register on your instance first.

Live transcoding threads @if (getTotalTranscodingThreads().atMost) { will claim at most {{ getTotalTranscodingThreads().value }} {{ getTotalTranscodingThreads().unit }} with VOD transcoding } @if (!getTotalTranscodingThreads().atMost) { will claim at least {{ getTotalTranscodingThreads().value }} {{ getTotalTranscodingThreads().unit }} with VOD transcoding } @if (formErrors.live.transcoding.threads) { {{ formErrors.live.transcoding.threads }} }

Live transcoding profilenew live transcoding profiles can be added by PeerTube plugins @if (formErrors.live.transcoding.profile) { {{ formErrors.live.transcoding.profile }} }