diff options
| author | dknn <yoann.blein@free.fr> | 2012-06-03 13:11:35 (GMT) |
|---|---|---|
| committer | dknn <yoann.blein@free.fr> | 2012-09-22 08:53:12 (GMT) |
| commit | 931b52184bf37f298f9c967883a3b71c912f834b (patch) | |
| tree | df2b6d80fb76d3ccbe1c721d3e574d0f2491c90a /Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.cpp | |
| parent | 174d01d9812694d201f6f3939fc7b8bf4650cfa2 (diff) | |
| download | swift-contrib-931b52184bf37f298f9c967883a3b71c912f834b.zip swift-contrib-931b52184bf37f298f9c967883a3b71c912f834b.tar.bz2 | |
Add parsing add related tests for RTP description
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.cpp')
| -rw-r--r-- | Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.cpp b/Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.cpp index 475142b..c0dfba1 100644 --- a/Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.cpp +++ b/Swiften/Serializer/PayloadSerializers/JingleRTPDescriptionSerializer.cpp @@ -23,9 +23,9 @@ JingleRTPDescriptionSerializer::JingleRTPDescriptionSerializer() { } std::string JingleRTPDescriptionSerializer::serializePayload(boost::shared_ptr<JingleRTPDescription> payload) const { XMLElement description("description", "urn:xmpp:jingle:apps:rtp:1"); - description.setAttribute("media", mediaTypeToString(payload->getMediaType())); + description.setAttribute("media", mediaTypeToString(payload->getMedia())); if (payload->getSSRC()) { description.setAttribute("ssrc", boost::lexical_cast<std::string>(payload->getSSRC())); } |
Swift