Interface QualityControl


  • public interface QualityControl
    The quality controls we use to control other party video presets.
    Author:
    Damian Minkov
    • Method Detail

      • getRemoteReceivePreset

        QualityPreset getRemoteReceivePreset()
        The currently used quality preset announced as receive by remote party.
        Returns:
        the current quality preset.
      • getRemoteSendMinPreset

        QualityPreset getRemoteSendMinPreset()
        The minimum preset that the remote party is sending and we are receiving.
        Returns:
        the minimum remote preset.
      • getRemoteSendMaxPreset

        QualityPreset getRemoteSendMaxPreset()
        The maximum preset that the remote party is sending and we are receiving.
        Returns:
        the maximum preset announced from remote party as send.
      • setRemoteSendMaxPreset

        void setRemoteSendMaxPreset​(QualityPreset preset)
        Changes remote send preset. This doesn't have impact of current stream. But will have on next media changes. With this we can try to change the resolution that the remote part is sending.
        Parameters:
        preset - the new preset value.
      • setPreferredRemoteSendMaxPreset

        void setPreferredRemoteSendMaxPreset​(QualityPreset preset)
                                      throws MediaException
        Changes remote send preset and protocols who can handle the changes will implement this for re-inviting the other party or just sending that media has changed.
        Parameters:
        preset - the new preset.
        Throws:
        MediaException