public interface SdpEndpoint extends SessionEndpoint
Modifier and Type | Method and Description |
---|---|
java.lang.String |
generateOffer()
Generates an SDP offer with media capabilities of the Endpoint.
|
void |
generateOffer(Continuation<java.lang.String> cont)
Asynchronous version of generateOffer:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<java.lang.String> |
generateOffer(Transaction tx)
Generates an SDP offer with media capabilities of the Endpoint.
|
java.lang.String |
getLocalSessionDescriptor()
This method returns the local SDP.
|
void |
getLocalSessionDescriptor(Continuation<java.lang.String> cont)
Asynchronous version of getLocalSessionDescriptor:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<java.lang.String> |
getLocalSessionDescriptor(Transaction tx)
This method returns the local SDP.
|
int |
getMaxAudioRecvBandwidth()
Get Maximum bandwidth for audio reception, in kbps.
|
void |
getMaxAudioRecvBandwidth(Continuation<java.lang.Integer> cont)
Get Maximum bandwidth for audio reception, in kbps.
|
TFuture<java.lang.Integer> |
getMaxAudioRecvBandwidth(Transaction tx)
Get Maximum bandwidth for audio reception, in kbps.
|
int |
getMaxVideoRecvBandwidth()
Get Maximum bandwidth for video reception, in kbps.
|
void |
getMaxVideoRecvBandwidth(Continuation<java.lang.Integer> cont)
Get Maximum bandwidth for video reception, in kbps.
|
TFuture<java.lang.Integer> |
getMaxVideoRecvBandwidth(Transaction tx)
Get Maximum bandwidth for video reception, in kbps.
|
java.lang.String |
getRemoteSessionDescriptor()
This method returns the remote SDP.
|
void |
getRemoteSessionDescriptor(Continuation<java.lang.String> cont)
Asynchronous version of getRemoteSessionDescriptor:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<java.lang.String> |
getRemoteSessionDescriptor(Transaction tx)
This method returns the remote SDP.
|
java.lang.String |
processAnswer(java.lang.String answer)
Generates an SDP offer with media capabilities of the Endpoint.
|
void |
processAnswer(java.lang.String answer,
Continuation<java.lang.String> cont)
Asynchronous version of processAnswer:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<java.lang.String> |
processAnswer(Transaction tx,
java.lang.String answer)
Generates an SDP offer with media capabilities of the Endpoint.
|
java.lang.String |
processOffer(java.lang.String offer)
Processes SDP offer of the remote peer, and generates an SDP answer based on the endpoint's capabilities.
|
void |
processOffer(java.lang.String offer,
Continuation<java.lang.String> cont)
Asynchronous version of processOffer:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<java.lang.String> |
processOffer(Transaction tx,
java.lang.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 bandwidth for audio reception, in kbps.
|
void |
setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth,
Continuation<java.lang.Void> cont)
Set Maximum bandwidth for audio reception, in kbps.
|
void |
setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth,
Transaction tx)
Set Maximum bandwidth for audio reception, in kbps.
|
void |
setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth)
Set Maximum bandwidth for video reception, in kbps.
|
void |
setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth,
Continuation<java.lang.Void> cont)
Set Maximum bandwidth for video reception, in kbps.
|
void |
setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth,
Transaction tx)
Set Maximum bandwidth for video reception, in kbps.
|
addMediaSessionStartedListener, addMediaSessionStartedListener, addMediaSessionTerminatedListener, addMediaSessionTerminatedListener, removeMediaSessionStartedListener, removeMediaSessionStartedListener, removeMediaSessionTerminatedListener, removeMediaSessionTerminatedListener
addElementConnectedListener, addElementConnectedListener, addElementDisconnectedListener, addElementDisconnectedListener, addMediaFlowInStateChangeListener, addMediaFlowInStateChangeListener, addMediaFlowOutStateChangeListener, addMediaFlowOutStateChangeListener, 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, removeElementConnectedListener, removeElementConnectedListener, removeElementDisconnectedListener, removeElementDisconnectedListener, removeMediaFlowInStateChangeListener, removeMediaFlowInStateChangeListener, removeMediaFlowOutStateChangeListener, removeMediaFlowOutStateChangeListener, 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
isCommited, release, release, release, waitCommited, whenCommited, whenCommited
int getMaxVideoRecvBandwidth()
void getMaxVideoRecvBandwidth(Continuation<java.lang.Integer> cont)
TFuture<java.lang.Integer> getMaxVideoRecvBandwidth(Transaction tx)
void setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth)
void setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth, Continuation<java.lang.Void> cont)
void setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth, Transaction tx)
int getMaxAudioRecvBandwidth()
void getMaxAudioRecvBandwidth(Continuation<java.lang.Integer> cont)
TFuture<java.lang.Integer> getMaxAudioRecvBandwidth(Transaction tx)
void setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth)
void setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth, Continuation<java.lang.Void> cont)
void setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth, Transaction tx)
java.lang.String generateOffer()
void generateOffer(Continuation<java.lang.String> cont)
Continuation.onSuccess(F)
is called when the action is
done. If an error occurs, Continuation.onError(java.lang.Throwable)
is called.generateOffer()
TFuture<java.lang.String> generateOffer(Transaction tx)
java.lang.String processOffer(java.lang.String offer)
offer
- SessionSpec offer from the remote User Agentvoid processOffer(java.lang.String offer, Continuation<java.lang.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<java.lang.String> processOffer(Transaction tx, java.lang.String offer)
offer
- SessionSpec offer from the remote User Agentjava.lang.String processAnswer(java.lang.String answer)
answer
- SessionSpec answer from the remote User Agentvoid processAnswer(java.lang.String answer, Continuation<java.lang.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<java.lang.String> processAnswer(Transaction tx, java.lang.String answer)
answer
- SessionSpec answer from the remote User Agentjava.lang.String getLocalSessionDescriptor()
void getLocalSessionDescriptor(Continuation<java.lang.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<java.lang.String> getLocalSessionDescriptor(Transaction tx)
java.lang.String getRemoteSessionDescriptor()
void getRemoteSessionDescriptor(Continuation<java.lang.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<java.lang.String> getRemoteSessionDescriptor(Transaction tx)