From 5f05df98b0cf44fc0904cbd686f687d93fd8c62b Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Sun, 16 May 2021 21:17:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8E=B7=E5=8F=96=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webrtc/RtpExt.cpp | 4 ++++ webrtc/RtpExt.h | 1 + 2 files changed, 5 insertions(+) diff --git a/webrtc/RtpExt.cpp b/webrtc/RtpExt.cpp index a3e2ec3a..b74ef0c8 100644 --- a/webrtc/RtpExt.cpp +++ b/webrtc/RtpExt.cpp @@ -558,3 +558,7 @@ void RtpExt::clearExt(){ void RtpExt::setType(RtpExtType type) { _type = type; } + +RtpExtType RtpExt::getType() const { + return _type; +} \ No newline at end of file diff --git a/webrtc/RtpExt.h b/webrtc/RtpExt.h index 9c59129c..9520bac6 100644 --- a/webrtc/RtpExt.h +++ b/webrtc/RtpExt.h @@ -59,6 +59,7 @@ public: static const char *getExtName(RtpExtType type); void setType(RtpExtType type); + RtpExtType getType() const; string dumpString() const; uint8_t getAudioLevel(bool *vad) const;