An SDP media description element. More...
Public Member Functions | |
void | addBandwidth (fm.liveswitch.sdp.Bandwidth bandwidth) |
Adds a proposed bandwidth. More... | |
void | addMediaAttribute (fm.liveswitch.sdp.Attribute attribute) |
Adds a media-level attribute. More... | |
fm.liveswitch.sdp.Bandwidth[] | getBandwidths () |
Gets the array of proposed bandwidths to be used by the media. More... | |
boolean | getBundleOnly () |
Gets a value indicating whether this media description has been marked as bundle-only. More... | |
fm.liveswitch.sdp.Attribute[] | getCandidateAttributes () |
Obtains Ice Candidate attributes associated with this media description. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getCcmFirFeedbackAttribute (int payloadType) |
Gets the RTCP "ccm fir" feedback attribute for the given payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getCcmLrrFeedbackAttribute (int payloadType) |
Gets the RTCP "ccm lrr" feedback attribute for the given payload type. More... | |
fm.liveswitch.sdp.ConnectionData | getConnectionData () |
Gets media-level connection data. More... | |
fm.liveswitch.sdp.ContentAttribute | getContentAttribute () |
Obtains the content attribute. More... | |
fm.liveswitch.sdp.CryptoAttribute[] | getCryptoAttributes () |
Gets CryptoAttributes associated with this MediaDescription. More... | |
fm.liveswitch.sdp.EncryptionKey | getEncryptionKey () |
Gets the media-level encryption key. More... | |
fm.liveswitch.sdp.ice.FingerprintAttribute | getFingerprintAttribute () |
Gets the Fingerprint Attribute from this MediaDescription. More... | |
fm.liveswitch.sdp.FormatParametersAttribute | getFormatParametersAttribute (int payloadType) |
Gets the format parameters attribute for the given payload type. More... | |
String | getFormatParameterValue (int payloadType, String formatParameterName) |
Sets a format parameter value. More... | |
fm.liveswitch.sdp.Attribute[] | getIceOptionAttributes () |
Obtains Ice Options attributes associated with this media description. More... | |
fm.liveswitch.sdp.ice.PasswordAttribute | getIcePasswordAttribute () |
Gets the IcePasswordAttribute associated with this MediaDescription. More... | |
fm.liveswitch.sdp.ice.UfragAttribute | getIceUfragAttribute () |
Gets the IceUfragAttribute associated with this MediaDescription. More... | |
fm.liveswitch.sdp.Attribute[] | getIdenticalCategoryAttributes () |
Gets the attributes with Identical Multiplexing Category present in this description. More... | |
boolean | getIsApplication () |
Gets whether this media description represents an application stream (media type == "application"). More... | |
boolean | getIsAudio () |
Gets whether this media description represents an audio stream (media type == "audio"). More... | |
boolean | getIsMessage () |
Gets whether this media description represents a message stream (media type == "message"). More... | |
boolean | getIsMuted () |
Gets a value indicating whether this stream is muted. More... | |
boolean | getIsText () |
Gets whether this media description represents a text stream (media type == "text"). More... | |
boolean | getIsVideo () |
Gets whether this media description represents a video stream (media type == "video"). More... | |
fm.liveswitch.sdp.MaxPacketTimeAttribute | getMaxPacketTimeAttribute () |
Obtains the maximum packet time attribute. More... | |
fm.liveswitch.sdp.Media | getMedia () |
Gets the media name and transport address. More... | |
fm.liveswitch.sdp.Attribute[] | getMediaAttributes () |
Gets the array of media-level attributes. More... | |
fm.liveswitch.sdp.MediaStreamIdAttribute | getMediaStreamIdentifierAttribute () |
Obtains the media stream identifier attribute. More... | |
String | getMediaTitle () |
Gets the media title. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getNackFeedbackAttribute (int payloadType) |
Gets the RTCP "nack" feedback attribute for the given payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getNackPliFeedbackAttribute (int payloadType) |
Gets the RTCP "nack pli" feedback attribute for the given payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getNackRpsiFeedbackAttribute (int payloadType) |
Gets the RTCP "nack rpsi" feedback attribute for the given payload type. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getNackSliFeedbackAttribute (int payloadType) |
Gets the RTCP "nack sli" feedback attribute for the given payload type. More... | |
fm.liveswitch.sdp.PacketTimeAttribute | getPacketTimeAttribute () |
Obtains the packet time attribute. More... | |
fm.liveswitch.sdp.rtp.MapAttribute[] | getPreferredRtpMapAttributes () |
Obtains the RTP map attributes in preference order. More... | |
fm.liveswitch.sdp.QualityAttribute | getQualityAttribute () |
Gets the QualityAttribute associated with this MediaDescription. More... | |
fm.liveswitch.sdp.rtp.RidAttribute | getRidAttribute (String rid) |
Obtains an RID attribute by its RID. More... | |
fm.liveswitch.sdp.rtp.RidAttribute[] | getRidAttributes () |
Obtains the RID attributes. More... | |
fm.liveswitch.sdp.rtp.RidAttribute[] | getRidAttributes (String direction) |
Obtains the RID attributes. More... | |
fm.liveswitch.sdp.rtcp.Attribute | getRtcpAttribute () |
Gets Rtcp Attributes associated with this media description. More... | |
fm.liveswitch.sdp.rtcp.FeedbackAttribute | getRtcpFeedbackAttribute (int payloadType, String type, String subType) |
Gets the RTCP feedback attribute for the given payload type. More... | |
boolean | getRtcpMultiplexingSupported () |
Gets a value indicating support for RTCP Multiplexing. More... | |
fm.liveswitch.sdp.Attribute[] | getRtpExtMapAttributes () |
Obtains the RTP ext-map attributes. More... | |
fm.liveswitch.sdp.rtp.MapAttribute | getRtpMapAttribute (String formatName, int clockRate) |
Obtains the RTP map attribute for a given format. More... | |
fm.liveswitch.sdp.rtp.MapAttribute | getRtpMapAttribute (String formatName, int clockRate, String formatParameters) |
Obtains the RTP map attribute for a given format. More... | |
fm.liveswitch.sdp.rtp.MapAttribute | getRtpMapAttribute (String formatName, int clockRate, String formatParameters, fm.liveswitch.IntegerHolder rtpMapAttributeIndex) |
Obtains the RTP map attribute for a given format. More... | |
fm.liveswitch.sdp.rtp.MapAttribute | getRtpMapAttribute (int payloadType) |
Obtains the RTP map attribute for a given payload type. More... | |
fm.liveswitch.sdp.rtp.MapAttribute | getRtpMapAttribute (int payloadType, fm.liveswitch.IntegerHolder rtpMapAttributeIndex) |
Obtains the RTP map attribute for a given payload type. More... | |
fm.liveswitch.sdp.rtp.MapAttribute[] | getRtpMapAttributes () |
Obtains the RTP map attributes. More... | |
fm.liveswitch.sdp.rtp.MapAttribute[] | getRtpMapAttributes (String formatName, int clockRate, String formatParameters) |
Obtains the RTP map attributes for a given format. More... | |
fm.liveswitch.sdp.rtp.MapAttribute[] | getRtpMapAttributes (String formatName, int clockRate, String formatParameters, fm.liveswitch.Holder< int[]> rtpMapAttributeIndices) |
Obtains the RTP map attributes for a given format. More... | |
fm.liveswitch.sdp.sctp.MapAttribute | getSctpMapAttribute () |
Gets the Sctp Map Attribute, if it is present in the Media Description. More... | |
fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute | getSctpMaxMessageSizeAttribute () |
Gets the Sctp Max Message Size Attribute, if it is present in the Media Description. More... | |
fm.liveswitch.sdp.sctp.PortAttribute | getSctpPortAttribute () |
Gets the Sctp Port Attribute, if it is present in the Media Description. More... | |
fm.liveswitch.sdp.SetupAttribute | getSetupAttribute () |
Gets the SetupAttribute associated with this MediaDescription. More... | |
fm.liveswitch.sdp.rtp.SimulcastAttribute | getSimulcastAttribute () |
Obtains the simulcast attribute. More... | |
fm.liveswitch.sdp.rtp.SsrcAttribute | getSsrcAttribute (long ssrc, String name) |
Obtains the first SSRC attribute matching a given synchronization source and name. More... | |
fm.liveswitch.sdp.rtp.SsrcAttribute | getSsrcAttribute (long ssrc, String name, String value) |
Obtains the SSRC attribute matching a given synchronization source, name, and value. More... | |
fm.liveswitch.sdp.rtp.SsrcAttribute[] | getSsrcAttributes () |
Obtains the SSRC attributes. More... | |
fm.liveswitch.sdp.rtp.SsrcAttribute[] | getSsrcAttributes (String name) |
Obtains the SSRC attributes. More... | |
fm.liveswitch.sdp.rtp.SsrcAttribute[] | getSsrcAttributes (long ssrc) |
Obtains the SSRC attributes matching a given synchronization source. More... | |
fm.liveswitch.sdp.rtp.SsrcAttribute[] | getSsrcAttributes (long ssrc, String name) |
Obtains the SSRC attributes matching a given synchronization source and name. More... | |
fm.liveswitch.sdp.rtp.SsrcGroupAttribute[] | getSsrcGroupAttributes () |
Obtains the SSRC Group attributes. More... | |
long[] | getSsrcGroupSsrcs (String semantics) |
Obtains the SSRCS from the first SSRC Group with matching semantics. More... | |
fm.liveswitch.StreamDirection | getStreamDirection () |
Gets the stream direction indicated in Media Description. More... | |
boolean | getSupportsIce () |
Gets a value indicating whether this SDP MediaDescription suggests support for ICE. More... | |
fm.liveswitch.sdp.Attribute[] | getTransportCategoryAttributes () |
Gets the attributes with Transport Multiplexing Category present in this description. More... | |
void | insertMediaAttribute (fm.liveswitch.sdp.Attribute attribute, int index) |
DEPRECATED: Use AddMediaAttribute instead. More... | |
MediaDescription (fm.liveswitch.sdp.Media media) | |
Initializes a new instance of the fm.liveswitch.sdp.MediaDescription class. More... | |
boolean | orderFormats (String[] names) |
Orders the formats in preference order. More... | |
boolean | purgeFormat (String name) |
Removes a format by name. More... | |
boolean | purgeFormat (String name, int clockRate) |
Removes a format by name and clock rate. More... | |
boolean | purgeFormat (String name, int clockRate, int channelCount) |
Removes a format by name, clock rate, and channel count. More... | |
boolean | removeBandwidth (fm.liveswitch.sdp.Bandwidth bandwidth) |
Removes a proposed bandwidth. More... | |
void | removeBundleCategoryAttributes () |
Removes Bundle (i.e. More... | |
boolean | removeMediaAttribute (fm.liveswitch.sdp.Attribute attribute) |
Removes a media-level attribute. More... | |
void | setConnectionData (fm.liveswitch.sdp.ConnectionData value) |
Sets media-level connection data. More... | |
void | setEncryptionKey (fm.liveswitch.sdp.EncryptionKey value) |
Sets the media-level encryption key. More... | |
boolean | setFormatParameterValue (int payloadType, String formatParameterName, String formatParameterValue) |
Sets a format parameter value. More... | |
void | setIsMuted (boolean value) |
Sets a value indicating whether this stream is muted. More... | |
void | setMediaTitle (String value) |
Sets the media title. More... | |
void | setQualityAttribute (fm.liveswitch.sdp.QualityAttribute value) |
Sets the QualityAttribute associated with this MediaDescription. More... | |
void | setRtcpAttribute (fm.liveswitch.sdp.rtcp.Attribute value) |
Sets Rtcp Attributes associated with this media description. More... | |
void | setRtcpMultiplexingSupported (boolean value) |
Sets a value indicating support for RTCP Multiplexing. More... | |
void | setSetupAttribute (fm.liveswitch.sdp.SetupAttribute value) |
Sets the SetupAttribute associated with this MediaDescription. More... | |
void | setStreamDirection (fm.liveswitch.StreamDirection value) |
Sets the stream direction indicated in Media Description. More... | |
String | toString () |
Converts this instance to a string. More... | |
boolean | tryAddContentAttribute (fm.liveswitch.sdp.ContentAttribute contentAttribute) |
Adds a content attribute if not already present. More... | |
void | updateQualityAttributeValue (int quality) |
Updates SDP Quality Attribute associated with this media description if one is present. More... | |
Static Public Member Functions | |
static fm.liveswitch.sdp.MediaDescription | parse (String s) |
Creates an fm.liveswitch.sdp.MediaDescription instance from a string. More... | |
An SDP media description element.
fm.liveswitch.sdp.MediaDescription.MediaDescription | ( | fm.liveswitch.sdp.Media | media | ) |
Initializes a new instance of the fm.liveswitch.sdp.MediaDescription class.
media | The media name and transport address. |
void fm.liveswitch.sdp.MediaDescription.addBandwidth | ( | fm.liveswitch.sdp.Bandwidth | bandwidth | ) |
Adds a proposed bandwidth.
bandwidth | The proposed bandwidth to add. |
void fm.liveswitch.sdp.MediaDescription.addMediaAttribute | ( | fm.liveswitch.sdp.Attribute | attribute | ) |
Adds a media-level attribute.
attribute | The session-level attribute to add. |
fm.liveswitch.sdp.Bandwidth [] fm.liveswitch.sdp.MediaDescription.getBandwidths | ( | ) |
Gets the array of proposed bandwidths to be used by the media.
boolean fm.liveswitch.sdp.MediaDescription.getBundleOnly | ( | ) |
Gets a value indicating whether this media description has been marked as bundle-only.
fm.liveswitch.sdp.Attribute [] fm.liveswitch.sdp.MediaDescription.getCandidateAttributes | ( | ) |
Obtains Ice Candidate attributes associated with this media description.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.MediaDescription.getCcmFirFeedbackAttribute | ( | int | payloadType | ) |
Gets the RTCP "ccm fir" feedback attribute for the given payload type.
payloadType | The payload type. |
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.MediaDescription.getCcmLrrFeedbackAttribute | ( | int | payloadType | ) |
Gets the RTCP "ccm lrr" feedback attribute for the given payload type.
payloadType | The payload type. |
fm.liveswitch.sdp.ConnectionData fm.liveswitch.sdp.MediaDescription.getConnectionData | ( | ) |
Gets media-level connection data.
fm.liveswitch.sdp.ContentAttribute fm.liveswitch.sdp.MediaDescription.getContentAttribute | ( | ) |
Obtains the content attribute.
fm.liveswitch.sdp.CryptoAttribute [] fm.liveswitch.sdp.MediaDescription.getCryptoAttributes | ( | ) |
Gets CryptoAttributes associated with this MediaDescription.
fm.liveswitch.sdp.EncryptionKey fm.liveswitch.sdp.MediaDescription.getEncryptionKey | ( | ) |
Gets the media-level encryption key.
fm.liveswitch.sdp.ice.FingerprintAttribute fm.liveswitch.sdp.MediaDescription.getFingerprintAttribute | ( | ) |
Gets the Fingerprint Attribute from this MediaDescription.
fm.liveswitch.sdp.FormatParametersAttribute fm.liveswitch.sdp.MediaDescription.getFormatParametersAttribute | ( | int | payloadType | ) |
Gets the format parameters attribute for the given payload type.
payloadType | The payload type. |
String fm.liveswitch.sdp.MediaDescription.getFormatParameterValue | ( | int | payloadType, |
String | formatParameterName | ||
) |
Sets a format parameter value.
fm.liveswitch.sdp.Attribute [] fm.liveswitch.sdp.MediaDescription.getIceOptionAttributes | ( | ) |
Obtains Ice Options attributes associated with this media description.
fm.liveswitch.sdp.ice.PasswordAttribute fm.liveswitch.sdp.MediaDescription.getIcePasswordAttribute | ( | ) |
Gets the IcePasswordAttribute associated with this MediaDescription.
fm.liveswitch.sdp.ice.UfragAttribute fm.liveswitch.sdp.MediaDescription.getIceUfragAttribute | ( | ) |
Gets the IceUfragAttribute associated with this MediaDescription.
fm.liveswitch.sdp.Attribute [] fm.liveswitch.sdp.MediaDescription.getIdenticalCategoryAttributes | ( | ) |
Gets the attributes with Identical Multiplexing Category present in this description.
boolean fm.liveswitch.sdp.MediaDescription.getIsApplication | ( | ) |
Gets whether this media description represents an application stream (media type == "application").
boolean fm.liveswitch.sdp.MediaDescription.getIsAudio | ( | ) |
Gets whether this media description represents an audio stream (media type == "audio").
boolean fm.liveswitch.sdp.MediaDescription.getIsMessage | ( | ) |
Gets whether this media description represents a message stream (media type == "message").
boolean fm.liveswitch.sdp.MediaDescription.getIsMuted | ( | ) |
Gets a value indicating whether this stream is muted.
Applies to only media streams.
boolean fm.liveswitch.sdp.MediaDescription.getIsText | ( | ) |
Gets whether this media description represents a text stream (media type == "text").
boolean fm.liveswitch.sdp.MediaDescription.getIsVideo | ( | ) |
Gets whether this media description represents a video stream (media type == "video").
fm.liveswitch.sdp.MaxPacketTimeAttribute fm.liveswitch.sdp.MediaDescription.getMaxPacketTimeAttribute | ( | ) |
Obtains the maximum packet time attribute.
fm.liveswitch.sdp.Media fm.liveswitch.sdp.MediaDescription.getMedia | ( | ) |
Gets the media name and transport address.
fm.liveswitch.sdp.Attribute [] fm.liveswitch.sdp.MediaDescription.getMediaAttributes | ( | ) |
Gets the array of media-level attributes.
fm.liveswitch.sdp.MediaStreamIdAttribute fm.liveswitch.sdp.MediaDescription.getMediaStreamIdentifierAttribute | ( | ) |
Obtains the media stream identifier attribute.
String fm.liveswitch.sdp.MediaDescription.getMediaTitle | ( | ) |
Gets the media title.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.MediaDescription.getNackFeedbackAttribute | ( | int | payloadType | ) |
Gets the RTCP "nack" feedback attribute for the given payload type.
payloadType | The payload type. |
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.MediaDescription.getNackPliFeedbackAttribute | ( | int | payloadType | ) |
Gets the RTCP "nack pli" feedback attribute for the given payload type.
payloadType | The payload type. |
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.MediaDescription.getNackRpsiFeedbackAttribute | ( | int | payloadType | ) |
Gets the RTCP "nack rpsi" feedback attribute for the given payload type.
payloadType | The payload type. |
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.MediaDescription.getNackSliFeedbackAttribute | ( | int | payloadType | ) |
Gets the RTCP "nack sli" feedback attribute for the given payload type.
payloadType | The payload type. |
fm.liveswitch.sdp.PacketTimeAttribute fm.liveswitch.sdp.MediaDescription.getPacketTimeAttribute | ( | ) |
Obtains the packet time attribute.
fm.liveswitch.sdp.rtp.MapAttribute [] fm.liveswitch.sdp.MediaDescription.getPreferredRtpMapAttributes | ( | ) |
Obtains the RTP map attributes in preference order.
fm.liveswitch.sdp.QualityAttribute fm.liveswitch.sdp.MediaDescription.getQualityAttribute | ( | ) |
Gets the QualityAttribute associated with this MediaDescription.
fm.liveswitch.sdp.rtp.RidAttribute fm.liveswitch.sdp.MediaDescription.getRidAttribute | ( | String | rid | ) |
Obtains an RID attribute by its RID.
fm.liveswitch.sdp.rtp.RidAttribute [] fm.liveswitch.sdp.MediaDescription.getRidAttributes | ( | ) |
Obtains the RID attributes.
fm.liveswitch.sdp.rtp.RidAttribute [] fm.liveswitch.sdp.MediaDescription.getRidAttributes | ( | String | direction | ) |
Obtains the RID attributes.
direction | The RID attribute direction. |
fm.liveswitch.sdp.rtcp.Attribute fm.liveswitch.sdp.MediaDescription.getRtcpAttribute | ( | ) |
Gets Rtcp Attributes associated with this media description.
fm.liveswitch.sdp.rtcp.FeedbackAttribute fm.liveswitch.sdp.MediaDescription.getRtcpFeedbackAttribute | ( | int | payloadType, |
String | type, | ||
String | subType | ||
) |
Gets the RTCP feedback attribute for the given payload type.
payloadType | The payload type. |
type | The type. |
subType | The sub-type. |
boolean fm.liveswitch.sdp.MediaDescription.getRtcpMultiplexingSupported | ( | ) |
Gets a value indicating support for RTCP Multiplexing.
fm.liveswitch.sdp.Attribute [] fm.liveswitch.sdp.MediaDescription.getRtpExtMapAttributes | ( | ) |
Obtains the RTP ext-map attributes.
fm.liveswitch.sdp.rtp.MapAttribute fm.liveswitch.sdp.MediaDescription.getRtpMapAttribute | ( | int | payloadType | ) |
Obtains the RTP map attribute for a given payload type.
payloadType | The payload type. |
fm.liveswitch.sdp.rtp.MapAttribute fm.liveswitch.sdp.MediaDescription.getRtpMapAttribute | ( | int | payloadType, |
fm.liveswitch.IntegerHolder | rtpMapAttributeIndex | ||
) |
Obtains the RTP map attribute for a given payload type.
payloadType | The payload type. |
rtpMapAttributeIndex | The index of the fm.liveswitch.sdp.rtp.MapAttribute. |
fm.liveswitch.sdp.rtp.MapAttribute fm.liveswitch.sdp.MediaDescription.getRtpMapAttribute | ( | String | formatName, |
int | clockRate | ||
) |
Obtains the RTP map attribute for a given format.
formatName | Format name. |
clockRate | Clock rate. |
fm.liveswitch.sdp.rtp.MapAttribute fm.liveswitch.sdp.MediaDescription.getRtpMapAttribute | ( | String | formatName, |
int | clockRate, | ||
String | formatParameters | ||
) |
Obtains the RTP map attribute for a given format.
formatName | Format name. |
clockRate | Clock rate. |
formatParameters | Format parameters. |
fm.liveswitch.sdp.rtp.MapAttribute fm.liveswitch.sdp.MediaDescription.getRtpMapAttribute | ( | String | formatName, |
int | clockRate, | ||
String | formatParameters, | ||
fm.liveswitch.IntegerHolder | rtpMapAttributeIndex | ||
) |
Obtains the RTP map attribute for a given format.
formatName | Format name. |
clockRate | Clock rate. |
formatParameters | Format parameters. |
rtpMapAttributeIndex | The index of the fm.liveswitch.sdp.rtp.MapAttribute. |
fm.liveswitch.sdp.rtp.MapAttribute [] fm.liveswitch.sdp.MediaDescription.getRtpMapAttributes | ( | ) |
Obtains the RTP map attributes.
fm.liveswitch.sdp.rtp.MapAttribute [] fm.liveswitch.sdp.MediaDescription.getRtpMapAttributes | ( | String | formatName, |
int | clockRate, | ||
String | formatParameters | ||
) |
Obtains the RTP map attributes for a given format.
formatName | Format name. |
clockRate | Clock rate. |
formatParameters | Format parameters. |
fm.liveswitch.sdp.rtp.MapAttribute [] fm.liveswitch.sdp.MediaDescription.getRtpMapAttributes | ( | String | formatName, |
int | clockRate, | ||
String | formatParameters, | ||
fm.liveswitch.Holder< int[]> | rtpMapAttributeIndices | ||
) |
Obtains the RTP map attributes for a given format.
formatName | Format name. |
clockRate | Clock rate. |
formatParameters | Format parameters. |
rtpMapAttributeIndices | The indeces of the fm.liveswitch.sdp.rtp.MapAttribute. |
fm.liveswitch.sdp.sctp.MapAttribute fm.liveswitch.sdp.MediaDescription.getSctpMapAttribute | ( | ) |
fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute fm.liveswitch.sdp.MediaDescription.getSctpMaxMessageSizeAttribute | ( | ) |
fm.liveswitch.sdp.sctp.PortAttribute fm.liveswitch.sdp.MediaDescription.getSctpPortAttribute | ( | ) |
fm.liveswitch.sdp.SetupAttribute fm.liveswitch.sdp.MediaDescription.getSetupAttribute | ( | ) |
Gets the SetupAttribute associated with this MediaDescription.
fm.liveswitch.sdp.rtp.SimulcastAttribute fm.liveswitch.sdp.MediaDescription.getSimulcastAttribute | ( | ) |
Obtains the simulcast attribute.
fm.liveswitch.sdp.rtp.SsrcAttribute fm.liveswitch.sdp.MediaDescription.getSsrcAttribute | ( | long | ssrc, |
String | name | ||
) |
Obtains the first SSRC attribute matching a given synchronization source and name.
ssrc | The synchronization source. |
name | The attribute name. |
fm.liveswitch.sdp.rtp.SsrcAttribute fm.liveswitch.sdp.MediaDescription.getSsrcAttribute | ( | long | ssrc, |
String | name, | ||
String | value | ||
) |
Obtains the SSRC attribute matching a given synchronization source, name, and value.
ssrc | The synchronization source. |
name | The attribute name. |
value | The attribute value. |
fm.liveswitch.sdp.rtp.SsrcAttribute [] fm.liveswitch.sdp.MediaDescription.getSsrcAttributes | ( | ) |
Obtains the SSRC attributes.
fm.liveswitch.sdp.rtp.SsrcAttribute [] fm.liveswitch.sdp.MediaDescription.getSsrcAttributes | ( | long | ssrc | ) |
Obtains the SSRC attributes matching a given synchronization source.
ssrc | The synchronization source. |
fm.liveswitch.sdp.rtp.SsrcAttribute [] fm.liveswitch.sdp.MediaDescription.getSsrcAttributes | ( | long | ssrc, |
String | name | ||
) |
Obtains the SSRC attributes matching a given synchronization source and name.
ssrc | The synchronization source. |
name | The attribute name. |
fm.liveswitch.sdp.rtp.SsrcAttribute [] fm.liveswitch.sdp.MediaDescription.getSsrcAttributes | ( | String | name | ) |
Obtains the SSRC attributes.
name | The SSRC attribute name. |
fm.liveswitch.sdp.rtp.SsrcGroupAttribute [] fm.liveswitch.sdp.MediaDescription.getSsrcGroupAttributes | ( | ) |
Obtains the SSRC Group attributes.
long [] fm.liveswitch.sdp.MediaDescription.getSsrcGroupSsrcs | ( | String | semantics | ) |
Obtains the SSRCS from the first SSRC Group with matching semantics.
fm.liveswitch.StreamDirection fm.liveswitch.sdp.MediaDescription.getStreamDirection | ( | ) |
Gets the stream direction indicated in Media Description.
Getter returns StreamDirection if DirectionAttribute is present; otherwise, returns StreamDirection.Unset.
boolean fm.liveswitch.sdp.MediaDescription.getSupportsIce | ( | ) |
Gets a value indicating whether this SDP MediaDescription suggests support for ICE.
fm.liveswitch.sdp.Attribute [] fm.liveswitch.sdp.MediaDescription.getTransportCategoryAttributes | ( | ) |
void fm.liveswitch.sdp.MediaDescription.insertMediaAttribute | ( | fm.liveswitch.sdp.Attribute | attribute, |
int | index | ||
) |
DEPRECATED: Use AddMediaAttribute instead.
Inserts a media-level attribute at the given index.
attribute | The session-level attribute to add. |
index | The index. |
boolean fm.liveswitch.sdp.MediaDescription.orderFormats | ( | String[] | names | ) |
Orders the formats in preference order.
names | The format names. |
|
static |
Creates an fm.liveswitch.sdp.MediaDescription instance from a string.
s | The string to parse. |
boolean fm.liveswitch.sdp.MediaDescription.purgeFormat | ( | String | name | ) |
Removes a format by name.
name | The format name. |
boolean fm.liveswitch.sdp.MediaDescription.purgeFormat | ( | String | name, |
int | clockRate | ||
) |
Removes a format by name and clock rate.
name | The format name. |
clockRate | The clock rate. |
boolean fm.liveswitch.sdp.MediaDescription.purgeFormat | ( | String | name, |
int | clockRate, | ||
int | channelCount | ||
) |
Removes a format by name, clock rate, and channel count.
name | The format name. |
clockRate | The clock rate. |
channelCount | The channel count. |
boolean fm.liveswitch.sdp.MediaDescription.removeBandwidth | ( | fm.liveswitch.sdp.Bandwidth | bandwidth | ) |
Removes a proposed bandwidth.
bandwidth | The proposed bandwidth to remove. |
void fm.liveswitch.sdp.MediaDescription.removeBundleCategoryAttributes | ( | ) |
Removes Bundle (i.e.
Transport and Identical) Category Attributes.
boolean fm.liveswitch.sdp.MediaDescription.removeMediaAttribute | ( | fm.liveswitch.sdp.Attribute | attribute | ) |
Removes a media-level attribute.
attribute | The session-level attribute to remove. |
void fm.liveswitch.sdp.MediaDescription.setConnectionData | ( | fm.liveswitch.sdp.ConnectionData | value | ) |
Sets media-level connection data.
void fm.liveswitch.sdp.MediaDescription.setEncryptionKey | ( | fm.liveswitch.sdp.EncryptionKey | value | ) |
Sets the media-level encryption key.
boolean fm.liveswitch.sdp.MediaDescription.setFormatParameterValue | ( | int | payloadType, |
String | formatParameterName, | ||
String | formatParameterValue | ||
) |
Sets a format parameter value.
void fm.liveswitch.sdp.MediaDescription.setIsMuted | ( | boolean | value | ) |
Sets a value indicating whether this stream is muted.
Applies to only media streams.
void fm.liveswitch.sdp.MediaDescription.setMediaTitle | ( | String | value | ) |
Sets the media title.
void fm.liveswitch.sdp.MediaDescription.setQualityAttribute | ( | fm.liveswitch.sdp.QualityAttribute | value | ) |
Sets the QualityAttribute associated with this MediaDescription.
void fm.liveswitch.sdp.MediaDescription.setRtcpAttribute | ( | fm.liveswitch.sdp.rtcp.Attribute | value | ) |
Sets Rtcp Attributes associated with this media description.
void fm.liveswitch.sdp.MediaDescription.setRtcpMultiplexingSupported | ( | boolean | value | ) |
Sets a value indicating support for RTCP Multiplexing.
void fm.liveswitch.sdp.MediaDescription.setSetupAttribute | ( | fm.liveswitch.sdp.SetupAttribute | value | ) |
Sets the SetupAttribute associated with this MediaDescription.
void fm.liveswitch.sdp.MediaDescription.setStreamDirection | ( | fm.liveswitch.StreamDirection | value | ) |
Sets the stream direction indicated in Media Description.
Getter returns StreamDirection if DirectionAttribute is present; otherwise, returns StreamDirection.Unset.
String fm.liveswitch.sdp.MediaDescription.toString | ( | ) |
Converts this instance to a string.
boolean fm.liveswitch.sdp.MediaDescription.tryAddContentAttribute | ( | fm.liveswitch.sdp.ContentAttribute | contentAttribute | ) |
Adds a content attribute if not already present.
contentAttribute | The content attribute. |
void fm.liveswitch.sdp.MediaDescription.updateQualityAttributeValue | ( | int | quality | ) |
Updates SDP Quality Attribute associated with this media description if one is present.
Otherwise, creates a new one and inserts it into this media description.
quality |