直播:后台 JWT 推流、前台画中画;WebRTC 服务与 Nginx WebSocket 代理
Made-with: Cursor
This commit is contained in:
34
server/vendor/github.com/pion/webrtc/v3/rtcpfeedback.go
generated
vendored
Normal file
34
server/vendor/github.com/pion/webrtc/v3/rtcpfeedback.go
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package webrtc
|
||||
|
||||
const (
|
||||
// TypeRTCPFBTransportCC ..
|
||||
TypeRTCPFBTransportCC = "transport-cc"
|
||||
|
||||
// TypeRTCPFBGoogREMB ..
|
||||
TypeRTCPFBGoogREMB = "goog-remb"
|
||||
|
||||
// TypeRTCPFBACK ..
|
||||
TypeRTCPFBACK = "ack"
|
||||
|
||||
// TypeRTCPFBCCM ..
|
||||
TypeRTCPFBCCM = "ccm"
|
||||
|
||||
// TypeRTCPFBNACK ..
|
||||
TypeRTCPFBNACK = "nack"
|
||||
)
|
||||
|
||||
// RTCPFeedback signals the connection to use additional RTCP packet types.
|
||||
// https://draft.ortc.org/#dom-rtcrtcpfeedback
|
||||
type RTCPFeedback struct {
|
||||
// Type is the type of feedback.
|
||||
// see: https://draft.ortc.org/#dom-rtcrtcpfeedback
|
||||
// valid: ack, ccm, nack, goog-remb, transport-cc
|
||||
Type string
|
||||
|
||||
// The parameter value depends on the type.
|
||||
// For example, type="nack" parameter="pli" will send Picture Loss Indicator packets.
|
||||
Parameter string
|
||||
}
|
||||
Reference in New Issue
Block a user