rand.go 320 B

1234567891011
  1. // SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
  2. // SPDX-License-Identifier: MIT
  3. package rtp
  4. import (
  5. "github.com/pion/randutil"
  6. )
  7. // Use global random generator to properly seed by crypto grade random.
  8. var globalMathRandomGenerator = randutil.NewMathRandomGenerator() // nolint:gochecknoglobals