Lower bandwidth requirements on cellular data
Describe the problem to be solved
My instance of PeerTube is configured for high bitrate video, for 1080p this is between 6Mbps and 8Mbps.
On mobile devices this'd quite quickly run thru someone's limited 4G data bundle.
Describe the solution you would like
PeerTube to gain the ability to force lower resolutions (480p) to lower bandwidth requirements, when the client device is on mobile and/or limited data plan.
Some (not all) browsers expose this information via the NetworkInformation API:
https://googlechrome.github.io/samples/network-information/
https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API
https://caniuse.com/netinfo
Agreed, this would be useful.
as an addition force h264 for the mobile device even if the instance is configured for hevc , vp9 or av1.