Skip to content

kimsible/peertube-plugin-upload-limits

Repository files navigation

PeerTube plugin Upload Limits

This plugin allows to set up limitations (file size, video bit rate, audio bit rate) for the file to upload.

Plugin settings

  • Maximum file size in Mega octets / Mega bytes
  • Maximum video bit rate in Mega bits per seconds
  • Maximum audio bit rate in kilo bits per seconds

Overall steps

  • On client side, when limits are not fullfilled, the upload is not proceed and the user is notified with a PeerTube toast.
  • On server side after uploading, when limits are not fullfilled, uploaded video / audio file is not accepted. See the server side checking as a security validation.

Requirements

From Upload Limits v0.4.0, PeerTube v2.2.0 or a newer version is required.

Dependencies

Upload limits are checked both client and server side with the JavaScript port of MediaInfo using WebAssembly.

About

Defining and checking upload limits with MediaInfo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •