public interface SdpEndpoint extends SessionEndpoint
| Modifier and Type | Method and Description |
|---|---|
String |
generateOffer()
Request a SessionSpec offer.
|
void |
generateOffer(Continuation<String> cont)
Asynchronous version of generateOffer:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<String> |
generateOffer(Transaction tx)
Request a SessionSpec offer.
|
String |
getLocalSessionDescriptor()
This method gives access to the SessionSpec offered by this NetworkConnection.
|
void |
getLocalSessionDescriptor(Continuation<String> cont)
Asynchronous version of getLocalSessionDescriptor:
Continuation.onSuccess(F) is called when the action is
done. |
TFuture<String> |
getLocalSessionDescriptor(Transaction tx)
This method gives access to the SessionSpec offered by this NetworkConnection.
|
int |
getMaxAudioRecvBandwidth() |
void |
getMaxAudioRecvBandwidth(Continuation<Integer> cont) |
TFuture<Integer> |
getMaxAudioRecvBandwidth(Transaction tx) |
int |
getMaxVideoRecvBandwidth() |
void |
getMaxVideoRecvBandwidth(Continuation<Integer> cont) |
TFuture<Integer> |
getMaxVideoRecvBandwidth(Transaction tx) |
String |
getRemoteSessionDescriptor()
This method gives access to the remote session description.
|
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 gives access to the remote session description.
|
String |
processAnswer(String answer)
Request the NetworkConnection to process the given SessionSpec answer (from the remote User Agent).
|
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)
Request the NetworkConnection to process the given SessionSpec answer (from the remote User Agent).
|
String |
processOffer(String offer)
Request the NetworkConnection to process the given SessionSpec offer (from the remote User Agent)
|
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)
Request the NetworkConnection to process the given SessionSpec offer (from the remote User Agent)
|
void |
setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth) |
void |
setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth,
Continuation<Void> cont) |
void |
setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth,
Transaction tx) |
void |
setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth) |
void |
setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth,
Continuation<Void> cont) |
void |
setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth,
Transaction tx) |
addMediaSessionStartedListener, addMediaSessionStartedListener, addMediaSessionTerminatedListener, addMediaSessionTerminatedListener, removeMediaSessionStartedListener, removeMediaSessionStartedListener, removeMediaSessionTerminatedListener, removeMediaSessionTerminatedListeneraddElementConnectedListener, addElementConnectedListener, addElementDisconnectedListener, addElementDisconnectedListener, 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, getMinOuputBitrate, getMinOuputBitrate, getMinOuputBitrate, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSinkConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getSourceConnections, getStats, getStats, getStats, getStats, getStats, getStats, removeElementConnectedListener, removeElementConnectedListener, removeElementDisconnectedListener, removeElementDisconnectedListener, setAudioFormat, setAudioFormat, setAudioFormat, setMaxOuputBitrate, setMaxOuputBitrate, setMaxOuputBitrate, setMinOuputBitrate, setMinOuputBitrate, setMinOuputBitrate, setOutputBitrate, setOutputBitrate, setOutputBitrate, setVideoFormat, setVideoFormat, setVideoFormataddErrorListener, addErrorListener, addTag, addTag, addTag, 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, setSendTagsInEventsisCommited, release, release, release, waitCommited, whenCommited, whenCommitedint getMaxVideoRecvBandwidth()
void getMaxVideoRecvBandwidth(Continuation<Integer> cont)
TFuture<Integer> getMaxVideoRecvBandwidth(Transaction tx)
void setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth)
void setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth,
Continuation<Void> cont)
void setMaxVideoRecvBandwidth(int maxVideoRecvBandwidth,
Transaction tx)
int getMaxAudioRecvBandwidth()
void getMaxAudioRecvBandwidth(Continuation<Integer> cont)
TFuture<Integer> getMaxAudioRecvBandwidth(Transaction tx)
void setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth)
void setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth,
Continuation<Void> cont)
void setMaxAudioRecvBandwidth(int maxAudioRecvBandwidth,
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.generateOffer()TFuture<String> generateOffer(Transaction tx)
String processOffer(String offer)
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)
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)
Copyright © 2015 Kurento. All rights reserved.