Add boilerplate code for H.264.
R=mflodman@webrtc.org, niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/17849005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6603 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -75,14 +75,22 @@ struct RTPVideoHeaderVP8 {
|
||||
bool beginningOfPartition; // True if this packet is the first
|
||||
// in a VP8 partition. Otherwise false
|
||||
};
|
||||
|
||||
struct RTPVideoHeaderH264 {
|
||||
uint8_t nalu_header;
|
||||
bool single_nalu;
|
||||
};
|
||||
|
||||
union RTPVideoTypeHeader {
|
||||
RTPVideoHeaderVP8 VP8;
|
||||
RTPVideoHeaderH264 H264;
|
||||
};
|
||||
|
||||
enum RtpVideoCodecTypes {
|
||||
kRtpVideoNone,
|
||||
kRtpVideoGeneric,
|
||||
kRtpVideoVp8
|
||||
kRtpVideoVp8,
|
||||
kRtpVideoH264
|
||||
};
|
||||
struct RTPVideoHeader {
|
||||
uint16_t width; // size
|
||||
|
||||
Reference in New Issue
Block a user