summaryrefslogtreecommitdiff
path: root/include/media/profile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/profile.h')
-rw-r--r--include/media/profile.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/media/profile.h b/include/media/profile.h
index e8b2bda..efac36d 100644
--- a/include/media/profile.h
+++ b/include/media/profile.h
@@ -58,6 +58,22 @@ struct DLNA4thField {
string ToString();
};
+struct ProtocolInfo {
+ enum StreamType {
+ DLNA_STREAM_HTTP,
+ DLNA_STREAM_RTP
+ };
+
+ ProtocolInfo();
+ ProtocolInfo(string contentType, DLNA4thField fourthField, StreamType type = DLNA_STREAM_HTTP);
+
+ StreamType streamType;
+ string contentType;
+ DLNA4thField fourthField;
+
+ string ToString();
+};
+
namespace video {
}