mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 04:31:37 +08:00
添加获取类型方法
This commit is contained in:
parent
a84bcec4aa
commit
5f05df98b0
@ -558,3 +558,7 @@ void RtpExt::clearExt(){
|
||||
void RtpExt::setType(RtpExtType type) {
|
||||
_type = type;
|
||||
}
|
||||
|
||||
RtpExtType RtpExt::getType() const {
|
||||
return _type;
|
||||
}
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user