Files
platform-external-webrtc/modules/rtp_rtcp/source/rtp_video_header.cc
philipel 1a4746a563 Change RTPVideoTypeHeader to absl::variant and move RTPVideoHeader into its own h/cc file.
Bug: none
Change-Id: If28f57c5ae250afbb47c5d20c9854e9a11182642
Reviewed-on: https://webrtc-review.googlesource.com/87561
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Danil Chapovalov <danilchap@webrtc.org>
Commit-Queue: Philip Eliasson <philipel@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23904}
2018-07-10 11:57:46 +00:00

28 lines
806 B
C++

/*
* Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
* tree. An additional intellectual property rights grant can be found
* in the file PATENTS. All contributing project authors may
* be found in the AUTHORS file in the root of the source tree.
*/
#include "modules/rtp_rtcp/source/rtp_video_header.h"
namespace webrtc {
RTPVideoHeader::RTPVideoHeader()
: width(),
height(),
rotation(),
playout_delay(),
content_type(),
video_timing(),
is_first_packet_in_frame(),
simulcastIdx(),
codec() {}
RTPVideoHeader::RTPVideoHeader(const RTPVideoHeader& other) = default;
} // namespace webrtc