Index: modules/include/module_common_types.h |
diff --git a/modules/include/module_common_types.h b/modules/include/module_common_types.h |
index bc5c347a4a93baadca7a294b8bf4b18d60e6697b..8e2292388ca12273d3cfe19f42687f69250fa4d8 100644 |
--- a/modules/include/module_common_types.h |
+++ b/modules/include/module_common_types.h |
@@ -38,19 +38,27 @@ struct RTPAudioHeader { |
size_t channel; // number of channels 2 = stereo |
}; |
-union RTPVideoTypeHeader { |
- RTPVideoHeaderVP8 VP8; |
- RTPVideoHeaderVP9 VP9; |
- RTPVideoHeaderH264 H264; |
-}; |
- |
enum RtpVideoCodecTypes { |
kRtpVideoNone, |
kRtpVideoGeneric, |
+ kRtpVideoStereo, |
kRtpVideoVp8, |
kRtpVideoVp9, |
kRtpVideoH264 |
}; |
+ |
+struct RTPVideoStereoInfo { |
+ RtpVideoCodecTypes stereoCodecType; |
+ uint8_t frameIndex; |
+ uint8_t frameCount; |
+ uint64_t pictureIndex; |
+}; |
+ |
+union RTPVideoTypeHeader { |
+ RTPVideoHeaderVP8 VP8; |
+ RTPVideoHeaderVP9 VP9; |
+ RTPVideoHeaderH264 H264; |
+}; |
// Since RTPVideoHeader is used as a member of a union, it can't have a |
// non-trivial default constructor. |
struct RTPVideoHeader { |
@@ -69,7 +77,9 @@ struct RTPVideoHeader { |
// this frame, 0 if not using simulcast. |
RtpVideoCodecTypes codec; |
RTPVideoTypeHeader codecHeader; |
+ RTPVideoStereoInfo stereoInfo; |
}; |
+ |
union RTPTypeHeader { |
RTPAudioHeader Audio; |
RTPVideoHeader Video; |