- reduce memory consumption when decoding RTP stream + bring back G722 and G729

This commit is contained in:
2024-04-08 09:58:11 +03:00
parent cf9be1c3f2
commit 4ca4e84547
3 changed files with 93 additions and 93 deletions

View File

@@ -72,7 +72,7 @@ public:
static EvsSpec parse(const std::string& spec);
bool operator == (const EvsSpec& rhs) const { return std::tie(mPayloadType, mBandwidth, mEncodingType) == std::tie(rhs.mPayloadType, rhs.mBandwidth, rhs.mEncodingType);}
bool operator != (const EvsSpec& rhs) const { return ! (operator ==) (rhs);};
bool operator != (const EvsSpec& rhs) const { return ! (operator ==) (rhs);}
};
@@ -90,7 +90,7 @@ public:
bool isValid() const;
bool operator == (const OpusSpec& rhs) const { return std::tie(mPayloadType, mRate, mChannels) == std::tie(rhs.mPayloadType, rhs.mRate, rhs.mChannels);}
bool operator != (const OpusSpec& rhs) const { return ! (operator ==) (rhs);};
bool operator != (const OpusSpec& rhs) const { return ! (operator ==) (rhs);}
static OpusSpec parse(const std::string& spec);
};