summaryrefslogtreecommitdiffstats
blob: 1911b69b3e1bf37939b4a58c1caa41bd3ba379b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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 JingleRTPDescriptionSerializer : public GenericPayloadSerializer<JingleRTPDescription> {
		public:
			virtual std::string serializePayload(boost::shared_ptr<JingleRTPDescription>) const;

		private:
			static std::string mediaTypeToString(JingleRTPDescription::MediaType mediaType);
	};
}