Delete the VideoCodec::plName string.
It holds the same information as codecType, but in different format. Bug: webrtc:8830 Change-Id: Ia83e2dff4fd9a5ddb489501b7a1fe80759fa4218 Reviewed-on: https://webrtc-review.googlesource.com/56100 Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22307}
This commit is contained in:
@ -17,7 +17,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "api/rtpparameters.h"
|
||||
#include "common_types.h" // NOLINT(build/include)
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/logging.h"
|
||||
|
||||
@ -283,11 +282,6 @@ int32_t ModuleRtpRtcpImpl::RegisterSendPayload(
|
||||
voice_codec.channels, (voice_codec.rate < 0) ? 0 : voice_codec.rate);
|
||||
}
|
||||
|
||||
int32_t ModuleRtpRtcpImpl::RegisterSendPayload(const VideoCodec& video_codec) {
|
||||
return rtp_sender_->RegisterPayload(video_codec.plName, video_codec.plType,
|
||||
90000, 0, 0);
|
||||
}
|
||||
|
||||
void ModuleRtpRtcpImpl::RegisterVideoSendPayload(int payload_type,
|
||||
const char* payload_name) {
|
||||
RTC_CHECK_EQ(
|
||||
|
||||
Reference in New Issue
Block a user