To enable H.265 support for the WebRTC protocol, upgrade the pion/webrtc library to version 4. --------- Co-authored-by: john <hondaxiao@tencent.com> Co-authored-by: winlin <winlinvip@gmail.com>
12 lines
320 B
Go
12 lines
320 B
Go
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package rtp
|
|
|
|
import (
|
|
"github.com/pion/randutil"
|
|
)
|
|
|
|
// Use global random generator to properly seed by crypto grade random.
|
|
var globalMathRandomGenerator = randutil.NewMathRandomGenerator() // nolint:gochecknoglobals
|