| javax.sdp.BandWidth
BandWidth | public interface BandWidth extends Field(Code) | | A Bandwidth represents the b= fields contained within either a MediaDescription or a
SessionDescription.
This specifies the proposed bandwidth to be used by the session or media, and is optional. Multiple
bandwidth specifiers of different types may be associated with the same SessionDescription. Each
consists of a token type and an integer value measuring bandwidth in kilobits per second.
RFC 2327 defines two bandwidth types (or modifiers):
CT
Conference Total: An implicit maximum bandwidth is associated with each TTL on the Mbone or
within a particular multicast administrative scope region (the Mbone bandwidth vs. TTL limits are given
in the MBone FAQ). If the bandwidth of a session or media in a session is different from the
bandwidth implicit from the scope, a 'b=CT:...' line should be supplied for the session giving the
proposed upper limit to the bandwidth used. The primary purpose of this is to give an approximate
idea as to whether two or more conferences can co-exist simultaneously.
AS
Application-Specific Maximum: The bandwidth is interpreted to be application-specific, i.e., will be the
application's concept of maximum bandwidth. Normally this will coincide with what is set on the
application's "maximum bandwidth" control if applicable.
Note that CT gives a total bandwidth figure for all the media at all sites. AS gives a bandwidth figure for a
single media at a single site, although there may be many sites sending simultaneously.
Please refer to IETF RFC 2327 for a description of SDP.
author: deruelle version: 1.0 |
Field Summary | |
final public static String | AS "Application Specific" bandwidth modifier, "AS". | final public static String | CT "Conference Total" bandwidth modifier, "CT". |
Method Summary | |
public String | getType() Returns the bandwidth type. | public int | getValue() Returns the bandwidth value measured in kilobits per second. | public void | setType(String type) Sets the bandwidth type. | public void | setValue(int value) Sets the bandwidth value. |
AS | final public static String AS(Code) | | "Application Specific" bandwidth modifier, "AS".
|
CT | final public static String CT(Code) | | "Conference Total" bandwidth modifier, "CT".
|
getValue | public int getValue() throws SdpParseException(Code) | | Returns the bandwidth value measured in kilobits per second.
|
setValue | public void setValue(int value) throws SdpException(Code) | | Sets the bandwidth value.
|
|
|