Change from WebRtcRTPHeader to RTPHeader in NetEq tests and tools

With this CL, all tests and tools under the neteq/ folder are
converted to use RTPHeader instead of WebRtcRTPHeader. WebRtcRTPHeader
has an RTPHeader as a member. None of the other member in
WebRtcRTPHeader where used.

TBR=kjellander@webrtc.org
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_compile_rel_ng,linux_chromium_compile_dbg_ng
BUG=webrtc:7467

Review-Url: https://codereview.webrtc.org/2809153002
Cr-Commit-Position: refs/heads/master@{#17845}
This commit is contained in:
henrik.lundin
2017-04-24 09:14:32 -07:00
committed by Commit bot
parent 14b86d3864
commit 246ef3ea0e
21 changed files with 257 additions and 269 deletions

View File

@ -21,7 +21,6 @@
namespace webrtc {
class RtpHeaderParser;
struct WebRtcRTPHeader;
namespace test {
@ -90,10 +89,6 @@ class Packet {
const RTPHeader& header() const { return header_; }
// Copies the packet header information, converting from the native RTPHeader
// type to WebRtcRTPHeader.
void ConvertHeader(WebRtcRTPHeader* copy_to) const;
void set_time_ms(double time) { time_ms_ = time; }
double time_ms() const { return time_ms_; }
bool valid_header() const { return valid_header_; }