summaryrefslogtreecommitdiff
path: root/vendor/github.com/pion/webrtc/v3/offeransweroptions.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/pion/webrtc/v3/offeransweroptions.go')
-rw-r--r--vendor/github.com/pion/webrtc/v3/offeransweroptions.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/vendor/github.com/pion/webrtc/v3/offeransweroptions.go b/vendor/github.com/pion/webrtc/v3/offeransweroptions.go
new file mode 100644
index 0000000..2a34aed
--- /dev/null
+++ b/vendor/github.com/pion/webrtc/v3/offeransweroptions.go
@@ -0,0 +1,26 @@
+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
+}