getProtocol() Returns the protocol over which this media should be transmitted.
throws: SdpParseException - if a parsing error occurs the String protocol, e.g.
Returns an Vector of the media formats supported by this description.
Each element in this Vector will be an String value which matches one of
the a=rtpmap: attribute fields of the media description.
Parameters: create - to set throws: SdpException - the Vector.
Returns the type (audio,video etc) of the
media defined by this description.
throws: SdpParseException - if a parsing erro occurs the string media type.
Returns the protocol over which this media should be transmitted.
throws: SdpParseException - if a parsing error occurs the String protocol, e.g. RTP/AVP.
Adds a media format to the media description.
Each element in this Vector should be an String value which
matches one of the
a=rtpmap: attribute fields of the media description.
Parameters: mediaFormats - the format to add. throws: SdpException - if the vector is null
Sets the number of ports associated with this media description.
Parameters: portCount - portCount - the integer port count. throws: SdpException - if the count is less than zero
Sets the protocol over which this media should be transmitted.
Parameters: protocol - - the String protocol, e.g. RTP/AVP. throws: SdpException - if the protocol is null
Fields inherited from gov.nist.javax.sdp.fields.SDPField