Improves stream start/stop detection and automatic switching.