Cleanup of unused RTP structs and packetizer for stereo codec
This CL is a followup to https://webrtc-review.googlesource.com/c/src/+/38481. With the new approach we can just use the generic RTP packetizer to pass frames over the wire as the specific info is contained within the bitstream. This makes the new codec more modular and reduces its footprint. Bug: webrtc:7671 Change-Id: Ib07f72a9d338e3cbfdbf39cba9891a959b5f7552 Reviewed-on: https://webrtc-review.googlesource.com/43220 Reviewed-by: Niklas Enbom <niklas.enbom@webrtc.org> Commit-Queue: Emircan Uysaler <emircan@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21753}
This commit is contained in:
committed by
Commit Bot
parent
be5e208b3e
commit
9bb8f0553d
@ -23,7 +23,6 @@
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "modules/include/module_common_types_public.h"
|
||||
#include "modules/video_coding/codecs/h264/include/h264_globals.h"
|
||||
#include "modules/video_coding/codecs/stereo/include/stereo_globals.h"
|
||||
#include "modules/video_coding/codecs/vp8/include/vp8_globals.h"
|
||||
#include "modules/video_coding/codecs/vp9/include/vp9_globals.h"
|
||||
#include "rtc_base/constructormagic.h"
|
||||
@ -46,20 +45,13 @@ enum RtpVideoCodecTypes {
|
||||
kRtpVideoGeneric = 1,
|
||||
kRtpVideoVp8 = 2,
|
||||
kRtpVideoVp9 = 3,
|
||||
kRtpVideoH264 = 4,
|
||||
kRtpVideoStereo = 5
|
||||
};
|
||||
|
||||
struct RTPVideoHeaderStereo {
|
||||
RtpVideoCodecTypes associated_codec_type;
|
||||
StereoIndices indices;
|
||||
kRtpVideoH264 = 4
|
||||
};
|
||||
|
||||
union RTPVideoTypeHeader {
|
||||
RTPVideoHeaderVP8 VP8;
|
||||
RTPVideoHeaderVP9 VP9;
|
||||
RTPVideoHeaderH264 H264;
|
||||
RTPVideoHeaderStereo stereo;
|
||||
};
|
||||
|
||||
// Since RTPVideoHeader is used as a member of a union, it can't have a
|
||||
|
||||
Reference in New Issue
Block a user