Package | Description |
---|---|
gov.nist.javax.sdp |
Preliminary
implementation of the javax.sdp package (JSR 141 see JSR 141 )
|
gov.nist.javax.sdp.fields |
Classes for SDP Fields.
|
javax.sdp |
This is a preliminary version of the javax.sdp package based on the
public review version
JSR 141 .
|
Modifier and Type | Method and Description |
---|---|
void |
MediaDescriptionImpl.addDynamicPayloads(Vector payloadNames,
Vector payloadValues)
Adds dynamic media types to the description.
|
Vector |
SessionDescriptionImpl.getMediaDescriptions(boolean create)
Adds a MediaDescription to the session description.
|
Vector |
MediaDescriptionImpl.getMimeParameters()
Returns a Vector containing a string of parameters for each of the codecs
in this description.
|
Vector |
MediaDescriptionImpl.getMimeTypes()
Returns a Vector containing a string indicating the MIME type for each of
the codecs in this description.
|
Vector |
SessionDescriptionImpl.getPhones(boolean create)
Returns a phone number to contact for further information about the
session.
|
Vector |
SessionDescriptionImpl.getTimeDescriptions(boolean create)
Returns a TimeField indicating the start, stop, repetition and time zone
information of the session.
|
Vector |
SessionDescriptionImpl.getZoneAdjustments(boolean create)
Returns the time zone adjustments for the Session
|
void |
MediaDescriptionImpl.setAttribute(String name,
String value)
Sets the value of the specified attribute
|
void |
SessionDescriptionImpl.setAttribute(String name,
String value)
Sets the value of the specified attribute.
|
void |
MediaDescriptionImpl.setAttributes(Vector attributes)
Adds the specified Attribute to this Description object.
|
void |
SessionDescriptionImpl.setAttributes(Vector attributes)
Adds the specified Attribute to this Description object.
|
void |
MediaDescriptionImpl.setBandwidth(String name,
int value)
Sets the value of the specified bandwidth type.
|
void |
SessionDescriptionImpl.setBandwidth(String name,
int value)
Sets the value of the specified bandwidth type.
|
void |
MediaDescriptionImpl.setBandwidths(Vector bandwidths)
set the value of the Bandwidth with the specified type
|
void |
SessionDescriptionImpl.setBandwidths(Vector bandwidthList)
set the value of the Bandwidth with the specified type.
|
void |
MediaDescriptionImpl.setConnection(Connection conn)
Set the connection data for this entity
|
void |
SessionDescriptionImpl.setConnection(Connection conn)
Set the connection data for this entity.
|
void |
SessionDescriptionImpl.setEmails(Vector emails)
Sets a an email address to contact for further information about the
session.
|
void |
MediaDescriptionImpl.setInfo(Info i)
Sets the i= field of this object.
|
void |
SessionDescriptionImpl.setInfo(Info i)
Sets the i= field of this object.
|
void |
MediaDescriptionImpl.setKey(Key key)
Sets encryption key information.
|
void |
SessionDescriptionImpl.setKey(Key key)
Sets encryption key information.
|
void |
MediaDescriptionImpl.setMedia(Media media)
Set the Media field of the description.
|
void |
SessionDescriptionImpl.setMediaDescriptions(Vector mediaDescriptions)
Removes all MediaDescriptions from the session description.
|
void |
SessionDescriptionImpl.setOrigin(Origin origin)
Sets information about the originator of the session.
|
void |
SessionDescriptionImpl.setPhones(Vector phones)
Sets a phone number to contact for further information about the session.
|
void |
MediaDescriptionImpl.setPreconditionFields(Vector precondition)
Set the Media Description's Precondition Fields
|
void |
TimeDescriptionImpl.setRepeatTimes(Vector repeatTimes)
Returns the list of repeat times (r= fields) specified in the
SessionDescription.
|
void |
SessionDescriptionImpl.setSessionName(SessionName sessionName)
Sets the name of the session.
|
void |
TimeDescriptionImpl.setTime(Time timeField)
Sets the Time field.
|
void |
SessionDescriptionImpl.setTimeDescriptions(Vector times)
Sets a TimeField indicating the start, stop, repetition and time zone
information of the session.
|
void |
SessionDescriptionImpl.setURI(URI uri)
Sets the uri to the location of more details about the session.
|
void |
SessionDescriptionImpl.setVersion(Version v)
Sets the version of SDP in use.
|
void |
SessionDescriptionImpl.setZoneAdjustments(Vector zoneAdjustments)
Sets the time zone adjustment for the TimeField.
|
Constructor and Description |
---|
SessionDescriptionImpl(SessionDescription otherSessionDescription)
Copy constructor, creates a deep copy of another SessionDescription.
|
Modifier and Type | Method and Description |
---|---|
Vector |
PreconditionFields.getPreconditionConfirmStatus()
Get the attribute fields with the name "conf"
for confirmation precondition.
|
Vector |
PreconditionFields.getPreconditionCurr(String status)
Get the attribute fields with the name "curr"
for current precondition.
|
Vector |
PreconditionFields.getPreconditionDes(String status)
Get the attribute fields with the name "des"
for desired precondition
|
void |
RepeatField.setActiveDuration(int activeDuration)
Sets the "active duration" in seconds.
|
void |
OriginField.setAddress(String addr)
Sets the type of the address for this Connection.
|
void |
ConnectionField.setAddress(String addr)
Sets the type of the address for this Connection.
|
void |
OriginField.setAddressType(String type)
Returns the type of the network for this Connection.
|
void |
ConnectionField.setAddressType(String type)
Returns the type of the network for this Connection.
|
void |
KeyField.setKey(String key)
Sets the value of this attribute.
|
void |
MediaField.setMediaFormats(Vector mediaFormats)
Adds a media format to the media description.
|
void |
MediaField.setMediaPort(int port)
Sets the port of the media defined by this description
|
void |
MediaField.setMediaType(String mediaType)
Sets the type (audio,video etc) of the media defined by this description.
|
void |
KeyField.setMethod(String name)
Sets the id of this attribute.
|
void |
AttributeField.setName(String name)
Sets the id of this attribute.
|
void |
OriginField.setNetworkType(String type)
Sets the type of the network for this Connection.
|
void |
ConnectionField.setNetworkType(String type)
Sets the type of the network for this Connection.
|
void |
RepeatField.setOffsetArray(int[] offsets)
Set the list of offsets.
|
void |
MediaField.setPortCount(int portCount)
Sets the number of ports associated with this media description.
|
void |
PreconditionFields.setPreconditionConfirmStatus(String precondConfValue)
Set attribute line for confirmation precondition request, given
a string value encoded like the "conf" attribute value
|
void |
PreconditionFields.setPreconditionConfirmStatus(String status,
String direction)
IETF RFC3312
|
void |
PreconditionFields.setPreconditionCurr(String precondCurrValue)
Set attribute line for current precondition state, given
a string value encoded like the "curr" attribute value
|
void |
PreconditionFields.setPreconditionCurr(String status,
String directionTag)
Set the value of the attributes with the name "curr"
for current precondition.
|
void |
PreconditionFields.setPreconditionDes(String precondDesValue)
Set attribute line for desired precondition state, given
a string value encoded like the "des" attribute value
|
void |
PreconditionFields.setPreconditionDes(String strength,
String status,
String direction)
Set the value of the attributes with the name "des"
for desired precondition.
|
void |
PreconditionFields.setPreconditions(Vector preconditions)
Set Preconditions
|
void |
MediaField.setProtocol(String protocol)
Sets the protocol over which this media should be transmitted.
|
void |
RepeatField.setRepeatInterval(int repeatInterval)
Set the "repeat interval" in seconds.
|
void |
OriginField.setSessionId(long id)
Sets the unique identity of the session.
|
void |
OriginField.setSessionVersion(long version)
Sets the unique version of the session.
|
void |
TimeField.setStart(Date start)
Sets the start time of the conference/session.
|
void |
TimeField.setStop(Date stop)
Sets the stop time of the session.
|
void |
BandwidthField.setType(String type)
Sets the bandwidth type.
|
void |
OriginField.setUsername(String user)
Sets the name of the session originator.
|
void |
BandwidthField.setValue(int value)
Sets the bandwidth value.
|
void |
SessionNameField.setValue(String value)
Sets the value
|
void |
InformationField.setValue(String value)
Set the value.
|
void |
EmailField.setValue(String value)
Set the value.
|
void |
AttributeField.setValue(String value)
Sets the value of this attribute.
|
void |
PhoneField.setValue(String value)
Sets the value.
|
void |
ProtoVersionField.setVersion(int value)
Sets the version.
|
void |
ZoneField.setZoneAdjustments(Hashtable map)
Sets the Hashtable of adjustment times, where:
key = Date.
|
Modifier and Type | Class and Description |
---|---|
class |
SdpFactoryException
The SdpFactoryException encapsulates the information thrown when a problem
with configuration with the
SdpFactory exists.
|
class |
SdpParseException
The SdpParseException encapsulates the information thrown when an error occurs
during SDP parsing.
|
Modifier and Type | Method and Description |
---|---|
void |
MediaDescription.addDynamicPayloads(Vector payloadNames,
Vector payloadValues)
Adds dynamic media types to the description.
|
Connection |
SdpFactory.createConnection(String addr)
Returns a Connection object with the specified address.
|
Connection |
SdpFactory.createConnection(String addr,
int ttl,
int numAddrs)
Returns a Connection object with the specified properties and a network
and address type of "IN" and "IP4" respectively.
|
Connection |
SdpFactory.createConnection(String netType,
String addrType,
String addr)
Returns a Connection object with the specified properties and no TTL and
a default number of addresses (1).
|
Connection |
SdpFactory.createConnection(String netType,
String addrType,
String addr,
int ttl,
int numAddrs)
Returns a Connection object with the specified properties a
|
Media |
SdpFactory.createMedia(String media,
int port,
int numPorts,
String transport,
Vector staticRtpAvpTypes)
Returns Media object with the specified properties.
|
MediaDescription |
SdpFactory.createMediaDescription(String media,
int port,
int numPorts,
String transport,
int[] staticRtpAvpTypes)
Returns MediaDescription object with the specified properties.
|
Origin |
SdpFactory.createOrigin(String userName,
long sessionId,
long sessionVersion,
String networkType,
String addrType,
String address)
Returns Origin object with the specified properties.
|
Origin |
SdpFactory.createOrigin(String userName,
String address)
Returns Origin object with the specified properties.
|
SessionDescription |
SdpFactory.createSessionDescription()
Creates a new, empty SessionDescription.
|
SessionDescription |
SdpFactory.createSessionDescription(SessionDescription otherSessionDescription)
Creates a new SessionDescription, deep copy of another
SessionDescription.
|
Time |
SdpFactory.createTime()
Returns an unbounded Time specification (i.e., "t=0 0").
|
Time |
SdpFactory.createTime(Date start,
Date stop)
Returns a Time specification with the specified start and stop times.
|
TimeDescription |
SdpFactory.createTimeDescription()
Returns TimeDescription unbounded (i.e.
|
TimeDescription |
SdpFactory.createTimeDescription(Date start,
Date stop)
Returns TimeDescription object with the specified properties.
|
TimeDescription |
SdpFactory.createTimeDescription(Time t)
Returns TimeDescription object with the specified properties.
|
URI |
SdpFactory.createURI(URL value)
Returns URI object with the specified value.
|
Vector |
SessionDescription.getMediaDescriptions(boolean create)
Adds a MediaDescription to the session description.
|
Vector |
MediaDescription.getMimeParameters()
Returns a Vector containing a string of parameters for each of the codecs in this description.
|
Vector |
MediaDescription.getMimeTypes()
Returns a Vector containing a string indicating the MIME type for each of the codecs in this description.
|
Vector |
SessionDescription.getPhones(boolean create)
Returns a phone number to contact for further information about the session.
|
Vector |
SessionDescription.getTimeDescriptions(boolean create)
Returns a TimeField indicating the start, stop, repetition and time zone
information of the
session.
|
Vector |
SessionDescription.getZoneAdjustments(boolean create)
Returns the time zone adjustments for the Session
|
static void |
SdpFactory.main(String[] args) |
void |
URI.set(URL value)
Sets the value.
|
void |
RepeatTime.setActiveDuration(int activeDuration)
Sets the "active duration" in seconds.
|
void |
Connection.setAddress(String addr)
Sets the type of the address for this Connection.
|
void |
Origin.setAddress(String addr)
Sets the type of the address for this Connection.
|
void |
Connection.setAddressType(String type)
Returns the type of the network for this Connection.
|
void |
Origin.setAddressType(String type)
Returns the type of the network for this Connection.
|
void |
MediaDescription.setAttribute(String name,
String value)
Sets the value of the specified attribute
|
void |
SessionDescription.setAttribute(String name,
String value)
Sets the value of the specified attribute.
|
void |
MediaDescription.setAttributes(Vector Attributes)
Adds the specified Attribute to this Description object.
|
void |
SessionDescription.setAttributes(Vector Attributes)
Adds the specified Attribute to this Description object.
|
void |
MediaDescription.setBandwidth(String name,
int value)
Sets the value of the specified bandwidth type.
|
void |
SessionDescription.setBandwidth(String name,
int value)
Sets the value of the specified bandwidth type.
|
void |
MediaDescription.setBandwidths(Vector bandwidths)
set the value of the Bandwidth with the specified type
|
void |
SessionDescription.setBandwidths(Vector bandwidths)
set the value of the Bandwidth with the specified type.
|
void |
MediaDescription.setConnection(Connection conn)
Set the connection data for this entity
|
void |
SessionDescription.setConnection(Connection conn)
Set the connection data for this entity.
|
void |
SessionDescription.setEmails(Vector emails)
Sets a an email address to contact for further information about the session.
|
void |
MediaDescription.setInfo(Info i)
Sets the i= field of this object.
|
void |
SessionDescription.setInfo(Info i)
Sets the i= field of this object.
|
void |
MediaDescription.setKey(Key key)
Sets encryption key information.
|
void |
SessionDescription.setKey(Key key)
Sets encryption key information.
|
void |
Key.setKey(String key)
Sets the value of this attribute.
|
void |
MediaDescription.setMedia(Media media)
Set the Media field of the description.
|
void |
SessionDescription.setMediaDescriptions(Vector mediaDescriptions)
Removes all MediaDescriptions from the session description.
|
void |
Media.setMediaFormats(Vector mediaFormats)
Adds a media format to the media description.
|
void |
Media.setMediaPort(int port)
Sets the port of the media defined by this description
|
void |
Media.setMediaType(String mediaType)
Sets the type (audio,video etc) of the media defined by this description.
|
void |
Key.setMethod(String name)
Sets the id of this attribute.
|
void |
Attribute.setName(String name)
Sets the id of this attribute.
|
void |
Connection.setNetworkType(String type)
Sets the type of the network for this Connection.
|
void |
Origin.setNetworkType(String type)
Sets the type of the network for this Connection.
|
void |
RepeatTime.setOffsetArray(int[] offsets)
Set the list of offsets.
|
void |
SessionDescription.setOrigin(Origin origin)
Sets information about the originator of the session.
|
void |
SessionDescription.setPhones(Vector phones)
Sets a phone number to contact for further information about the session.
|
void |
Media.setPortCount(int portCount)
Sets the number of ports associated with this media description.
|
void |
MediaDescription.setPreconditionFields(Vector segPrecondition)
Set PreconditionFields for the Media Description
|
void |
Media.setProtocol(String protocol)
Sets the protocol over which this media should be transmitted.
|
void |
RepeatTime.setRepeatInterval(int repeatInterval)
Set the "repeat interval" in seconds.
|
void |
TimeDescription.setRepeatTimes(Vector repeatTimes)
Returns the list of repeat times (r= fields) specified in the SessionDescription.
|
void |
Origin.setSessionId(long id)
Sets the unique identity of the session.
|
void |
SessionDescription.setSessionName(SessionName sessionName)
Sets the name of the session.
|
void |
Origin.setSessionVersion(long version)
Sets the unique version of the session.
|
void |
Time.setStart(Date start)
Sets the start time of the conference/session.
|
void |
Time.setStop(Date stop)
Sets the stop time of the session.
|
void |
TimeDescription.setTime(Time t)
Sets the Time field.
|
void |
SessionDescription.setTimeDescriptions(Vector times)
Sets a TimeField indicating the start, stop, repetition and time zone
information of the
session.
|
void |
BandWidth.setType(String type)
Sets the bandwidth type.
|
void |
SessionDescription.setURI(URI uri)
Sets the uri to the location of more details about the session.
|
void |
Origin.setUsername(String user)
Sets the name of the session originator.
|
void |
BandWidth.setValue(int value)
Sets the bandwidth value.
|
void |
SessionName.setValue(String value)
Sets the value
|
void |
Phone.setValue(String value)
Sets the value.
|
void |
Info.setValue(String value)
Set the value.
|
void |
Attribute.setValue(String value)
Sets the value of this attribute.
|
void |
EMail.setValue(String value)
Set the value.
|
void |
Version.setVersion(int value)
Sets the version.
|
void |
SessionDescription.setVersion(Version v)
Sets the version of SDP in use.
|
void |
TimeZoneAdjustment.setZoneAdjustments(Hashtable map)
Sets the Hashtable of adjustment times, where:
key = Date.
|
void |
SessionDescription.setZoneAdjustments(Vector zoneAdjustments)
Sets the time zone adjustment for the TimeField.
|
Copyright © 2018. All Rights Reserved.