When left unset, defaults to local max size. The reason i didn't actually add local-image-max-size and local-video-max-size is in doing that it potentially opens us up for requiring local-audio-max-size, and potentially any other file types that we separate on in the future. It makes more sense to have a single local max size, and allow tweaking the frontend hinting that applications like Tusky use for autosizing.
It also updates the unused media limits (framerate, image / video dimensions) to just be the maximum possible int sizes. In case Tusky does try to limit based on those since we can support anything under the local max size.
Description
When left unset, defaults to local max size. The reason i didn't actually add local-image-max-size and local-video-max-size is in doing that it potentially opens us up for requiring local-audio-max-size, and potentially any other file types that we separate on in the future. It makes more sense to have a single local max size, and allow tweaking the frontend hinting that applications like Tusky use for autosizing.
It also updates the unused media limits (framerate, image / video dimensions) to just be the maximum possible int sizes. In case Tusky does try to limit based on those since we can support anything under the local max size.
closes #3449
Checklist
go fmt ./...
andgolangci-lint run
.