public interface KeyFrameControl
| Modifier and Type | Interface and Description |
|---|---|
static interface |
KeyFrameControl.KeyFrameRequestee
Represents a way for the remote peer of a VideoMediaStream to
request a key frame from its local peer.
|
static interface |
KeyFrameControl.KeyFrameRequester
Represents a way for a VideoMediaStream to request a key frame
from its remote peer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addKeyFrameRequestee(int index,
KeyFrameControl.KeyFrameRequestee keyFrameRequestee)
Adds a KeyFrameRequestee to be made available through this
KeyFrameControl.
|
void |
addKeyFrameRequester(int index,
KeyFrameControl.KeyFrameRequester keyFrameRequester)
Adds a KeyFrameRequester to be made available through this
KeyFrameControl.
|
List<KeyFrameControl.KeyFrameRequestee> |
getKeyFrameRequestees()
Gets the KeyFrameRequestees made available through this
KeyFrameControl.
|
List<KeyFrameControl.KeyFrameRequester> |
getKeyFrameRequesters()
Gets the KeyFrameRequesters made available through this
KeyFrameControl.
|
boolean |
keyFrameRequest()
Notifies this KeyFrameControl that the remote peer of the
associated VideoMediaStream has requested a key frame from the
local peer.
|
boolean |
removeKeyFrameRequestee(KeyFrameControl.KeyFrameRequestee keyFrameRequestee)
Removes a KeyFrameRequestee to no longer be made available
through this KeyFrameControl.
|
boolean |
removeKeyFrameRequester(KeyFrameControl.KeyFrameRequester keyFrameRequester)
Removes a KeyFrameRequester to no longer be made available
through this KeyFrameControl.
|
boolean |
requestKeyFrame(boolean urgent)
Requests a key frame from the remote peer of the associated
VideoMediaStream.
|
void addKeyFrameRequestee(int index,
KeyFrameControl.KeyFrameRequestee keyFrameRequestee)
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 itvoid addKeyFrameRequester(int index,
KeyFrameControl.KeyFrameRequester keyFrameRequester)
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 itList<KeyFrameControl.KeyFrameRequestee> getKeyFrameRequestees()
List<KeyFrameControl.KeyFrameRequester> getKeyFrameRequesters()
boolean keyFrameRequest()
boolean removeKeyFrameRequestee(KeyFrameControl.KeyFrameRequestee keyFrameRequestee)
keyFrameRequestee - the KeyFrameRequestee to be removed
from this KeyFrameControl so that it is no longer made available
through itboolean removeKeyFrameRequester(KeyFrameControl.KeyFrameRequester keyFrameRequester)
keyFrameRequester - the KeyFrameRequester to be removed
from this KeyFrameControl so that it is no longer made available
through itboolean requestKeyFrame(boolean urgent)
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 framesCopyright © 2022 jitsi.org. All rights reserved.