Chromium Code Reviews| Index: webrtc/common_types.h |
| diff --git a/webrtc/common_types.h b/webrtc/common_types.h |
| index c3e9a84c3cc729b5cb3e1b1287731cc102aa3ba0..53446203e332bda12d795cbd296af1b114487d90 100644 |
| --- a/webrtc/common_types.h |
| +++ b/webrtc/common_types.h |
| @@ -542,10 +542,17 @@ struct VideoCodecVP9 { |
| }; |
| // H264 specific. |
| +enum H264PacketizationMode { |
| + kH264PacketizationModeNotSet, |
|
hbos
2016/10/31 10:32:26
Is this ever set? This enum is used in constructor
hta-webrtc
2016/10/31 15:03:04
Good point about being explicit that it is 0. The
|
| + kH264PacketizationMode0, // Only single NALU allowed |
| + kH264PacketizationMode1 // Non-interleaved - STAP-A, FU-A is allowed |
| +}; |
| + |
| struct VideoCodecH264 { |
| VideoCodecProfile profile; |
| bool frameDroppingOn; |
| int keyFrameInterval; |
| + H264PacketizationMode packetization_mode; |
|
magjed_webrtc
2016/10/31 13:00:50
Since the packetization mode information is includ
hta-webrtc
2016/10/31 20:54:52
Now I'm somewhat confused..... what code path can
magjed_webrtc
2016/11/01 19:23:38
To clarify, I don't think we need to add packetiza
|
| // These are NULL/0 if not externally negotiated. |
| const uint8_t* spsData; |
| size_t spsLen; |