Add accessors to the types in the RTPVideoTypeHeader in RTPVideoHeader.
This CL is in preparation to change the RTPVideoTypeHeader into an absl::variant. Bug: none Change-Id: I1672d866df0395f3417d8e278cc67f017ab0ff98 Reviewed-on: https://webrtc-review.googlesource.com/87261 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23856}
This commit is contained in:
@ -240,7 +240,7 @@ class RtpRtcpImplTest : public ::testing::Test {
|
||||
rtp_video_header.is_first_packet_in_frame = true;
|
||||
rtp_video_header.simulcastIdx = 0;
|
||||
rtp_video_header.codec = kVideoCodecVP8;
|
||||
rtp_video_header.codecHeader = {vp8_header};
|
||||
rtp_video_header.vp8() = vp8_header;
|
||||
rtp_video_header.video_timing = {0u, 0u, 0u, 0u, 0u, 0u, false};
|
||||
|
||||
const uint8_t payload[100] = {0};
|
||||
|
||||
Reference in New Issue
Block a user