summaryrefslogtreecommitdiffstats
path: root/dom/media/webrtc/jsep/SsrcGenerator.h
blob: b106358f3217a29d037406b22cdf3a9bd99a4951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* 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_