blob: 3d23d85f78ab9effb3711a2c3ecdc07276b66d77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* Copyright (c) 2012 Yoann Blein
* Licensed under the simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <Swiften/Serializer/GenericPayloadSerializer.h>
#include <Swiften/Elements/JingleRTPDescription.h>
namespace Swift {
class PayloadSerializerCollection;
class XMLElement;
class JingleRTPDescriptionSerializer : public GenericPayloadSerializer<JingleRTPDescription> {
public:
JingleRTPDescriptionSerializer();
virtual std::string serializePayload(boost::shared_ptr<JingleRTPDescription>) const;
private:
std::string mediaTypeToString(JingleRTPDescription::MediaType mediaType) const;
};
}
|