// Copyright 2019 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "cast/streaming/ssrc.h" #include <random> #include "platform/api/time.h" namespace openscreen::cast { namespace { // These ranges are arbitrary, but have been used for several years (in prior // implementations of Cast Streaming). constexpr int kHigherPriorityMin = …; constexpr int kHigherPriorityMax = …; constexpr int kNormalPriorityMin = …; constexpr int kNormalPriorityMax = …; } // namespace Ssrc GenerateSsrc(bool higher_priority) { … } int ComparePriority(Ssrc ssrc_a, Ssrc ssrc_b) { … } } // namespace openscreen::cast