|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SdpEncoder
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 |
---|
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 supportedvoid setTypedTime(boolean flag)
flag
- if true this Outputter should emit "typed" time specs in preference to
untyped times.void setRtpmapAttribute(boolean flag)
flag
- if true "a=rtpmap:" attributes are generated for all "RTP/AVP" formatsvoid output(SessionDescription sd, OutputStream out) throws IOException
sd
- SessionDescription to serializeout
- OutputStream to write serialized SessionDescription to
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |