Reland "Delete RtpUtility::Payload, and refactor RTPSender to not use it"
This is a reland of 171df9326200d1e01bce530e2ff01ac5890e6cb7 Original change's description: > Delete RtpUtility::Payload, and refactor RTPSender to not use it > > Replaced by a payload type --> video codec map in RTPSenderVideo, > where it is used to select the right packetizer. > > Bug: webrtc:6883 > Change-Id: I43a635d5135c5d519df860a2f4287a4478870b0f > Reviewed-on: https://webrtc-review.googlesource.com/c/119263 > Reviewed-by: Rasmus Brandt <brandtr@webrtc.org> > Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> > Commit-Queue: Niels Moller <nisse@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#26380} Tbr: danilchap@webrtc.org Bug: webrtc:6883 Change-Id: I30771b86bbe50de609353e23e80dc532dc884ad4 Reviewed-on: https://webrtc-review.googlesource.com/c/119661 Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#26394}
This commit is contained in:
@ -53,15 +53,6 @@ void StreamId::Set(const char* data, size_t size) {
|
||||
// and thus assume trivial destructibility.
|
||||
static_assert(std::is_trivially_destructible<StreamId>::value, "");
|
||||
|
||||
PayloadUnion::PayloadUnion(const AudioPayload& payload) : payload_(payload) {}
|
||||
PayloadUnion::PayloadUnion(const VideoPayload& payload) : payload_(payload) {}
|
||||
PayloadUnion::PayloadUnion(const PayloadUnion&) = default;
|
||||
PayloadUnion::PayloadUnion(PayloadUnion&&) = default;
|
||||
PayloadUnion::~PayloadUnion() = default;
|
||||
|
||||
PayloadUnion& PayloadUnion::operator=(const PayloadUnion&) = default;
|
||||
PayloadUnion& PayloadUnion::operator=(PayloadUnion&&) = default;
|
||||
|
||||
PacketFeedback::PacketFeedback(int64_t arrival_time_ms,
|
||||
uint16_t sequence_number)
|
||||
: PacketFeedback(-1,
|
||||
|
||||
Reference in New Issue
Block a user