直播:后台 JWT 推流、前台画中画;WebRTC 服务与 Nginx WebSocket 代理
Made-with: Cursor
This commit is contained in:
29
server/vendor/github.com/pion/webrtc/v3/offeransweroptions.go
generated
vendored
Normal file
29
server/vendor/github.com/pion/webrtc/v3/offeransweroptions.go
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
package webrtc
|
||||
|
||||
// OfferAnswerOptions is a base structure which describes the options that
|
||||
// can be used to control the offer/answer creation process.
|
||||
type OfferAnswerOptions struct {
|
||||
// VoiceActivityDetection allows the application to provide information
|
||||
// about whether it wishes voice detection feature to be enabled or disabled.
|
||||
VoiceActivityDetection bool
|
||||
}
|
||||
|
||||
// AnswerOptions structure describes the options used to control the answer
|
||||
// creation process.
|
||||
type AnswerOptions struct {
|
||||
OfferAnswerOptions
|
||||
}
|
||||
|
||||
// OfferOptions structure describes the options used to control the offer
|
||||
// creation process
|
||||
type OfferOptions struct {
|
||||
OfferAnswerOptions
|
||||
|
||||
// ICERestart forces the underlying ice gathering process to be restarted.
|
||||
// When this value is true, the generated description will have ICE
|
||||
// credentials that are different from the current credentials
|
||||
ICERestart bool
|
||||
}
|
||||
Reference in New Issue
Block a user