I am mounting a Google Drive and streaming the video content through nginx limiting the bandwidth by adding
limit_rate 1024k;
However the videos are being downloaded from Google drive at about 20mb/s. What do I need to change on my following config to get that ratio a bit closer? This is with only one person watching the video so I don't want to limit myself to say 5Mb/s from Google drive and once I have 10+ people streaming the videos will be essential the 5mb/s split between 10 users. I don't want limits I put on rclone to be a global limit rather a limit per video request.
[Unit]
Description=Google Drive (rclone)
AssertPathIsDirectory=/home/vids
After=googledrive.service
[Service]
Type=notify
ExecStart=/usr/bin/rclone mount google: /home/vids --allow-non-empty
--allow-other
--buffer-size 1G
--dir-cache-time 6h
--drive-chunk-size 256M
--log-level INFO
--log-file /var/log/rclone.log
--timeout 1h
--umask 002
--vfs-read-chunk-size 128M
--vfs-read-chunk-size-limit off
ExecStop=/bin/fusermount -uz /home/vids
Restart=on-failure
RestartSec=10
KillMode=none
[Install]
WantedBy=default.target