public interface SdpEncoder
Modifier and Type | Method and Description |
---|---|
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.
|
void setEncoding(String enc) throws UnsupportedEncodingException
enc
- enc - name of character encoding to use for session name and
information dataUnsupportedEncodingException
- 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 toIOException
Copyright © 2018. All Rights Reserved.