public class KeyFrameControlAdapter extends java.lang.Object implements KeyFrameControl
KeyFrameControl
.KeyFrameControl.KeyFrameRequestee, KeyFrameControl.KeyFrameRequester
Constructor and Description |
---|
KeyFrameControlAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addKeyFrameRequestee(int index,
KeyFrameControl.KeyFrameRequestee keyFrameRequestee)
|
void |
addKeyFrameRequester(int index,
KeyFrameControl.KeyFrameRequester keyFrameRequester)
|
java.util.List<KeyFrameControl.KeyFrameRequestee> |
getKeyFrameRequestees()
Implements
KeyFrameControl.getKeyFrameRequestees() . |
java.util.List<KeyFrameControl.KeyFrameRequester> |
getKeyFrameRequesters()
Implements
KeyFrameControl.getKeyFrameRequesters() . |
boolean |
keyFrameRequest()
Implements
KeyFrameControl.keyFrameRequest() . |
boolean |
removeKeyFrameRequestee(KeyFrameControl.KeyFrameRequestee keyFrameRequestee)
|
boolean |
removeKeyFrameRequester(KeyFrameControl.KeyFrameRequester keyFrameRequester)
|
boolean |
requestKeyFrame(boolean urgent)
Implements
KeyFrameControl.requestKeyFrame(boolean) . |
public void addKeyFrameRequestee(int index, KeyFrameControl.KeyFrameRequestee keyFrameRequestee)
KeyFrameControl.addKeyFrameRequestee(int, KeyFrameRequestee)
.
Adds a KeyFrameRequestee to be made available through this
KeyFrameControl.addKeyFrameRequestee
in interface KeyFrameControl
index
- the zero-based index at which keyFrameRequestee is
to be added to the list of KeyFrameRequestees made available or
-1 to have this KeyFrameControl choose at which index
it is to be added in accord with its internal logic
through this KeyFrameControlkeyFrameRequestee
- the KeyFrameRequestee to be added to
this KeyFrameControl so that it is made available through itpublic void addKeyFrameRequester(int index, KeyFrameControl.KeyFrameRequester keyFrameRequester)
KeyFrameControl.addKeyFrameRequester(int, KeyFrameRequester)
.
Adds a KeyFrameRequester to be made available through this
KeyFrameControl.addKeyFrameRequester
in interface KeyFrameControl
index
- the zero-based index at which keyFrameRequester is
to be added to the list of KeyFrameRequesters made available or
-1 to have this KeyFrameControl choose at which index
it is to be added in accord with its internal logic
through this KeyFrameControlkeyFrameRequester
- the KeyFrameRequester to be added to
this KeyFrameControl so that it is made available through itpublic java.util.List<KeyFrameControl.KeyFrameRequestee> getKeyFrameRequestees()
KeyFrameControl.getKeyFrameRequestees()
.
Gets the KeyFrameRequestees made available through this
KeyFrameControl.getKeyFrameRequestees
in interface KeyFrameControl
public java.util.List<KeyFrameControl.KeyFrameRequester> getKeyFrameRequesters()
KeyFrameControl.getKeyFrameRequesters()
.
Gets the KeyFrameRequesters made available through this
KeyFrameControl.getKeyFrameRequesters
in interface KeyFrameControl
public boolean keyFrameRequest()
KeyFrameControl.keyFrameRequest()
.
Notifies this KeyFrameControl that the remote peer of the
associated VideoMediaStream has requested a key frame from the
local peer.keyFrameRequest
in interface KeyFrameControl
public boolean removeKeyFrameRequestee(KeyFrameControl.KeyFrameRequestee keyFrameRequestee)
KeyFrameControl.removeKeyFrameRequestee(KeyFrameRequestee)
.
Removes a KeyFrameRequestee to no longer be made available
through this KeyFrameControl.removeKeyFrameRequestee
in interface KeyFrameControl
keyFrameRequestee
- the KeyFrameRequestee to be removed
from this KeyFrameControl so that it is no longer made available
through itpublic boolean removeKeyFrameRequester(KeyFrameControl.KeyFrameRequester keyFrameRequester)
KeyFrameControl.removeKeyFrameRequester(KeyFrameRequester)
.
Removes a KeyFrameRequester to no longer be made available
through this KeyFrameControl.removeKeyFrameRequester
in interface KeyFrameControl
keyFrameRequester
- the KeyFrameRequester to be removed
from this KeyFrameControl so that it is no longer made available
through itpublic boolean requestKeyFrame(boolean urgent)
KeyFrameControl.requestKeyFrame(boolean)
.
Requests a key frame from the remote peer of the associated
VideoMediaStream.requestKeyFrame
in interface KeyFrameControl
urgent
- true if the caller has determined that the need
for a key frame is urgent and should not obey all constraints with
respect to time between two subsequent requests for key frames
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.