summaryrefslogtreecommitdiff
path: root/common_types.h
diff options
context:
space:
mode:
authorstefan@webrtc.org <stefan@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-02-18 14:40:18 +0000
committerstefan@webrtc.org <stefan@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2013-02-18 14:40:18 +0000
commitf4d37886a9f335210139bbe9f1a412a298d8be2f (patch)
treed9552a6daa1d6c172112268e44d827362e6d2c67 /common_types.h
parent0583ee6d60a5d09cc37064fc62265a872aa38cb6 (diff)
downloadwebrtc-f4d37886a9f335210139bbe9f1a412a298d8be2f.tar.gz
Refactoring temporal layers implementation and adding VideoCodecMode for easier control of codec settings.
Review URL: https://webrtc-codereview.appspot.com/1105007 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3528 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'common_types.h')
-rw-r--r--common_types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/common_types.h b/common_types.h
index 3c79137d..58ac5710 100644
--- a/common_types.h
+++ b/common_types.h
@@ -566,6 +566,11 @@ struct SimulcastStream
unsigned int qpMax; // minimum quality
};
+enum VideoCodecMode {
+ kRealtimeVideo,
+ kScreensharing
+};
+
// Common video codec properties
struct VideoCodec
{
@@ -586,6 +591,8 @@ struct VideoCodec
unsigned int qpMax;
unsigned char numberOfSimulcastStreams;
SimulcastStream simulcastStream[kMaxSimulcastStreams];
+
+ VideoCodecMode mode;
};
// Bandwidth over-use detector options. These are used to drive