Index: webrtc/modules/rtp_rtcp/source/tmmbr_help.h |
diff --git a/webrtc/modules/rtp_rtcp/source/tmmbr_help.h b/webrtc/modules/rtp_rtcp/source/tmmbr_help.h |
index ecae946f97d31a9bd3dabd83f40e544f7b99d60a..e08856e40c76a15e4e525447ec334575cd7380e7 100644 |
--- a/webrtc/modules/rtp_rtcp/source/tmmbr_help.h |
+++ b/webrtc/modules/rtp_rtcp/source/tmmbr_help.h |
@@ -41,21 +41,14 @@ class TMMBRSet : public std::vector<rtcp::TmmbItem> { |
class TMMBRHelp { |
public: |
- TMMBRSet* CandidateSet(); |
- |
- TMMBRSet* VerifyAndAllocateCandidateSet(const uint32_t minimumSize); |
- std::vector<rtcp::TmmbItem> FindTMMBRBoundingSet(); |
+ static std::vector<rtcp::TmmbItem> FindBoundingSet( |
+ std::vector<rtcp::TmmbItem> candidates); |
static bool IsOwner(const std::vector<rtcp::TmmbItem>& bounding, |
uint32_t ssrc); |
- bool CalcMinBitRate(uint32_t* minBitrateKbit) const; |
- |
- static void FindBoundingSet(std::vector<rtcp::TmmbItem> candidates, |
- std::vector<rtcp::TmmbItem>* bounding_set); |
- |
- private: |
- TMMBRSet _candidateSet; |
+ static uint64_t CalcMinBitrateBps( |
+ const std::vector<rtcp::TmmbItem>& candidates); |
}; |
} // namespace webrtc |