YunoHost-Apps / peertube_ynh

Federated (ActivityPub) video streaming platform using P2P for YunoHost
https://joinpeertube.org/fr/
GNU Affero General Public License v3.0
87 stars 27 forks source link

let the user enable gpu acceleration through an option #324

Closed fflorent closed 7 months ago

fflorent commented 2 years ago

PeerTube suggests to bring some additions in the systemd service that are not present in ours.

https://docs.joinpeertube.org/maintain-configuration?id=systemd-unit-with-reduced-privileges

This commit also seems to me to be a bad move, as we seem to prefer an enhancement for some users (gpu hardware acceleration) instead of security which concerns every users: https://github.com/YunoHost-Apps/peertube_ynh/commit/f0448d53fe03b17ef65b1f12c54287ec3329ea9e

I suggest to revert and suggest later an option to let the user enable the gpu hardware acceleration.

EDIT: the documentation says Some directives can be changed to improve security!. My bad, my original message was tough. I don't suggest to revert the commit anymore but instead suggest a PR to let the user enable gpu acceleration through an option (I can work on this).

lapineige commented 7 months ago

I don't understand what setting affects GPU hardware acceleration.

ericgaspar commented 7 months ago

closing.