diff options
Diffstat (limited to 'remoting/protocol/rtp_utils.h')
-rw-r--r-- | remoting/protocol/rtp_utils.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/remoting/protocol/rtp_utils.h b/remoting/protocol/rtp_utils.h index 9049a22..1c2fa4e 100644 --- a/remoting/protocol/rtp_utils.h +++ b/remoting/protocol/rtp_utils.h @@ -11,6 +11,17 @@ namespace remoting { namespace protocol { struct RtpHeader { + RtpHeader() + : padding(false), + extension(false), + sources(0), + marker(false), + payload_type(0), + sequence_number(0), + timestamp(0), + sync_source_id(0) { + } + // RTP version is always set to 2. // version = 2 bool padding; @@ -35,6 +46,13 @@ struct Vp8Descriptor { LAST_FRAGMENT = 3, }; + Vp8Descriptor() + : non_reference_frame(false), + fragmentation_info(NOT_FRAGMENTED), + frame_beginning(false), + picture_id(kuint32max) { + } + bool non_reference_frame; uint8 fragmentation_info; bool frame_beginning; |