Package org.jitsi.service.neomedia
Interface QualityControl
-
public interface QualityControlThe quality controls we use to control other party video presets.- Author:
- Damian Minkov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QualityPresetgetRemoteReceivePreset()The currently used quality preset announced as receive by remote party.QualityPresetgetRemoteSendMaxPreset()The maximum preset that the remote party is sending and we are receiving.QualityPresetgetRemoteSendMinPreset()The minimum preset that the remote party is sending and we are receiving.voidsetPreferredRemoteSendMaxPreset(QualityPreset preset)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.voidsetRemoteSendMaxPreset(QualityPreset preset)Changes remote send preset.
-
-
-
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
-
-