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:
@ -183,8 +183,8 @@ TEST_F(TestVideoReceiver, PaddingOnlyAndVideo) {
|
||||
header.header.ssrc = 1;
|
||||
header.header.headerLength = 12;
|
||||
header.video_header().codec = kVideoCodecVP8;
|
||||
header.video_header().codecHeader.VP8.pictureId = -1;
|
||||
header.video_header().codecHeader.VP8.tl0PicIdx = -1;
|
||||
header.video_header().vp8().pictureId = -1;
|
||||
header.video_header().vp8().tl0PicIdx = -1;
|
||||
for (int i = 0; i < 3; ++i) {
|
||||
// Insert 2 video frames.
|
||||
for (int j = 0; j < 2; ++j) {
|
||||
|
||||
Reference in New Issue
Block a user