20 lines
460 B
C++
20 lines
460 B
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#ifndef _SSRCGENERATOR_H_
|
|
#define _SSRCGENERATOR_H_
|
|
|
|
#include <set>
|
|
|
|
namespace mozilla {
|
|
class SsrcGenerator {
|
|
public:
|
|
bool GenerateSsrc(uint32_t* ssrc);
|
|
|
|
private:
|
|
std::set<uint32_t> mSsrcs;
|
|
};
|
|
} // namespace mozilla
|
|
|
|
#endif // _SSRCGENERATOR_H_
|