public interface SdpEndpoint extends SessionEndpoint
Functionality provided by this API:
Modifier and Type | Method and Description |
---|---|
String |
generateOffer()
Generates an SDP offer with media capabilities of the Endpoint.
|
void |
generateOffer(Continuation<String> cont)
Asynchronous version of generateOffer:
Continuation.onSuccess(F) is called when the action is
done. |
String |
generateOffer(OfferOptions options)
Generates an SDP offer with media capabilities of the Endpoint.
|
void |
generateOffer(OfferOptions options,
Continuation<String> cont)
Asynchronous version of generateOffer:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<String> |
generateOffer(Transaction tx)
Generates an SDP offer with media capabilities of the Endpoint.
|
TFuture<String> |
generateOffer(Transaction tx,
OfferOptions options)
Generates an SDP offer with media capabilities of the Endpoint.
|
String |
getLocalSessionDescriptor()
Returns the local SDP.
|
void |
getLocalSessionDescriptor(Continuation<String> cont)
Asynchronous version of getLocalSessionDescriptor:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<String> |
getLocalSessionDescriptor(Transaction tx)
Returns the local SDP.
|
int |
getMaxAudioRecvBandwidth()
Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
void |
getMaxAudioRecvBandwidth(Continuation<Integer> cont)
Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
TFuture<Integer> |
getMaxAudioRecvBandwidth(Transaction tx)
Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
int |
getMaxVideoRecvBandwidth()
Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
void |
getMaxVideoRecvBandwidth(Continuation<Integer> cont)
Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
TFuture<Integer> |
getMaxVideoRecvBandwidth(Transaction tx)
Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
String |
getRemoteSessionDescriptor()
This method returns the remote SDP.
|
void |
getRemoteSessionDescriptor(Continuation<String> cont)
Asynchronous version of getRemoteSessionDescriptor:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<String> |
getRemoteSessionDescriptor(Transaction tx)
This method returns the remote SDP.
|
String |
processAnswer(String answer)
Generates an SDP offer with media capabilities of the Endpoint.
|
void |
processAnswer(String answer,
Continuation<String> cont)
Asynchronous version of processAnswer:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<String> |
processAnswer(Transaction tx,
String answer)
Generates an SDP offer with media capabilities of the Endpoint.
|
String |
processOffer(String offer)
Processes SDP offer of the remote peer, and generates an SDP answer based on the endpoint's capabilities.
|
void |
processOffer(String offer,
Continuation<String> cont)
Asynchronous version of processOffer:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<String> |
processOffer(Transaction tx,
String offer)
Processes SDP offer of the remote peer, and generates an SDP answer based on the endpoint's capabilities.
|
void |
setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth)
Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
void |
setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth,
Continuation<Void> cont)
Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
void |
setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth,
Transaction tx)
Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
void |
setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth)
Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
void |
setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth,
Continuation<Void> cont)
Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
void |
setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth,
Transaction tx)
Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders.
|
addMediaSessionStartedListener, addMediaSessionStartedListener, addMediaSessionTerminatedListener, addMediaSessionTerminatedListener, removeMediaSessionStartedListener, removeMediaSessionStartedListener, removeMediaSessionTerminatedListener, removeMediaSessionTerminatedListener
addElementConnectedListener, addElementConnectedListener, addElementDisconnectedListener, addElementDisconnectedListener, addMediaFlowInStateChangedListener, addMediaFlowInStateChangedListener, addMediaFlowInStateChangeListener, addMediaFlowInStateChangeListener, addMediaFlowOutStateChangedListener, addMediaFlowOutStateChangedListener, addMediaFlowOutStateChangeListener, addMediaFlowOutStateChangeListener, addMediaTranscodingStateChangedListener, addMediaTranscodingStateChangedListener, addMediaTranscodingStateChangeListener, addMediaTranscodingStateChangeListener, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, connect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getGstreamerDot, getMaxOuputBitrate, getMaxOuputBitrate, getMaxOuputBitrate, getMaxOutputBitrate, getMaxOutputBitrate, getMaxOutputBitrate, getMinOuputBitrate, getMinOuputBitrate, getMinOuputBitrate, getMinOutputBitrate, getMinOutputBitrate, getMinOutputBitrate, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getStats, getStats, getStats, getStats, getStats, getStats, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingIn, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaFlowingOut, isMediaTranscoding, isMediaTranscoding, isMediaTranscoding, isMediaTranscoding, isMediaTranscoding, isMediaTranscoding, removeElementConnectedListener, removeElementConnectedListener, removeElementDisconnectedListener, removeElementDisconnectedListener, removeMediaFlowInStateChangedListener, removeMediaFlowInStateChangedListener, removeMediaFlowInStateChangeListener, removeMediaFlowInStateChangeListener, removeMediaFlowOutStateChangedListener, removeMediaFlowOutStateChangedListener, removeMediaFlowOutStateChangeListener, removeMediaFlowOutStateChangeListener, removeMediaTranscodingStateChangedListener, removeMediaTranscodingStateChangedListener, removeMediaTranscodingStateChangeListener, removeMediaTranscodingStateChangeListener, setAudioFormat, setAudioFormat, setAudioFormat, setMaxOuputBitrate, setMaxOuputBitrate, setMaxOuputBitrate, setMaxOutputBitrate, setMaxOutputBitrate, setMaxOutputBitrate, setMinOuputBitrate, setMinOuputBitrate, setMinOuputBitrate, setMinOutputBitrate, setMinOutputBitrate, setMinOutputBitrate, setOutputBitrate, setOutputBitrate, setOutputBitrate, setVideoFormat, setVideoFormat, setVideoFormat
addErrorListener, addErrorListener, addTag, addTag, addTag, getChildren, getChildren, getChildren, getChilds, getChilds, getChilds, getCreationTime, getCreationTime, getCreationTime, getId, getId, getId, getMediaPipeline, getMediaPipeline, getMediaPipeline, getName, getName, getName, getParent, getParent, getParent, getSendTagsInEvents, getSendTagsInEvents, getSendTagsInEvents, getTag, getTag, getTag, getTags, getTags, getTags, removeErrorListener, removeErrorListener, removeTag, removeTag, removeTag, setName, setName, setName, setSendTagsInEvents, setSendTagsInEvents, setSendTagsInEvents
addEventListener, invoke, isCommited, release, release, release, removeEventListener, waitCommited, whenCommited, whenCommited
int getMaxAudioRecvBandwidth()
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
void getMaxAudioRecvBandwidth(Continuation<Integer> cont)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
TFuture<Integer> getMaxAudioRecvBandwidth(Transaction tx)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
void setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
void setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth, Continuation<Void> cont)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
void setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth, Transaction tx)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
int getMaxVideoRecvBandwidth()
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
void getMaxVideoRecvBandwidth(Continuation<Integer> cont)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
TFuture<Integer> getMaxVideoRecvBandwidth(Transaction tx)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
void setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
void setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth, Continuation<Void> cont)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
void setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth, Transaction tx)
This is used to put a limit on the bitrate that the remote peer will send to
this endpoint. The net effect of setting this parameter is that
when Kurento generates an SDP Offer, an 'Application Specific' (AS)
maximum bandwidth attribute will be added to the SDP media section:
b=AS:{value}
.
Note: This parameter has to be set before the SDP is generated.
String generateOffer(OfferOptions options)
options
- An OfferOptions
providing options requested for the offer.void generateOffer(OfferOptions options, Continuation<String> cont)
Continuation.onSuccess(F)
is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable)
is called.options
- An OfferOptions
providing options requested for the offer.generateOffer(org.kurento.client.OfferOptions)
TFuture<String> generateOffer(Transaction tx, OfferOptions options)
options
- An OfferOptions
providing options requested for the offer.String processOffer(String offer)
If no matching capabilities are found, the SDP will contain no codecs.
Throws:offer
- SessionSpec offer from the remote User Agentvoid processOffer(String offer, Continuation<String> cont)
Continuation.onSuccess(F)
is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable)
is called.offer
- SessionSpec offer from the remote User AgentprocessOffer(java.lang.String)
TFuture<String> processOffer(Transaction tx, String offer)
If no matching capabilities are found, the SDP will contain no codecs.
Throws:offer
- SessionSpec offer from the remote User AgentString processAnswer(String answer)
answer
- SessionSpec answer from the remote User Agentvoid processAnswer(String answer, Continuation<String> cont)
Continuation.onSuccess(F)
is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable)
is called.answer
- SessionSpec answer from the remote User AgentprocessAnswer(java.lang.String)
TFuture<String> processAnswer(Transaction tx, String answer)
answer
- SessionSpec answer from the remote User AgentString getLocalSessionDescriptor()
void getLocalSessionDescriptor(Continuation<String> cont)
Continuation.onSuccess(F)
is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable)
is called.getLocalSessionDescriptor()
TFuture<String> getLocalSessionDescriptor(Transaction tx)
String getRemoteSessionDescriptor()
void getRemoteSessionDescriptor(Continuation<String> cont)
Continuation.onSuccess(F)
is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable)
is called.getRemoteSessionDescriptor()
TFuture<String> getRemoteSessionDescriptor(Transaction tx)
String generateOffer()
void generateOffer(Continuation<String> cont)
Continuation.onSuccess(F)
is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable)
is called.TFuture<String> generateOffer(Transaction tx)
Copyright © 2022 Kurento. All rights reserved.