SsrcGenerator.h (479B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this file, 3 * You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 #ifndef _SSRCGENERATOR_H_ 6 #define _SSRCGENERATOR_H_ 7 8 #include <cstdint> 9 #include <set> 10 11 namespace mozilla { 12 class SsrcGenerator { 13 public: 14 bool GenerateSsrc(uint32_t* ssrc); 15 16 private: 17 std::set<uint32_t> mSsrcs; 18 }; 19 } // namespace mozilla 20 21 #endif // _SSRCGENERATOR_H_