All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.kurento.client.SdpEndpoint Maven / Gradle / Ivy

Go to download

Kurento Client The Kurento Client project allows server applications to control media server resources.

There is a newer version: 7.1.0
Show newest version
/**
 * This file is generated with Kurento-maven-plugin.
 * Please don't edit.
 */
package org.kurento.client;


/**
 *
 * This interface is implemented by Endpoints that require an SDP negotiation for the setup of a networked media session with remote peers. The API provides the following functionality:
 *       
    *
  • Generate SDP offers.
  • *
  • Process SDP offers.
  • *
  • Configure SDP related params.
  • *
* * **/ @org.kurento.client.internal.RemoteClass public interface SdpEndpoint extends SessionEndpoint { /** * * Get Maximum bandwidth for video reception, in kbps. The default value is 500. A value of 0 sets this as unconstrained.
Note This has to be set before the SDP is generated. * **/ int getMaxVideoRecvBandwidth(); /** * * Get Maximum bandwidth for video reception, in kbps. The default value is 500. A value of 0 sets this as unconstrained.
Note This has to be set before the SDP is generated. * **/ void getMaxVideoRecvBandwidth(Continuation cont); /** * * Get Maximum bandwidth for video reception, in kbps. The default value is 500. A value of 0 sets this as unconstrained.
Note This has to be set before the SDP is generated. * **/ TFuture getMaxVideoRecvBandwidth(Transaction tx); /** * * Set Maximum bandwidth for video reception, in kbps. The default value is 500. A value of 0 sets this as unconstrained.
Note This has to be set before the SDP is generated. * **/ void setMaxVideoRecvBandwidth(@org.kurento.client.internal.server.Param("maxVideoRecvBandwidth") int maxVideoRecvBandwidth); /** * * Set Maximum bandwidth for video reception, in kbps. The default value is 500. A value of 0 sets this as unconstrained.
Note This has to be set before the SDP is generated. * **/ void setMaxVideoRecvBandwidth(@org.kurento.client.internal.server.Param("maxVideoRecvBandwidth") int maxVideoRecvBandwidth, Continuation cont); /** * * Set Maximum bandwidth for video reception, in kbps. The default value is 500. A value of 0 sets this as unconstrained.
Note This has to be set before the SDP is generated. * **/ void setMaxVideoRecvBandwidth(@org.kurento.client.internal.server.Param("maxVideoRecvBandwidth") int maxVideoRecvBandwidth, Transaction tx); /** * * Get Maximum bandwidth for audio reception, in kbps. The default value is 500. A value of 0 sets this as leaves this unconstrained.
Note This has to be set before the SDP is generated. * **/ int getMaxAudioRecvBandwidth(); /** * * Get Maximum bandwidth for audio reception, in kbps. The default value is 500. A value of 0 sets this as leaves this unconstrained.
Note This has to be set before the SDP is generated. * **/ void getMaxAudioRecvBandwidth(Continuation cont); /** * * Get Maximum bandwidth for audio reception, in kbps. The default value is 500. A value of 0 sets this as leaves this unconstrained.
Note This has to be set before the SDP is generated. * **/ TFuture getMaxAudioRecvBandwidth(Transaction tx); /** * * Set Maximum bandwidth for audio reception, in kbps. The default value is 500. A value of 0 sets this as leaves this unconstrained.
Note This has to be set before the SDP is generated. * **/ void setMaxAudioRecvBandwidth(@org.kurento.client.internal.server.Param("maxAudioRecvBandwidth") int maxAudioRecvBandwidth); /** * * Set Maximum bandwidth for audio reception, in kbps. The default value is 500. A value of 0 sets this as leaves this unconstrained.
Note This has to be set before the SDP is generated. * **/ void setMaxAudioRecvBandwidth(@org.kurento.client.internal.server.Param("maxAudioRecvBandwidth") int maxAudioRecvBandwidth, Continuation cont); /** * * Set Maximum bandwidth for audio reception, in kbps. The default value is 500. A value of 0 sets this as leaves this unconstrained.
Note This has to be set before the SDP is generated. * **/ void setMaxAudioRecvBandwidth(@org.kurento.client.internal.server.Param("maxAudioRecvBandwidth") int maxAudioRecvBandwidth, Transaction tx); /** * * Generates an SDP offer with media capabilities of the Endpoint. * Exceptions *
    *
  • * SDP_END_POINT_ALREADY_NEGOTIATED If the endpoint is already negotiated. *
  • *
  • * SDP_END_POINT_GENERATE_OFFER_ERROR if the generated offer is empty. This is most likely due to an internal error. *
  • *
* @return The SDP offer. * **/ String generateOffer(); /** * * Asynchronous version of generateOffer: * {@link Continuation#onSuccess} is called when the action is * done. If an error occurs, {@link Continuation#onError} is called. * @see SdpEndpoint#generateOffer * **/ void generateOffer(Continuation cont); /** * * Generates an SDP offer with media capabilities of the Endpoint. * Exceptions *
    *
  • * SDP_END_POINT_ALREADY_NEGOTIATED If the endpoint is already negotiated. *
  • *
  • * SDP_END_POINT_GENERATE_OFFER_ERROR if the generated offer is empty. This is most likely due to an internal error. *
  • *
* @return The SDP offer. * **/ TFuture generateOffer(Transaction tx); /** * * Processes SDP offer of the remote peer, and generates an SDP answer based on the endpoint's capabilities. If no matching capabilities are found, the SDP will contain no codecs. * Exceptions *
    *
  • * SDP_PARSE_ERROR If the offer is empty or has errors. *
  • *
  • * SDP_END_POINT_ALREADY_NEGOTIATED If the endpoint is already negotiated. *
  • *
  • * SDP_END_POINT_PROCESS_OFFER_ERROR if the generated offer is empty. This is most likely due to an internal error. *
  • *
* * @param offer * SessionSpec offer from the remote User Agent * @return The chosen configuration from the ones stated in the SDP offer * **/ String processOffer(@org.kurento.client.internal.server.Param("offer") String offer); /** * * Asynchronous version of processOffer: * {@link Continuation#onSuccess} is called when the action is * done. If an error occurs, {@link Continuation#onError} is called. * @see SdpEndpoint#processOffer * * @param offer * SessionSpec offer from the remote User Agent * **/ void processOffer(@org.kurento.client.internal.server.Param("offer") String offer, Continuation cont); /** * * Processes SDP offer of the remote peer, and generates an SDP answer based on the endpoint's capabilities. If no matching capabilities are found, the SDP will contain no codecs. * Exceptions *
    *
  • * SDP_PARSE_ERROR If the offer is empty or has errors. *
  • *
  • * SDP_END_POINT_ALREADY_NEGOTIATED If the endpoint is already negotiated. *
  • *
  • * SDP_END_POINT_PROCESS_OFFER_ERROR if the generated offer is empty. This is most likely due to an internal error. *
  • *
* * @param offer * SessionSpec offer from the remote User Agent * @return The chosen configuration from the ones stated in the SDP offer * **/ TFuture processOffer(Transaction tx, @org.kurento.client.internal.server.Param("offer") String offer); /** * * Generates an SDP offer with media capabilities of the Endpoint. * Exceptions *
    *
  • * SDP_PARSE_ERROR If the offer is empty or has errors. *
  • *
  • * SDP_END_POINT_ALREADY_NEGOTIATED If the endpoint is already negotiated. *
  • *
  • * SDP_END_POINT_PROCESS_ANSWER_ERROR if the result of processing the answer is an empty string. This is most likely due to an internal error. *
  • *
  • * SDP_END_POINT_NOT_OFFER_GENERATED If the method is invoked before the generateOffer method. *
  • *
* * @param answer * SessionSpec answer from the remote User Agent * @return Updated SDP offer, based on the answer received. * **/ String processAnswer(@org.kurento.client.internal.server.Param("answer") String answer); /** * * Asynchronous version of processAnswer: * {@link Continuation#onSuccess} is called when the action is * done. If an error occurs, {@link Continuation#onError} is called. * @see SdpEndpoint#processAnswer * * @param answer * SessionSpec answer from the remote User Agent * **/ void processAnswer(@org.kurento.client.internal.server.Param("answer") String answer, Continuation cont); /** * * Generates an SDP offer with media capabilities of the Endpoint. * Exceptions *
    *
  • * SDP_PARSE_ERROR If the offer is empty or has errors. *
  • *
  • * SDP_END_POINT_ALREADY_NEGOTIATED If the endpoint is already negotiated. *
  • *
  • * SDP_END_POINT_PROCESS_ANSWER_ERROR if the result of processing the answer is an empty string. This is most likely due to an internal error. *
  • *
  • * SDP_END_POINT_NOT_OFFER_GENERATED If the method is invoked before the generateOffer method. *
  • *
* * @param answer * SessionSpec answer from the remote User Agent * @return Updated SDP offer, based on the answer received. * **/ TFuture processAnswer(Transaction tx, @org.kurento.client.internal.server.Param("answer") String answer); /** * * This method returns the local SDP. The output depends on the negotiation stage: *
    *
  • * No offer has been generated: returns null. *
  • *
  • * Offer has been generated: return the SDP offer. *
  • *
  • * Offer has been generated and answer processed: retruns the agreed SDP. *
  • *
* @return The last agreed SessionSpec * **/ String getLocalSessionDescriptor(); /** * * Asynchronous version of getLocalSessionDescriptor: * {@link Continuation#onSuccess} is called when the action is * done. If an error occurs, {@link Continuation#onError} is called. * @see SdpEndpoint#getLocalSessionDescriptor * **/ void getLocalSessionDescriptor(Continuation cont); /** * * This method returns the local SDP. The output depends on the negotiation stage: *
    *
  • * No offer has been generated: returns null. *
  • *
  • * Offer has been generated: return the SDP offer. *
  • *
  • * Offer has been generated and answer processed: retruns the agreed SDP. *
  • *
* @return The last agreed SessionSpec * **/ TFuture getLocalSessionDescriptor(Transaction tx); /** * * This method returns the remote SDP. If the negotiation process is not complete, it will return NULL. * @return The last agreed User Agent session description * **/ String getRemoteSessionDescriptor(); /** * * Asynchronous version of getRemoteSessionDescriptor: * {@link Continuation#onSuccess} is called when the action is * done. If an error occurs, {@link Continuation#onError} is called. * @see SdpEndpoint#getRemoteSessionDescriptor * **/ void getRemoteSessionDescriptor(Continuation cont); /** * * This method returns the remote SDP. If the negotiation process is not complete, it will return NULL. * @return The last agreed User Agent session description * **/ TFuture getRemoteSessionDescriptor(Transaction tx); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy