直播:后台 JWT 推流、前台画中画;WebRTC 服务与 Nginx WebSocket 代理
Made-with: Cursor
This commit is contained in:
15
server/vendor/github.com/pion/webrtc/v3/datachannelparameters.go
generated
vendored
Normal file
15
server/vendor/github.com/pion/webrtc/v3/datachannelparameters.go
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package webrtc
|
||||
|
||||
// DataChannelParameters describes the configuration of the DataChannel.
|
||||
type DataChannelParameters struct {
|
||||
Label string `json:"label"`
|
||||
Protocol string `json:"protocol"`
|
||||
ID *uint16 `json:"id"`
|
||||
Ordered bool `json:"ordered"`
|
||||
MaxPacketLifeTime *uint16 `json:"maxPacketLifeTime"`
|
||||
MaxRetransmits *uint16 `json:"maxRetransmits"`
|
||||
Negotiated bool `json:"negotiated"`
|
||||
}
|
||||
Reference in New Issue
Block a user