|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A SdpEncoder serializes SessionDescription objects in a customizable manner.
Method Summary | |
void |
output(SessionDescription sd,
OutputStream out)
Write the specified SessionDescription to the output stream using the current settings. |
void |
setEncoding(String enc)
Specifies the character set to be used to display the session name and information data. |
void |
setRtpmapAttribute(boolean flag)
Specifies whether to generate "a=rtpmap:" attributes for static RTP/AVP format strings. |
void |
setTypedTime(boolean flag)
Specifies whether to try to write "typed-time" fields instead of raw integer values. |
Method Detail |
public void setEncoding(String enc) throws UnsupportedEncodingException
enc
- enc - name of character encoding to use for session name and
information data
UnsupportedEncodingException
- if the named encoding is not supportedpublic void setTypedTime(boolean flag)
flag
- if true this Outputter should emit "typed" time specs in preference to
untyped times.public void setRtpmapAttribute(boolean flag)
flag
- if true "a=rtpmap:" attributes are generated for all "RTP/AVP" formatspublic void output(SessionDescription sd, OutputStream out) throws IOException
sd
- SessionDescription to serializeout
- OutputStream to write serialized SessionDescription to
IOException
|
NIST SIP Parser and Stack (v1.2) API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |