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;


/**
 *
 * Interface implemented by Endpoints that require an SDP Offer/Answer negotiation in order to configure a media session.
 * 

Functionality provided by this API:

*
    *
  • Generate SDP offers.
  • *
  • Process SDP offers.
  • *
  • Configure SDP related params.
  • *
* * **/ @org.kurento.client.internal.RemoteClass public interface SdpEndpoint extends SessionEndpoint { /** * * Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ int getMaxAudioRecvBandwidth(); /** * * Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ void getMaxAudioRecvBandwidth(Continuation cont); /** * * Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ TFuture getMaxAudioRecvBandwidth(Transaction tx); /** * * Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ void setMaxAudioRecvBandwidth(@org.kurento.client.internal.server.Param("maxAudioRecvBandwidth") int maxAudioRecvBandwidth); /** * * Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ void setMaxAudioRecvBandwidth(@org.kurento.client.internal.server.Param("maxAudioRecvBandwidth") int maxAudioRecvBandwidth, Continuation cont); /** * * Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ void setMaxAudioRecvBandwidth(@org.kurento.client.internal.server.Param("maxAudioRecvBandwidth") int maxAudioRecvBandwidth, Transaction tx); /** * * Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ int getMaxVideoRecvBandwidth(); /** * * Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ void getMaxVideoRecvBandwidth(Continuation cont); /** * * Get Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ TFuture getMaxVideoRecvBandwidth(Transaction tx); /** * * Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ void setMaxVideoRecvBandwidth(@org.kurento.client.internal.server.Param("maxVideoRecvBandwidth") int maxVideoRecvBandwidth); /** * * Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ void setMaxVideoRecvBandwidth(@org.kurento.client.internal.server.Param("maxVideoRecvBandwidth") int maxVideoRecvBandwidth, Continuation cont); /** * * Set Maximum input bitrate, signaled in SDP Offers to WebRTC and RTP senders. *

* 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.

*
    *
  • Unit: kbps (kilobits per second).
  • *
  • Default: 0.
  • *
  • 0 = unlimited.
  • *
* * **/ void setMaxVideoRecvBandwidth(@org.kurento.client.internal.server.Param("maxVideoRecvBandwidth") int maxVideoRecvBandwidth, Transaction tx); /** * * Generates an SDP offer with media capabilities of the Endpoint. * Throws: *
    *
  • * 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. *
  • *
* * * @param options * An OfferOptions providing options requested for the offer. * @return The SDP offer. * **/ String generateOffer(@org.kurento.client.internal.server.Param("options") org.kurento.client.OfferOptions options); /** * * 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 * * @param options * An OfferOptions providing options requested for the offer. * **/ void generateOffer(@org.kurento.client.internal.server.Param("options") org.kurento.client.OfferOptions options, Continuation cont); /** * * Generates an SDP offer with media capabilities of the Endpoint. * Throws: *
    *
  • * 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. *
  • *
* * * @param options * An OfferOptions providing options requested for the offer. * @return The SDP offer. * **/ TFuture generateOffer(Transaction tx, @org.kurento.client.internal.server.Param("options") org.kurento.client.OfferOptions options); /** * * 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. *

* Throws: *
    *
  • * 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. *

* Throws: *
    *
  • * 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. * Throws: *
    *
  • * 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. * Throws: *
    *
  • * 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); /** * * Returns the local SDP. *
    *
  • * No offer has been generated: returns null. *
  • *
  • * Offer has been generated: returns the SDP offer. *
  • *
  • * Offer has been generated and answer processed: returns 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); /** * * Returns the local SDP. *
    *
  • * No offer has been generated: returns null. *
  • *
  • * Offer has been generated: returns the SDP offer. *
  • *
  • * Offer has been generated and answer processed: returns 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); /** * * Generates an SDP offer with media capabilities of the Endpoint. * Throws: *
    *
  • * 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. * Throws: *
    *
  • * 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); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy