|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface KeyFrameControl
Represents a control over the key frame-related logic of a VideoMediaStream.
| Nested Class Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 it
void 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 it
boolean removeKeyFrameRequester(KeyFrameControl.KeyFrameRequester keyFrameRequester)
keyFrameRequester - the KeyFrameRequester to be removed
from this KeyFrameControl so that it is no longer made available
through it
boolean 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 frames
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||