From 4f4ae8a8f9b20e41673727e4b1f267ccd361c94c Mon Sep 17 00:00:00 2001 From: Philipp Hancke Date: Fri, 27 Oct 2023 16:05:57 +0200 Subject: [PATCH] Remove templated fmtp SDP helper MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit and modernize surrounding code. BUG=webrtc:15214 Change-Id: I2cc9710d4bb4be52469116d7f80ac6ef57116e69 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/325186 Reviewed-by: Henrik Boström Commit-Queue: Philipp Hancke Reviewed-by: Florent Castelli Cr-Commit-Position: refs/heads/main@{#41060} --- pc/webrtc_sdp.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pc/webrtc_sdp.cc b/pc/webrtc_sdp.cc index 2a3173cb02..7d896e25bc 100644 --- a/pc/webrtc_sdp.cc +++ b/pc/webrtc_sdp.cc @@ -267,11 +267,9 @@ struct SsrcInfo { std::string stream_id; std::string track_id; }; -typedef std::vector SsrcInfoVec; -typedef std::vector SsrcGroupVec; +using SsrcInfoVec = std::vector; +using SsrcGroupVec = std::vector; -template -static void AddFmtpLine(const T& codec, std::string* message); static void BuildMediaDescription(const ContentInfo* content_info, const TransportInfo* transport_info, const cricket::MediaType media_type,