WebFrontend: Offer two possible resolutions/bitrates for video, 360p (Mobile) or 720p (WiFi). 360p is the default unless the client IP is local, in which case we use 720p instead. The chosen bitrates are based on Apple best practice guidelines for HLS.
HLS: Don't scale video beyond it's original resolution, it's a waste of time and will only degrade quality. Since the end client can't know the original resolution of the video it can only request the ideal e.g. 1280x720. So for SD videos we don't alter the resolution and for Full HD we scale down. Ultimately we may scale the bitrate accordingly, but for now it remains unaffected.
Transcoder: Remove assumption that all 1080 video is 1920 wide which means the buffer size may be incorrect.
Switch from 'medium' to 'veryfast' preset for HLS. Difficult to measure the speed gain, but quality isn't significantly degraded.
HLS: Enable deinterlacing for HLS. Web videos must be progressive.
HLS: Fix audio-only bitrate to 64k per Apple recommendations. This was actually already done at the transcoder end, it seems HTTPLiveStream also needed telling to label the streams correctly.
Enable smoothing in the HLS Test player to match the WebFrontend player.