void LiveViewManager::setBandwidthMode(int value)
{
    if (m_bandwidthMode == value)
        return;

    m_bandwidthMode = (BandwidthMode)value;
    emit bandwidthModeChanged(value);
}
void LiveStream::setBandwidthMode(int value)
{
    if (value == m_bandwidthMode)
        return;

    m_bandwidthMode = (LiveViewManager::BandwidthMode)value;
    emit bandwidthModeChanged(value);

    if (state() >= Connecting)
    {
        stop();
        start();
    }
}