public interface VideoMediaStream extends MediaStream
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REQUEST_RETRANSMISSIONS_PNAME
The name of the property used to control whether
VideoMediaStream
should request retransmissions for lost RTP packets using RTCP NACK. |
PNAME_LOCAL_SSRC, PNAME_REMOTE_SSRC
Modifier and Type | Method and Description |
---|---|
void |
addVideoListener(VideoListener listener)
Adds a specific VideoListener to this VideoMediaStream
in order to receive notifications when visual/video Components
are being added and removed.
|
KeyFrameControl |
getKeyFrameControl()
Gets the KeyFrameControl of this VideoMediaStream.
|
java.awt.Component |
getLocalVisualComponent()
Gets the visual Component, if any, depicting the video streamed
from the local peer to the remote peer.
|
BandwidthEstimator |
getOrCreateBandwidthEstimator()
Creates an instance of
BandwidthEstimator for this
MediaStream if one doesn't already exist. |
QualityControl |
getQualityControl()
Gets the QualityControl of this VideoMediaStream.
|
java.awt.Component |
getVisualComponent()
Deprecated.
Since multiple videos may be received from the remote peer
and rendered, it is not clear which one of them is to be singled out as
the return value. Thus
getVisualComponent(long) and
getVisualComponents() are to be used instead. |
java.awt.Component |
getVisualComponent(long ssrc)
Gets the visual Component rendering the ReceiveStream
with a specific SSRC.
|
java.util.List<java.awt.Component> |
getVisualComponents()
Gets a list of the visual Components where video from the remote
peer is being rendered.
|
void |
movePartialDesktopStreaming(int x,
int y)
Move origin of a partial desktop streaming MediaDevice.
|
void |
removeVideoListener(VideoListener listener)
Removes a specific VideoListener from this
VideoMediaStream in order to have to no longer receive
notifications when visual/video Components are being added and
removed.
|
void |
updateQualityControl(java.util.Map<java.lang.String,java.lang.String> advancedParams)
Updates the QualityControl of this VideoMediaStream.
|
addDynamicRTPPayloadType, addDynamicRTPPayloadTypeOverride, addPropertyChangeListener, addRTPExtension, clearDynamicRTPPayloadTypes, clearRTPExtensions, close, getActiveRTPExtensions, getDevice, getDirection, getDynamicRTPPayloadType, getDynamicRTPPayloadTypes, getFormat, getFormat, getLocalSourceID, getMediaStreamStats, getMediaStreamTrackReceiver, getName, getPrimaryREDBlock, getPrimaryREDBlock, getProperty, getRemoteControlAddress, getRemoteDataAddress, getRemoteSourceID, getRemoteSourceIDs, getRetransmissionRequester, getRTPTranslator, getSrtpControl, getStreamRTPManager, getTarget, getTransformEngineChain, getTransportProtocol, injectPacket, isKeyFrame, isKeyFrame, isMute, isStarted, removePropertyChangeListener, removeReceiveStreamForSsrc, setConnector, setDevice, setDirection, setExternalTransformer, setFormat, setMute, setName, setProperty, setRTPTranslator, setSSRCFactory, setTarget, setTransportCCEngine, start, stop
static final java.lang.String REQUEST_RETRANSMISSIONS_PNAME
VideoMediaStream
should request retransmissions for lost RTP packets using RTCP NACK.void addVideoListener(VideoListener listener)
Adding a listener which has already been added does nothing i.e. it is not added more than once and thus does not receive one and the same VideoEvent multiple times
listener
- the VideoListener to be notified when
visual/video Components are being added or removed in this
VideoMediaStreamKeyFrameControl getKeyFrameControl()
java.awt.Component getLocalVisualComponent()
QualityControl getQualityControl()
@Deprecated java.awt.Component getVisualComponent()
getVisualComponent(long)
and
getVisualComponents()
are to be used instead.java.awt.Component getVisualComponent(long ssrc)
ssrc
- the SSRC of the ReceiveStream to get the associated
rendering visual Component ofjava.util.List<java.awt.Component> getVisualComponents()
void movePartialDesktopStreaming(int x, int y)
x
- new x coordinate originy
- new y coordinate originvoid removeVideoListener(VideoListener listener)
listener
- the VideoListener to no longer be notified when
visual/video Components are being added or removed in this
VideoMediaStreamvoid updateQualityControl(java.util.Map<java.lang.String,java.lang.String> advancedParams)
advancedParams
- parameters of advanced attributes that may affect
quality controlBandwidthEstimator getOrCreateBandwidthEstimator()
BandwidthEstimator
for this
MediaStream
if one doesn't already exist. Returns the instance.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.